/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 | 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 | 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 | 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 | 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 | 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 | ColorFiltersMutateActivity.java | 158 canvas.translate(120.0f, 50.0f); in onDraw() 161 canvas.translate(0.0f, 50.0f + mBitmap1.getHeight()); in onDraw() 164 canvas.translate(0.0f, 50.0f + mBitmap1.getHeight()); in onDraw() 169 canvas.translate(120.0f + mBitmap1.getWidth() + 120.0f, 50.0f); in onDraw() 172 canvas.translate(0.0f, 50.0f + mBitmap2.getHeight()); in onDraw() 175 canvas.translate(0.0f, 50.0f + mBitmap2.getHeight()); 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 | 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 | 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 | 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()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/events/activity/ |
D | ShowStackActionButtonEvent.java | 27 public final boolean translate; field in ShowStackActionButtonEvent 29 public ShowStackActionButtonEvent(boolean translate) { in ShowStackActionButtonEvent() argument 30 this.translate = translate; in ShowStackActionButtonEvent()
|
D | HideStackActionButtonEvent.java | 27 public final boolean translate; field in HideStackActionButtonEvent 33 public HideStackActionButtonEvent(boolean translate) { in HideStackActionButtonEvent() argument 34 this.translate = translate; in HideStackActionButtonEvent()
|
/frameworks/base/core/java/android/hardware/display/ |
D | BrightnessCorrection.java | 78 public static BrightnessCorrection createScaleAndTranslateLog(float scale, float translate) { in createScaleAndTranslateLog() argument 80 new ScaleAndTranslateLog(scale, translate); in createScaleAndTranslateLog() 222 ScaleAndTranslateLog(float scale, float translate) { in ScaleAndTranslateLog() argument 223 if (Float.isNaN(scale) || Float.isNaN(translate)) { in ScaleAndTranslateLog() 227 mTranslate = MathUtils.constrain(translate, MIN_TRANSLATE, MAX_TRANSLATE); in ScaleAndTranslateLog() 277 float translate = in.readFloat(); in readFromParcel() local 278 return BrightnessCorrection.createScaleAndTranslateLog(scale, translate); in readFromParcel() 284 final float translate = loadFloatFromXml(parser, ATTR_TRANSLATE); in loadFromXml() local 285 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/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()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | SysUiOverlay.java | 104 canvas.translate(getWidth(), 0); in paintRoundedBorders() 110 canvas.translate( getWidth(), getHeight()); in paintRoundedBorders() 116 canvas.translate( 0, getHeight()); in paintRoundedBorders() 123 canvas.translate(getWidth() / 2 - mNotchTopWidth / 2, 0); in paintNotch()
|