/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | ShapesActivity.java | 75 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 …]
|
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 | 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()
|
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 | 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 | 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 | MoreNinePatchesActivity.java | 62 canvas.translate(100, 100); in onDraw() 67 canvas.translate(20, 0); in onDraw() 72 canvas.translate(20, 0); in onDraw()
|
D | BitmapsRectActivity.java | 69 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()
|
D | MoreShadersActivity.java | 110 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()
|
D | PathsCacheActivity.java | 83 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()
|
D | Lines2Activity.java | 107 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()
|
D | MatrixActivity.java | 49 canvas.translate(10.0f, 10.0f); in onDraw() 51 canvas.translate(20.0f, 20.0f); in onDraw()
|
D | NewLayersActivity.java | 55 canvas.translate(140.0f, 100.0f); in onDraw() 58 canvas.translate(0.0f, 200.0f); in onDraw()
|
/frameworks/native/libs/ui/tests/region/ |
D | region.cpp | 42 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/ |
D | OverScrollGlow.java | 168 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/ |
D | CompoundTransform.java | 75 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/ |
D | Region.h | 88 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);
|