Skip to content

Commit

Permalink
Fixed typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
flavioarfaria committed Jun 20, 2014
1 parent d5bfb05 commit 7258dd5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public void setImageDrawable(Drawable drawable) {
@Override
protected void onSizeChanged(int w, int h, int oldw, int oldh) {
super.onSizeChanged(w, h, oldw, oldh);
updateViewPort(w, h);
updateViewport(w, h);
}


Expand Down Expand Up @@ -248,13 +248,13 @@ public void setTransitionGenerator(TransitionGenerator transgen) {
* @param width the new viewport with.
* @param height the new viewport height.
*/
private void updateViewPort(float width, float height) {
private void updateViewport(float width, float height) {
mViewportRect.set(0, 0, width, height);
}


/**
* Updates the drawable bounds rect. THis must be called every time the drawable
* Updates the drawable bounds rect. This must be called every time the drawable
* associated to this view changes.
*/
private void updateDrawableBounds() {
Expand Down

0 comments on commit 7258dd5

Please sign in to comment.