Skip to content

Commit

Permalink
Fixing some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Jocelyn Becker committed Jan 24, 2018
1 parent a617cde commit 74c408d
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,6 @@ protected void onSizeChanged(int width, int height,
mExtraCanvas.drawColor(mBackgroundColor);
}

@Override
protected void onDraw(Canvas canvas) {
super.onDraw(canvas);
// Draw the bitmap that has the saved path.
canvas.drawBitmap(mExtraBitmap, 0, 0, null);

@Override
protected void onDraw(Canvas canvas) {
Expand All @@ -101,7 +96,6 @@ protected void onDraw(Canvas canvas) {
getScreenWidth() - inset, getScreenHeight() - inset);
canvas.drawRect(myFrame, mPaint);
}
}

// Variables for the latest x,y values,
// which are the starting point for the next path.
Expand Down Expand Up @@ -171,9 +165,4 @@ public boolean onTouchEvent(MotionEvent event) {
public static int getScreenWidth() {
return Resources.getSystem().getDisplayMetrics().widthPixels;
}

// Get the height of the screen
public static int getScreenHeight() {
return Resources.getSystem().getDisplayMetrics().heightPixels;
}
}

0 comments on commit 74c408d

Please sign in to comment.