Home
last modified time | relevance | path

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

123456

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DShapesActivity.java75 canvas.translate(50.0f, 50.0f); in onDraw()
78 canvas.translate(0.0f, 110.0f); in onDraw()
81 canvas.translate(0.0f, 110.0f); in onDraw()
86 canvas.translate(250.0f, 50.0f); in onDraw()
89 canvas.translate(0.0f, 110.0f); in onDraw()
92 canvas.translate(0.0f, 110.0f); in onDraw()
97 canvas.translate(450.0f, 50.0f); in onDraw()
100 canvas.translate(0.0f, 110.0f); in onDraw()
103 canvas.translate(0.0f, 110.0f); in onDraw()
108 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 …]
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()
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()
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()
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()
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()
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()
DBitmapsRectActivity.java69 canvas.translate(120.0f, 50.0f); in onDraw()
72 canvas.translate(0.0f, mBitmap1.getHeight()); in onDraw()
73 canvas.translate(-100.0f, 25.0f); in onDraw()
DMoreShadersActivity.java110 canvas.translate(40.0f, 40.0f); in onDraw()
115 canvas.translate(0.0f, 40.0f + mDrawHeight); in onDraw()
122 canvas.translate(40.0f + mDrawWidth + 40.0f, 40.0f); in onDraw()
135 canvas.translate(0.0f, 40.0f + mDrawHeight); in onDraw()
DPathsCacheActivity.java83 canvas.translate(550.0f, 60.0f); in onDraw()
89 canvas.translate(30.0f, 30.0f); in onDraw()
103 canvas.translate(450.0f + mRandom.nextInt(200), mRandom.nextInt(200)); in onDraw()
DLines2Activity.java107 canvas.translate(60, 0); in onDraw()
116 canvas.translate(60, 0); in onDraw()
125 canvas.translate(60, 0); in onDraw()
135 canvas.translate(60, 0); in onDraw()
144 canvas.translate(60, 0); in onDraw()
153 canvas.translate(60, 0); in onDraw()
DMatrixActivity.java49 canvas.translate(10.0f, 10.0f); in onDraw()
51 canvas.translate(20.0f, 20.0f); in onDraw()
DNewLayersActivity.java55 canvas.translate(140.0f, 100.0f); in onDraw()
58 canvas.translate(0.0f, 200.0f); in onDraw()
/frameworks/native/libs/ui/tests/region/
Dregion.cpp42 reg0 = reg0 | reg0.translate(150, 0); in main()
46 reg0 = reg0 | reg0.translate(300, 0); in main()
62 reg2 = reg0 | reg0.translate(100, 0); in main()
/frameworks/base/core/java/android/webkit/
DOverScrollGlow.java168 canvas.translate(scrollX, mHostView.getVisibleTitleHeight() + Math.min(0, scrollY)); in drawEdgeGlows()
176 canvas.translate(-width + scrollX, Math.max(mHostView.computeMaxScrollY(), scrollY) in drawEdgeGlows()
187 canvas.translate(-height - scrollY, Math.min(0, scrollX)); in drawEdgeGlows()
196 canvas.translate(scrollY, in drawEdgeGlows()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DCompoundTransform.java75 public TranslateComponent(String name, Float3 translate) { in TranslateComponent() argument
77 setValue(translate); in TranslateComponent()
137 public TranslateComponent addTranslate(String name, Float3 translate) { in addTranslate() argument
138 TranslateComponent c = new TranslateComponent(name, translate); in addTranslate()
/frameworks/native/include/ui/
DRegion.h88 const Region translate(int dx, int dy) const;
156 static void translate(Region& reg, int dx, int dy);
157 static void translate(Region& dst, const Region& reg, int dx, int dy);
179 return translate(pt.x, pt.y);

123456