/packages/apps/Camera2/src/com/android/camera/widget/ |
D | FilmstripLayout.java | 362 float translate = mFilmstripContentLayout.getTranslationX() - dx; in onScroll() local 363 if (translate < 0f) { in onScroll() 364 translate = 0f; in onScroll() 366 if (translate > getMeasuredWidth()) { in onScroll() 367 translate = getMeasuredWidth(); in onScroll() 370 translateContentLayoutByPixel(translate); in onScroll() 371 if (translate == 0 && dx > 0) { in onScroll()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | PreviewItemManager.java | 167 canvas.translate(transX, 0); in drawParams() 175 canvas.translate(-transX, 0); in drawParams() 181 canvas.translate(bg.basePreviewOffsetX, bg.basePreviewOffsetY); in draw() 191 canvas.translate(-bg.basePreviewOffsetX, -bg.basePreviewOffsetY); in draw() 200 canvas.translate(params.transX, params.transY); in drawPreviewItem() 207 canvas.translate(-bounds.left, -bounds.top); in drawPreviewItem()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | KeyboardView.java | 331 canvas.translate(keyDrawX, keyDrawY); in onDrawKey() 346 canvas.translate(-keyDrawX, -keyDrawY); in onDrawKey() 377 canvas.translate(bgX, bgY); in onDrawKeyBackground() 379 canvas.translate(-bgX, -bgY); in onDrawKeyBackground() 532 canvas.translate(x, y); in drawIcon() 535 canvas.translate(-x, -y); in drawIcon()
|
/packages/apps/Gallery2/src/com/android/gallery3d/anim/ |
D | StateTransitionAnimation.java | 154 canvas.translate(xOffset, yOffset); in applyOldTexture() 169 canvas.translate(xOffset, yOffset); in applyContentTransform() 171 canvas.translate(-xOffset, -yOffset); in applyContentTransform()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | ChartGridView.java | 143 canvas.translate(0, height + padding); in onDraw() 151 canvas.translate((width - mid.getWidth()) / 2, height + padding); in onDraw() 159 canvas.translate(width - end.getWidth(), height + padding); in onDraw()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | ChartGridView.java | 143 canvas.translate(0, height + padding); in onDraw() 151 canvas.translate((width - mid.getWidth()) / 2, height + padding); in onDraw() 159 canvas.translate(width - end.getWidth(), height + padding); in onDraw()
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | GLES11Canvas.java | 182 translate(x, y); in drawRect() 200 translate(x1, y1); in drawLine() 216 translate(x, y); in fillRect() 227 public void translate(float x, float y, float z) { in translate() method in GLES11Canvas 235 public void translate(float x, float y) { in translate() method in GLES11Canvas 268 translate(x, y); in textureRect() 293 translate(x, y); in drawMesh()
|
D | GLCanvas.java | 56 public abstract void translate(float x, float y, float z); in translate() method 58 public abstract void translate(float x, float y); in translate() method
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | SlotView.java | 274 canvas.translate(-mScrollX, -mScrollY); in render() 297 canvas.translate(mScrollX, mScrollY); in render() 320 canvas.translate(rect.left, rect.top, 0); in renderItem() 352 canvas.translate(0, 0, RISING_DISTANCE * (1 - mProgress)); in apply() 366 canvas.translate( in apply()
|
D | SurfaceTextureScreenNail.java | 118 canvas.translate(cx, cy); in draw() 120 canvas.translate(-cx, -cy); in draw()
|
D | AbstractSlotRenderer.java | 54 canvas.translate(width / 2, height / 2); in drawContent() 56 canvas.translate(-width / 2, -height / 2); in drawContent()
|
D | GLRootView.java | 450 mCanvas.translate(cx, cy); in rotateCanvas() 453 mCanvas.translate(-cy, -cx); in rotateCanvas() 455 mCanvas.translate(-cx, -cy); in rotateCanvas()
|
D | AlbumLabelMaker.java | 171 canvas.translate(BORDER_SIZE, BORDER_SIZE); in run() 193 canvas.translate(s.leftMargin, (s.labelBackgroundHeight - in run()
|
D | PhotoView.java | 732 canvas.translate((int) (cx + 0.5f), (int) (cy + 0.5f)); in drawTileView() 830 canvas.translate(cx, cy); in draw() 1842 canvas.translate(width / 2f, height / 2f); in buildFallbackEffect() 1846 canvas.translate(height / 2f, width / 2f); in buildFallbackEffect() 1850 canvas.translate(-width / 2f, -height / 2f); in buildFallbackEffect()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | DrawingPreviewPlacerView.java | 81 canvas.translate(originX, originY); in onDraw() 86 canvas.translate(-originX, -originY); in onDraw()
|
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ |
D | ShortcutDragPreviewProvider.java | 53 canvas.translate(blurSizeOutline / 2, blurSizeOutline / 2); in createDragBitmap() 55 canvas.translate(bounds.left, bounds.top); in createDragBitmap()
|
/packages/apps/Terminal/src/com/android/terminal/ |
D | TerminalLineView.java | 74 canvas.translate(x, 0); in onDraw() 87 canvas.translate(mTerm.getCursorCol() * m.charWidth, 0); in onDraw()
|
/packages/apps/Browser2/src/org/chromium/webview_shell/ |
D | WebViewAnimationTestActivity.java | 87 case R.id.translate: in onCreate() 99 findViewById(R.id.translate).setOnClickListener(onClickListner); in onCreate()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ImageShow.java | 231 Point translate = primary.getTranslation(); in getImageToScreenMatrix() local 233 m.postTranslate(translate.x, translate.y); in getImageToScreenMatrix() 307 canvas.translate(0, dx); in onDraw() 310 canvas.translate(0, dx); in onDraw() 426 canvas.translate(x, y); in drawImageAndAnimate()
|
D | PrimaryImage.java | 630 Point translate = getTranslation(); in getImageToScreenMatrix() local 632 m.postTranslate(translate.x, translate.y); in getImageToScreenMatrix()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | RotateImageView.java | 131 canvas.translate(left + width / 2, top + height / 2); in onDraw() 133 canvas.translate(-w / 2, -h / 2); in onDraw()
|
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/ |
D | KeyboardView.java | 763 canvas.translate(offset, 0); in onBufferDraw() 801 canvas.translate(key.x + kbdPaddingLeft + animateOutOffset, key.y + kbdPaddingTop); in onBufferDraw() 858 canvas.translate(drawableX, drawableY); in onBufferDraw() 862 canvas.translate(-drawableX, -drawableY); in onBufferDraw() 864 canvas.translate(-key.x - kbdPaddingLeft - animateOutOffset, -key.y - kbdPaddingTop); in onBufferDraw() 871 canvas.translate(-offset, 0); in onBufferDraw()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | ShelfScrimView.java | 270 canvas.translate(0, -offset); in drawBackground() 273 canvas.translate(0, offset); in drawBackground()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/ |
D | AppsDividerView.java | 200 canvas.translate(x, y); in onDraw() 202 canvas.translate(-x, -y); in onDraw()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | DragPreviewProvider.java | 89 destCanvas.translate(blurSizeOutline / 2 - bounds.left, in drawDragView() 108 destCanvas.translate(-mView.getScrollX() + blurSizeOutline / 2, in drawDragView()
|