HomeSort by relevance Sort by last modified time
    Searched refs:mDrawHeight (Results 1 - 6 of 6) sorted by null

  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
ShadersActivity.java 50 private float mDrawHeight;
66 mDrawHeight = mTexHeight * 1.2f;
87 mMtx3.setScale(mDrawHeight, 1.0f);
89 mMtx3.postTranslate(0.0f, mDrawHeight);
92 mDiagGradient = new LinearGradient(0.0f, 0.0f, mDrawWidth / 1.5f, mDrawHeight,
95 mVertGradient = new LinearGradient(0.0f, 0.0f, 0.0f, mDrawHeight / 2.0f,
112 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint);
114 canvas.translate(0.0f, 40.0f + mDrawHeight);
116 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint);
118 canvas.translate(0.0f, 40.0f + mDrawHeight);
    [all...]
AdvancedBlendActivity.java 50 private float mDrawHeight;
67 mDrawHeight = mTexHeight * 1.2f;
109 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint);
111 canvas.translate(0.0f, 40.0f + mDrawHeight);
113 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint);
115 canvas.translate(0.0f, 40.0f + mDrawHeight);
117 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint);
125 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint);
127 canvas.translate(0.0f, 40.0f + mDrawHeight);
129 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint)
    [all...]
GradientsActivity.java 194 private final float mDrawHeight;
203 mDrawHeight = 200;
224 float bottom = 40.0f + mDrawHeight;
232 canvas.drawRect(right - mDrawWidth, top, right, top + mDrawHeight, mPaint);
234 top += 40.0f + mDrawHeight;
235 bottom += 40.0f + mDrawHeight;
237 mMatrix.setScale(1, mDrawHeight);
240 canvas.drawRect(left, top, right, top + mDrawHeight, mPaint);
244 top -= 40.0f + mDrawHeight;
245 bottom -= 40.0f + mDrawHeight;
    [all...]
MoreShadersActivity.java 52 private float mDrawHeight;
69 mDrawHeight = mTexHeight * 1.2f;
89 mVertGradient = new LinearGradient(0.0f, 0.0f, 0.0f, mDrawHeight / 2.0f,
122 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint);
124 canvas.translate(0.0f, 40.0f + mDrawHeight);
126 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint);
144 canvas.translate(0.0f, 40.0f + mDrawHeight);
  /packages/apps/Camera/src/com/android/camera/
CaptureAnimManager.java 49 private int mDrawHeight;
83 mDrawHeight = h;
119 review.draw(canvas, (int) mX, (int) mY, mDrawWidth, mDrawHeight);
123 canvas.fillRect(mX, mY, mDrawWidth, mDrawHeight, color);
137 mDrawWidth, mDrawHeight);
140 review.draw(canvas, (int) x, (int) y, mDrawWidth, mDrawHeight);
  /frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
ResourceModifiers.java 37 private final float mDrawHeight;
61 mDrawHeight = resources.getDimensionPixelSize(R.dimen.layer_height);
82 mMtx3.setScale(mDrawHeight, 1.0f);
84 mMtx3.postTranslate(0.0f, mDrawHeight);
87 mDiagGradient = new LinearGradient(0.0f, 0.0f, mDrawWidth / 2.0f, mDrawHeight / 2.0f,
90 mVertGradient = new LinearGradient(0.0f, 0.0f, 0.0f, mDrawHeight / 2.0f,

Completed in 128 milliseconds