[Demonstration 1]

[Buggy Method]
private void drawNetworkSSID(Canvas canvas, Bitmap bitmap, Rect bounds, float textSize, String textToDraw) {
    // set Paint settings
    Paint paint = getPaintSettings(textSize);
    paint.getTextBounds(textToDraw, 0, textToDraw.length(), bounds);
    int x = (bitmap.getWidth() - bounds.width()) / 2;
    canvas.drawText(textToDraw, x, 35, paint);
}

[Buggy Hunk]
canvas.drawText(textToDraw, x, 35, paint);

[Patch]
canvas.drawText(textToDraw, x, textSize * mScale, paint);

[Demonstration 2]

[Buggy Method]
@Override
public void onDraw(Canvas canvas, Rect bounds) {
    float centerX = bounds.centerX();
    float centerY = bounds.centerY();
    if (mScaledBitmap == null) {
        mScaledBitmap = Bitmap.createScaledBitmap(mBackgroundBitmap, bounds.width(), bounds.height(), true);
    }
    // Draw the background.
    if (isInAmbientMode()) {
        canvas.drawColor(Color.BLACK);
    } else {
        canvas.drawBitmap(mScaledBitmap, 0, 0, null);
    }
    // Draw H:MM in ambient mode or H:MM:SS in interactive mode.
    long now = System.currentTimeMillis();
    mCalendar.setTimeInMillis(now);
    Resources resources = getResources();
    String text = mAmbient ? String.format("%d:%02d", mCalendar.get(Calendar.HOUR), mCalendar.get(Calendar.MINUTE)) : String.format("%d:%02d:%02d", mCalendar.get(Calendar.HOUR), mCalendar.get(Calendar.MINUTE), mCalendar.get(Calendar.SECOND));
    canvas.drawText(text, centerX - (mTextPaint.measureText(text) / 2), mYOffset, mTextPaint);
    String date = String.format("%s, %s %d, %d", dayOfWeek[mCalendar.get(Calendar.DAY_OF_WEEK)], months[mCalendar.get(Calendar.MONTH)], mCalendar.get(Calendar.DATE), mCalendar.get(Calendar.YEAR));
    canvas.drawText(date, centerX - mDatePaint.measureText(date) / 2, mYOffset - resources.getDimension(R.dimen.date_y_offset), mDatePaint);
    if (mHighTemp != null && mLowTemp != null) {
        float yOffset = mYOffset + resources.getDimension(R.dimen.temp_y_offset);
        if (!mAmbient)
            canvas.drawBitmap(mIcon, centerX - resources.getDimension(R.dimen.icon) / 2, centerY, null);
        float xOffset = centerX - resources.getDimension(R.dimen.temp_offset_x) - mLowTempPaint.measureText(mLowTemp);
        canvas.drawText(mLowTemp, xOffset, yOffset, mLowTempPaint);
        canvas.drawText(mHighTemp, centerX + resources.getDimension(R.dimen.temp_offset_x), yOffset, mHighTempPaint);
    }
}

[Buggy Hunk]
if(!mAmbient)

[Patch]
if(!mAmbient && mIcon!=null)

[Demonstration 3]

[Buggy Method]
@OnClick(R.id.trigger_wear)
public void onTriggerWear() {
    new Sender(this, TestFactory.newQuestion());
}

[Buggy Hunk]
new Sender(this, TestFactory.newQuestion());

[Patch]
new Sender(this, TestFactory.newQuestion()).send();