/packages/apps/Launcher3/src/com/android/launcher3/apppairs/ |
D | AppPairIconDrawable.java | 66 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/ |
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/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/map/ |
D | MapView.kt | 129 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/ |
D | TaskbarBackgroundRenderer.kt | 158 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/ |
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/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | FloatingAppPairBackground.kt | 208 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/ |
D | PredictedAppIcon.java | 141 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/ |
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/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/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 | 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
|
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()
|
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ |
D | ShortcutDragPreviewProvider.java | 58 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/ |
D | FolderAdaptiveIcon.java | 99 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/ |
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 | 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 | AlbumLabelMaker.java | 171 canvas.translate(BORDER_SIZE, BORDER_SIZE); in run() 193 canvas.translate(s.leftMargin, (s.labelBackgroundHeight - in run()
|
D | GLRootView.java | 450 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/ |
D | WebViewAnimationTestActivity.java | 87 case R.id.translate: in onCreate() 99 findViewById(R.id.translate).setOnClickListener(onClickListner); in onCreate()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | SpringRelativeLayout.java | 61 canvas.translate(0, 0); in draw() 72 canvas.translate(-width, height); in draw()
|
/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/modules/NeuralNetworks/common/ |
D | GraphDump.cpp | 96 static std::string translate(OperandType type) { in translate() function 221 dump << "\\n" << translate(opnd.type); in graphDump()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | MultipageCellLayout.java | 136 canvas.translate(-animatedWorkspaceMargin, 0); in onDraw() 143 canvas.translate(animatedWorkspaceMargin, 0); in onDraw()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/appprediction/ |
D | AppsDividerView.java | 206 canvas.translate(x, y); in onDraw() 208 canvas.translate(-x, -y); in onDraw()
|