Searched refs:mDrawHeight (Results 1 - 4 of 4) sorted by relevance
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ShadersActivity.java | 50 private float mDrawHeight; field in class:ShadersActivity.ShadersView 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...] |
H A D | AdvancedBlendActivity.java | 50 private float mDrawHeight; field in class:AdvancedBlendActivity.ShadersView 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, mPain [all...] |
H A D | MoreShadersActivity.java | 52 private float mDrawHeight; field in class:MoreShadersActivity.ShadersView 68 mDrawHeight = mTexHeight * 1.2f; 85 mVertGradient = new LinearGradient(0.0f, 0.0f, 0.0f, mDrawHeight / 2.0f, 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); 135 canvas.translate(0.0f, 40.0f + mDrawHeight);
|
H A D | GradientsActivity.java | 194 private final float mDrawHeight; field in class:GradientsActivity.ShadersView 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...] |
Completed in 192 milliseconds