/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | ShapesActivity.java | 83 canvas.translate(50.0f, 50.0f); in onDraw() 86 canvas.translate(0.0f, 110.0f); in onDraw() 89 canvas.translate(0.0f, 110.0f); in onDraw() 94 canvas.translate(250.0f, 50.0f); in onDraw() 97 canvas.translate(0.0f, 110.0f); in onDraw() 100 canvas.translate(0.0f, 110.0f); in onDraw() 105 canvas.translate(450.0f, 50.0f); in onDraw() 108 canvas.translate(0.0f, 110.0f); in onDraw() 111 canvas.translate(0.0f, 110.0f); in onDraw() 116 canvas.translate(625.0f, 50.0f); in onDraw() [all …]
|
D | XfermodeActivity.java | 58 canvas.translate(100.0f, 100.0f); in onDraw() 64 canvas.translate(0.0f, 100.0f); in onDraw() 67 canvas.translate(0.0f, 100.0f); in onDraw() 70 canvas.translate(0.0f, 100.0f); in onDraw() 73 canvas.translate(0.0f, 100.0f); in onDraw() 79 canvas.translate(100.0f, 0.0f); in onDraw() 85 canvas.translate(0.0f, 100.0f); in onDraw() 88 canvas.translate(0.0f, 100.0f); in onDraw() 91 canvas.translate(0.0f, 100.0f); in onDraw() 94 canvas.translate(0.0f, 100.0f); in onDraw() [all …]
|
D | TJunctionActivity.java | 51 canvas.translate(10.0f, 10.0f); in onDraw() 56 canvas.translate(50.0f, 50.0f); in onDraw() 61 canvas.translate(-25.0f, 50.0f); in onDraw() 66 canvas.translate(150.0f, 75.0f); in onDraw() 69 canvas.translate(-50.0f, 75.0f); in onDraw() 72 canvas.translate(-75.0f, 50.0f); in onDraw() 75 canvas.translate(150.0f, 0.0f); in onDraw()
|
D | GradientStopsActivity.java | 62 canvas.translate(0.0f, 75.0f); in onDraw() 72 canvas.translate(0.0f, 75.0f); in onDraw() 81 canvas.translate(0.0f, 75.0f); in onDraw() 89 canvas.translate(0.0f, 75.0f); in onDraw() 97 canvas.translate(0.0f, 75.0f); in onDraw() 105 canvas.translate(0.0f, 75.0f); in onDraw() 113 canvas.translate(0.0f, 75.0f); in onDraw() 121 canvas.translate(0.0f, 75.0f); in onDraw()
|
D | ColoredRectsActivity.java | 80 canvas.translate(mOffset, yOffset); in onDraw() 83 canvas.translate(0, -yOffset); in onDraw() 85 canvas.translate(60, yOffset/2); in onDraw() 87 canvas.translate(15, 0); in onDraw() 95 canvas.translate(mOffset + 10, yOffset); in onDraw() 100 canvas.translate(mOffset + 70, yOffset); in onDraw() 105 canvas.translate(mOffset + 140, yOffset); in onDraw() 111 canvas.translate(mOffset + 210, yOffset); in onDraw() 117 canvas.translate(mOffset + 280, yOffset); in onDraw()
|
D | AdvancedGradientsActivity.java | 74 canvas.translate(130.0f, 100.0f); in onDraw() 80 canvas.translate(400.0f, 000.0f); in onDraw() 86 canvas.translate(400.0f, 000.0f); in onDraw() 92 canvas.translate(-800.0f, 300.0f); in onDraw() 98 canvas.translate(400.0f, 000.0f); in onDraw() 104 canvas.translate(400.0f, 000.0f); in onDraw()
|
D | BitmapsActivity.java | 82 canvas.translate(120.0f, 50.0f); in onDraw() 85 canvas.translate(0.0f, mBitmap1.getHeight()); in onDraw() 86 canvas.translate(0.0f, 25.0f); in onDraw() 90 canvas.translate(0.0f, mBitmap2.getHeight()); in onDraw() 91 canvas.translate(0.0f, 25.0f); in onDraw() 95 canvas.translate(0.0f, mBitmap1.getHeight()); in onDraw() 96 canvas.translate(0.0f, 25.0f); in onDraw()
|
D | ColorFiltersActivity.java | 75 canvas.translate(120.0f, 50.0f); in onDraw() 78 canvas.translate(0.0f, 50.0f + mBitmap1.getHeight()); in onDraw() 81 canvas.translate(0.0f, 50.0f + mBitmap1.getHeight()); in onDraw() 86 canvas.translate(120.0f + mBitmap1.getWidth() + 120.0f, 50.0f); in onDraw() 89 canvas.translate(0.0f, 50.0f + mBitmap2.getHeight()); in onDraw() 92 canvas.translate(0.0f, 50.0f + mBitmap2.getHeight()); in onDraw()
|
D | PathsActivity.java | 102 canvas.translate(-mPathBounds.left + mOffset * 1.5f, -mPathBounds.top + mOffset * 1.5f); in PathsView() 114 canvas.translate(200.0f, 60.0f); in onDraw() 117 canvas.translate(350.0f, 0.0f); in onDraw() 121 canvas.translate(350.0f, 0.0f); in onDraw() 127 canvas.translate(200.0f, 360.0f); in onDraw() 131 canvas.translate(350.0f, 0.0f); in onDraw() 138 canvas.translate(350.0f, 0.0f); in onDraw()
|
D | BitmapsAlphaActivity.java | 70 canvas.translate(120.0f, 50.0f); in onDraw() 73 canvas.translate(0.0f, mBitmap1.getHeight()); in onDraw() 74 canvas.translate(0.0f, 25.0f); in onDraw() 77 canvas.translate(0.0f, mBitmap2.getHeight()); in onDraw() 78 canvas.translate(0.0f, 25.0f); in onDraw()
|
D | ColorFiltersMutateActivity.java | 197 canvas.translate(120.0f, 50.0f); in onDraw() 200 canvas.translate(0.0f, 50.0f + mBitmap1.getHeight()); in onDraw() 203 canvas.translate(0.0f, 50.0f + mBitmap1.getHeight()); in onDraw() 206 canvas.translate(0.0f, 50.0f + mBitmap1.getHeight()); in onDraw() 212 canvas.translate(120.0f + mBitmap1.getWidth() + 120.0f, 50.0f); in onDraw() 215 canvas.translate(0.0f, 50.0f + mBitmap2.getHeight()); in onDraw() 218 canvas.translate(0.0f, 50.0f + mBitmap2.getHeight()); in onDraw() 221 canvas.translate(0.0f, 50.0f + mBitmap2.getHeight()); in onDraw()
|
D | AdvancedBlendActivity.java | 106 canvas.translate(40.0f, 40.0f); in onDraw() 111 canvas.translate(0.0f, 40.0f + mDrawHeight); in onDraw() 115 canvas.translate(0.0f, 40.0f + mDrawHeight); in onDraw() 122 canvas.translate(40.0f + mDrawWidth + 40.0f, 40.0f); in onDraw() 127 canvas.translate(0.0f, 40.0f + mDrawHeight); in onDraw() 131 canvas.translate(0.0f, 40.0f + mDrawHeight); in onDraw()
|
D | ShadersActivity.java | 109 canvas.translate(40.0f, 40.0f); in onDraw() 114 canvas.translate(0.0f, 40.0f + mDrawHeight); in onDraw() 118 canvas.translate(0.0f, 40.0f + mDrawHeight); in onDraw() 126 canvas.translate(40.0f + mDrawWidth + 40.0f, 40.0f); in onDraw() 131 canvas.translate(0.0f, 40.0f + mDrawHeight); in onDraw() 135 canvas.translate(0.0f, 40.0f + mDrawHeight); in onDraw()
|
D | ScaledTextActivity.java | 104 canvas.translate(400.0f, 0.0f); in onDraw() 117 canvas.translate(0.0f, 100.0f); in onDraw() 124 canvas.translate(0.0f, 250.0f); in onDraw() 128 canvas.translate(100.0f, 0.0f); in onDraw() 134 canvas.translate(500.0f, 0.0f); in onDraw()
|
D | LayersActivity.java | 51 canvas.translate(140.0f, 100.0f); in onDraw() 63 canvas.translate(0.0f, 125.0f); in onDraw() 74 canvas.translate(25.0f, 125.0f); in onDraw() 90 canvas.translate(0.0f, 125.0f); in onDraw()
|
D | TextOnPathActivity.java | 113 canvas.translate(400.0f, 350.0f); in onDraw() 127 canvas.translate(200.0f, 0.0f); in onDraw() 134 canvas.translate(150.0f, 60.0f); in onDraw() 141 canvas.translate(250.0f, 0.0f); in onDraw() 146 canvas.translate(250.0f, 0.0f); in onDraw()
|
D | PathsCacheActivity.java | 95 canvas.translate(550.0f, 60.0f); in onDraw() 101 canvas.translate(30.0f, 30.0f); in onDraw() 108 canvas.translate(30.0f, 30.0f); in onDraw() 125 canvas.translate(450.0f + mRandom.nextInt(200), mRandom.nextInt(200)); in onDraw()
|
D | FramebufferBlendActivity.java | 69 canvas.translate(40.0f, 40.0f); in onDraw() 78 canvas.translate(40.0f + mTexWidth + 40.0f, 40.0f); in onDraw() 96 canvas.translate(0.0f, 40.0f + mTexHeight); in drawBlendedBitmap() 108 canvas.translate(0.0f, 40.0f + mTexHeight); in drawBlendedBitmapInverse()
|
D | PosTextActivity.java | 64 canvas.translate(100.0f, 100.0f); in onDraw() 68 canvas.translate(0.0f, 50.0f); in onDraw() 72 canvas.translate(0.0f, 50.0f); in onDraw()
|
D | BitmapMeshActivity.java | 72 canvas.translate(100, 100); in onDraw() 76 canvas.translate(0, 400); in onDraw() 81 canvas.translate(400, 0); in onDraw()
|
/frameworks/base/core/java/android/hardware/display/ |
D | BrightnessCorrection.java | 76 public static BrightnessCorrection createScaleAndTranslateLog(float scale, float translate) { in createScaleAndTranslateLog() argument 78 new ScaleAndTranslateLog(scale, translate); in createScaleAndTranslateLog() 215 ScaleAndTranslateLog(float scale, float translate) { in ScaleAndTranslateLog() argument 216 if (Float.isNaN(scale) || Float.isNaN(translate)) { in ScaleAndTranslateLog() 220 mTranslate = MathUtils.constrain(translate, MIN_TRANSLATE, MAX_TRANSLATE); in ScaleAndTranslateLog() 270 float translate = in.readFloat(); in readFromParcel() local 271 return BrightnessCorrection.createScaleAndTranslateLog(scale, translate); in readFromParcel() 277 final float translate = loadFloatFromXml(parser, ATTR_TRANSLATE); in loadFromXml() local 278 return BrightnessCorrection.createScaleAndTranslateLog(scale, translate); in loadFromXml()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | Sms7BitEncodingTranslatorTest.java | 57 assertEquals("123", Sms7BitEncodingTranslator.translate("123", false)); in testNoTranslate() 71 assertEquals("OIA", Sms7BitEncodingTranslator.translate(s, false)); in testCommonTranslate() 85 assertEquals("??Ç", Sms7BitEncodingTranslator.translate(s, false)); in testGsmTranslate() 99 assertEquals("OUc", Sms7BitEncodingTranslator.translate(s, true)); in testCdmaTranslate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/ |
D | DotIndicatorDecoration.java | 90 canvas.translate( in onDrawOver() 106 canvas.translate(mDotMargin, 0); in onDrawOver() 122 canvas.translate(radius * 2, 0); in drawSelectedDot() 133 canvas.translate(radius * 2, 0); in drawFadingUnselectedDot() 139 canvas.translate(mUnselectedRadius * 2, 0); in drawUnselectedDot()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | DamageAccumulatorTests.cpp | 52 TEST(DamageAccumulator, translate) { in TEST() argument 54 Matrix4 translate; in TEST() local 56 translate.loadTranslate(25, 25, 0); in TEST() 57 da.pushTransform(&translate); in TEST()
|
D | SkiaDisplayListTests.cpp | 242 for (const SkISize translate : { SkISize{width, 0}, in RENDERTHREAD_SKIA_PIPELINE_TEST() 247 mat4.translate(translate.fWidth, translate.fHeight); in RENDERTHREAD_SKIA_PIPELINE_TEST() 266 for (const SkMatrix translate : { SkMatrix::Translate(width, 0), in RENDERTHREAD_SKIA_PIPELINE_TEST() 273 skiaDL.appendVD(&dirtyVD, translate); in RENDERTHREAD_SKIA_PIPELINE_TEST() 294 SkMatrix translate = SkMatrix::Translate(50, 50); in RENDERTHREAD_SKIA_PIPELINE_TEST() local 295 skiaDL.appendVD(&dirtyVD, translate); in RENDERTHREAD_SKIA_PIPELINE_TEST() 309 mat4.translate(50, 50); in RENDERTHREAD_SKIA_PIPELINE_TEST()
|