Home
last modified time | relevance | path

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

1234

/packages/apps/Launcher3/src/com/android/launcher3/apppairs/
DAppPairIconDrawable.java66 canvas.translate( in draw()
75 canvas.translate( in draw()
80 canvas.translate( in draw()
93 canvas.translate( in draw()
98 canvas.translate( in draw()
/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/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/map/
DMapView.kt129 var previous = translate(adjustedRoute[0]) in <lambda>()
132 val current = translate(point) in <lambda>()
136 val start = translate(adjustedRoute[0]) in <lambda>()
137 val end = translate(adjustedRoute[adjustedRoute.size - 1]) in <lambda>()
144 private fun translate(point: Pair<Double, Double>): Pair<Float, Float> { in <lambda>() method
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarBackgroundRenderer.kt158 canvas.translate(0f, canvas.height - persistentTaskbarHeight) in drawPersistentBackground()
163 canvas.translate(0f, canvas.height - persistentTaskbarHeight) in drawPersistentBackground()
169 canvas.translate(0f, -cornerRadius) in drawPersistentBackground()
171 canvas.translate(0f, cornerRadius) in drawPersistentBackground()
172 canvas.translate(canvas.width - cornerRadius, -cornerRadius) in drawPersistentBackground()
/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/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DFloatingAppPairBackground.kt208 canvas.translate(changingIcon1Left, changingIconTop) in drawLeftRightSplit()
216 canvas.translate(changingIcon2Left, changingIconTop) in drawLeftRightSplit()
306 canvas.translate(changingIconLeft, changingIcon1Top) in drawTopBottomSplit()
314 canvas.translate(changingIconLeft, changingIcon2Top) in drawTopBottomSplit()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DPredictedAppIcon.java141 canvas.translate(getWidth() * RING_EFFECT_RATIO, getHeight() * RING_EFFECT_RATIO); in onDraw()
153 canvas.translate((getWidth() - getIconSize()) / 2f, in drawSlotMachineIcons()
158 canvas.translate(0, getSlotMachineIconPlusSpacingSize()); in drawSlotMachineIcons()
170 canvas.translate(-getWidth() * RING_EFFECT_RATIO, -getHeight() * RING_EFFECT_RATIO); in drawDotIfNecessary()
440 canvas.translate(mIcon.getOutlineOffsetX(), mIcon.getOutlineOffsetY()); in drawUnderItem()
/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/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/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/
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
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()
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
DShortcutDragPreviewProvider.java58 canvas.translate(blurSizeOutline / 2, blurSizeOutline / 2); in drawDragViewOnBackground()
60 canvas.translate(bounds.left, bounds.top); in drawDragViewOnBackground()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DFolderAdaptiveIcon.java99 fgCanvas.translate(shift, shift); in createFolderAdaptiveIcon()
154 badgeCanvas.translate(previewShiftX, previewShiftY); in initLayersOnUiThread()
160 foregroundCanvas.translate(previewShiftX, previewShiftY); in initLayersOnUiThread()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
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()
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()
DAlbumLabelMaker.java171 canvas.translate(BORDER_SIZE, BORDER_SIZE); in run()
193 canvas.translate(s.leftMargin, (s.labelBackgroundHeight - in run()
DGLRootView.java450 mCanvas.translate(cx, cy); in rotateCanvas()
453 mCanvas.translate(-cy, -cx); in rotateCanvas()
455 mCanvas.translate(-cx, -cy); in rotateCanvas()
/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/Launcher3/src/com/android/launcher3/views/
DSpringRelativeLayout.java61 canvas.translate(0, 0); in draw()
72 canvas.translate(-width, height); in draw()
/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/modules/NeuralNetworks/common/
DGraphDump.cpp96 static std::string translate(OperandType type) { in translate() function
221 dump << "\\n" << translate(opnd.type); in graphDump()
/packages/apps/Launcher3/src/com/android/launcher3/
DMultipageCellLayout.java136 canvas.translate(-animatedWorkspaceMargin, 0); in onDraw()
143 canvas.translate(animatedWorkspaceMargin, 0); in onDraw()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/appprediction/
DAppsDividerView.java206 canvas.translate(x, y); in onDraw()
208 canvas.translate(-x, -y); in onDraw()

1234