Home
last modified time | relevance | path

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

1234

/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripLayout.java362 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/
DPreviewItemManager.java167 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/
DKeyboardView.java331 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/
DStateTransitionAnimation.java154 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/
DChartGridView.java143 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/
DChartGridView.java143 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/
DGLES11Canvas.java182 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()
DGLCanvas.java56 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/
DSlotView.java274 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()
DSurfaceTextureScreenNail.java118 canvas.translate(cx, cy); in draw()
120 canvas.translate(-cx, -cy); in draw()
DAbstractSlotRenderer.java54 canvas.translate(width / 2, height / 2); in drawContent()
56 canvas.translate(-width / 2, -height / 2); in drawContent()
DGLRootView.java450 mCanvas.translate(cx, cy); in rotateCanvas()
453 mCanvas.translate(-cy, -cx); in rotateCanvas()
455 mCanvas.translate(-cx, -cy); in rotateCanvas()
DAlbumLabelMaker.java171 canvas.translate(BORDER_SIZE, BORDER_SIZE); in run()
193 canvas.translate(s.leftMargin, (s.labelBackgroundHeight - in run()
DPhotoView.java732 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/
DDrawingPreviewPlacerView.java81 canvas.translate(originX, originY); in onDraw()
86 canvas.translate(-originX, -originY); in onDraw()
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
DShortcutDragPreviewProvider.java53 canvas.translate(blurSizeOutline / 2, blurSizeOutline / 2); in createDragBitmap()
55 canvas.translate(bounds.left, bounds.top); in createDragBitmap()
/packages/apps/Terminal/src/com/android/terminal/
DTerminalLineView.java74 canvas.translate(x, 0); in onDraw()
87 canvas.translate(mTerm.getCursorCol() * m.charWidth, 0); in onDraw()
/packages/apps/Browser2/src/org/chromium/webview_shell/
DWebViewAnimationTestActivity.java87 case R.id.translate: in onCreate()
99 findViewById(R.id.translate).setOnClickListener(onClickListner); in onCreate()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageShow.java231 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()
DPrimaryImage.java630 Point translate = getTranslation(); in getImageToScreenMatrix() local
632 m.postTranslate(translate.x, translate.y); in getImageToScreenMatrix()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DRotateImageView.java131 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/
DKeyboardView.java763 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/
DShelfScrimView.java270 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/
DAppsDividerView.java200 canvas.translate(x, y); in onDraw()
202 canvas.translate(-x, -y); in onDraw()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DDragPreviewProvider.java89 destCanvas.translate(blurSizeOutline / 2 - bounds.left, in drawDragView()
108 destCanvas.translate(-mView.getScrollX() + blurSizeOutline / 2, in drawDragView()

1234