Home
last modified time | relevance | path

Searched refs:translate (Results 1 – 25 of 236) sorted by relevance

12345678910

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DShapesActivity.java83 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 …]
DXfermodeActivity.java58 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 …]
DTJunctionActivity.java51 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()
DColoredRectsActivity.java80 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()
DGradientStopsActivity.java62 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()
DAdvancedGradientsActivity.java74 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()
DBitmapsActivity.java82 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()
DColorFiltersActivity.java75 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()
DPathsActivity.java102 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()
DBitmapsAlphaActivity.java70 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()
DAdvancedBlendActivity.java106 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()
DShadersActivity.java109 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()
DColorFiltersMutateActivity.java158 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()
DScaledTextActivity.java104 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()
DLayersActivity.java51 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()
DTextOnPathActivity.java113 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()
DFramebufferBlendActivity.java69 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()
DPathsCacheActivity.java95 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()
DPosTextActivity.java64 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()
DMoreNinePatchesActivity.java62 canvas.translate(100, 100); in onDraw()
67 canvas.translate(20, 0); in onDraw()
72 canvas.translate(20, 0); in onDraw()
DBitmapMeshActivity.java72 canvas.translate(100, 100); in onDraw()
76 canvas.translate(0, 400); in onDraw()
81 canvas.translate(400, 0); in onDraw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/activity/
DShowStackActionButtonEvent.java27 public final boolean translate; field in ShowStackActionButtonEvent
29 public ShowStackActionButtonEvent(boolean translate) { in ShowStackActionButtonEvent() argument
30 this.translate = translate; in ShowStackActionButtonEvent()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSms7BitEncodingTranslatorTest.java57 assertEquals("123", Sms7BitEncodingTranslator.translate("123")); in testNoTranslate()
71 assertEquals("OIA", Sms7BitEncodingTranslator.translate(s)); in testCommonTranslate()
85 assertEquals("??Ç", Sms7BitEncodingTranslator.translate(s)); in testGsmTranslate()
102 assertEquals("OUc", Sms7BitEncodingTranslator.translate(s)); in testCdmaTranslate()
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DViewGroup_Delegate.java129 canvas.translate(child.mLeft - sx, child.mTop - sy); in transformCanvas()
141 canvas.translate(-transX, -transY); in transformCanvas()
143 canvas.translate(transX, transY); in transformCanvas()
146 canvas.translate(-transX, -transY); in transformCanvas()
148 canvas.translate(transX, transY); in transformCanvas()
/frameworks/base/libs/hwui/tests/unit/
DDamageAccumulatorTests.cpp52 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()

12345678910