/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
D | Lines2Activity.java | 75 private void drawLines(Canvas canvas, Paint p, float xOffset, float yOffset) { in drawLines() argument 76 canvas.drawLine(10 + xOffset, yOffset, 10 + xOffset, 40 + yOffset, p); in drawLines() 77 canvas.drawLine(30 + xOffset, yOffset, 40 + xOffset, 40 + yOffset, p); in drawLines() 78 canvas.drawLine(40 + xOffset, yOffset, 75 + xOffset, 35 + yOffset, p); in drawLines() 79 canvas.drawLine(50 + xOffset, 5+ yOffset, 100 + xOffset, 15 + yOffset, p); in drawLines() 80 canvas.drawLine(60 + xOffset, yOffset, 110 + xOffset, 2 + yOffset, p); in drawLines() 81 canvas.drawLine(60 + xOffset, 40 + yOffset, 110 + xOffset, 40 + yOffset, p); in drawLines() 84 copyPoints[i+1] = basePoints[i+1] + yOffset; in drawLines() 102 float yOffset = 10; in onDraw() local 105 drawLines(canvas, p, mOffset, yOffset); in onDraw() [all …]
|
D | ColoredRectsActivity.java | 76 float yOffset = 10; in onDraw() local 80 canvas.translate(mOffset, yOffset); in onDraw() 83 canvas.translate(0, -yOffset); in onDraw() 85 canvas.translate(60, yOffset/2); in onDraw() 91 yOffset += 100; 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() 117 canvas.translate(mOffset + 280, yOffset); in onDraw() [all …]
|
D | PointsActivity.java | 93 private void drawPoints(Canvas canvas, Paint p, float xOffset, float yOffset) { in drawPoints() argument 102 float yOffset = 0; in onDraw() local 108 canvas.drawPoint(100 + xOffset, 100 + yOffset, p); in onDraw() 112 canvas.drawPoint(100 + xOffset, 100 + yOffset, p); in onDraw() 116 canvas.drawPoint(100 + xOffset, 100 + yOffset, p); in onDraw() 120 canvas.drawPoint(100 + xOffset, 100 + yOffset, p); in onDraw() 123 yOffset += 30; in onDraw()
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | RectGridAnimation.cpp | 41 for (int yOffset = 0; yOffset < 200; yOffset += 2) { in createContent() local 42 region.op({xOffset, yOffset, xOffset + 1, yOffset + 1}, SkRegion::kUnion_Op); in createContent()
|
/frameworks/base/graphics/java/android/graphics/text/ |
D | TextRunShaper.java | 67 float xOffset, float yOffset, boolean isRtl, @NonNull Paint paint) { in shapeTextRun() argument 73 xOffset, yOffset); in shapeTextRun() 97 float xOffset, float yOffset, boolean isRtl, @NonNull Paint paint) { in shapeTextRun() argument 105 xOffset, yOffset); in shapeTextRun() 113 xOffset, yOffset); in shapeTextRun()
|
D | PositionedGlyphs.java | 246 public PositionedGlyphs(long layoutPtr, float xOffset, float yOffset) { in PositionedGlyphs() argument 251 mYOffset = yOffset; in PositionedGlyphs()
|
/frameworks/base/core/java/android/widget/ |
D | ToastPresenter.java | 163 int duration, int gravity, int xOffset, int yOffset, float horizontalMargin, in adjustLayoutParams() argument 175 params.y = yOffset; in adjustLayoutParams() 192 public void updateLayoutParams(int xOffset, int yOffset, float horizontalMargin, in updateLayoutParams() argument 198 mParams.y = yOffset; in updateLayoutParams() 235 int xOffset, int yOffset, float horizontalMargin, float verticalMargin, in show() argument 237 show(view, token, windowToken, duration, gravity, xOffset, yOffset, horizontalMargin, in show() 246 int xOffset, int yOffset, float horizontalMargin, float verticalMargin, in show() argument 252 adjustLayoutParams(mParams, windowToken, duration, gravity, xOffset, yOffset, in show()
|
D | PopupWindow.java | 1734 int xOffset, int yOffset, int width, int height, int gravity, boolean allowScroll) { in findDropDownPosition() argument 1738 yOffset -= anchorHeight; in findDropDownPosition() 1753 outParams.y = drawingLocation[1] + anchorHeight + yOffset; in findDropDownPosition() 1778 final boolean fitsVertical = tryFitVertical(outParams, yOffset, height, in findDropDownPosition() 1792 scrollY + height + anchorHeight + yOffset); in findDropDownPosition() 1799 outParams.y = drawingLocation[1] + anchorHeight + yOffset; in findDropDownPosition() 1808 tryFitVertical(outParams, yOffset, height, anchorHeight, drawingLocation[1], in findDropDownPosition() 1818 private boolean tryFitVertical(@NonNull LayoutParams outParams, int yOffset, int height, in tryFitVertical() argument 1832 yOffset += anchorHeight; in tryFitVertical() 1834 outParams.y = drawingLocationY - height + yOffset; in tryFitVertical() [all …]
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/ |
D | OneHandedAnimationControllerTest.java | 61 final float yOffset = 300; in testGetAnimator_withSameBounds_returnAnimator() local 64 .getAnimator(mMockToken, mMockLeash, 0, yOffset, mDisplayBounds); in testGetAnimator_withSameBounds_returnAnimator()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | MenuPopupHelper.java | 256 private void showPopup(int xOffset, int yOffset, boolean useOffsets, boolean showTitle) { in showPopup() argument 271 popup.setVerticalOffset(yOffset); in showPopup() 279 final Rect epicenter = new Rect(xOffset - halfSize, yOffset - halfSize, in showPopup() 280 xOffset + halfSize, yOffset + halfSize); in showPopup()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | MirrorWindowControl.java | 57 void move(int xOffset, int yOffset); in move() argument 143 public void move(int xOffset, int yOffset) { in move() argument 150 mTmpPoint.offset(xOffset, yOffset); in move()
|
D | SimpleMirrorWindowControl.java | 190 int yOffset, long period) { in MoveWindowTask() argument 193 mYOffset = yOffset; in MoveWindowTask()
|
/frameworks/base/core/java/android/hardware/input/ |
D | TouchCalibration.java | 63 float yxMix, float yScale, float yOffset) { in TouchCalibration() argument 69 mYOffset = yOffset; in TouchCalibration()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/ui/viewModel/ |
D | BrightnessMirrorViewModel.kt | 74 yOffset = tempPosition[1] - padding, in setLocationAndSize() 88 val yOffset: Int = 0, constant in com.android.systemui.settings.brightness.ui.viewModel.LocationAndSize
|
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/ |
D | TouchLatencyView.java | 160 long yOffset = pos % yMax; in drawBall() local 172 top = yMax - yOffset; in drawBall() 174 top = yOffset; in drawBall()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
D | OneHandedDisplayAreaOrganizer.java | 217 public void scheduleOffset(int xOffset, int yOffset) { in scheduleOffset() argument 219 final int direction = yOffset > 0 in scheduleOffset() 229 animateWindows(token, leash, fromPos, yOffset, direction, in scheduleOffset() 232 mLastVisualOffset = yOffset; in scheduleOffset()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSAnimator.java | 253 int yOffset, in translateContent() argument 269 int yDiff = qsPosY - qqsPosY - yOffset; in translateContent() 326 int yOffset = mTmpLoc2[1] - mTmpLoc1[1]; in updateAnimators() local 331 qqsTranslationYBuilder.addFloat(quickTileView, "translationY", 0, yOffset); in updateAnimators() 332 translationYBuilder.addFloat(tileView, "translationY", -yOffset, 0); in updateAnimators() 351 yOffset, in updateAnimators() local 364 yOffset, in updateAnimators() local 377 yOffset, in updateAnimators() local
|
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/ |
D | TestWallpaper.java | 184 public void onOffsetsChanged(float xOffset, float yOffset, in onOffsetsChanged() argument 186 super.onOffsetsChanged(xOffset, yOffset, xStep, yStep, xPixels, yPixels); in onOffsetsChanged() 191 mOffsetY = yOffset; in onOffsetsChanged()
|
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/view/ |
D | A11yMenuOverlayLayout.java | 267 int yOffset = windowInsets.bottom; in updateLayoutByWindowInsetsIfNeeded() local 269 if (mLayoutParameter.x != xOffset || mLayoutParameter.y != yOffset) { in updateLayoutByWindowInsetsIfNeeded() 271 mLayoutParameter.y = yOffset; in updateLayoutByWindowInsetsIfNeeded() 281 mLayoutParameter.height = windowBound.height() - yOffset; in updateLayoutByWindowInsetsIfNeeded()
|
/frameworks/base/libs/hwui/ |
D | VertexBuffer.h | 91 void copyInto(const VertexBuffer& srcBuffer, float xOffset, float yOffset) { in copyInto() argument 98 TYPE::copyWithOffset(&dst[i], src[i], xOffset, yOffset); in copyInto()
|
/frameworks/base/core/java/android/animation/ |
D | PathKeyframes.java | 141 int yOffset = base + Y_OFFSET; in pointForIndex() local 142 mTempPointF.set(mKeyframeData[xOffset], mKeyframeData[yOffset]); in pointForIndex()
|
/frameworks/base/core/java/android/view/autofill/ |
D | AutofillPopupWindow.java | 250 int xOffset, int yOffset, int width, int height, int gravity, boolean allowScroll) { in findDropDownPosition() argument 254 outParams.y = yOffset; in findDropDownPosition() 260 return super.findDropDownPosition(anchor, outParams, xOffset, yOffset, in findDropDownPosition()
|
/frameworks/base/core/java/com/android/internal/jank/ |
D | InteractionMonitorDebugOverlay.java | 74 InteractionMonitorDebugOverlay(Object lock, @ColorInt int bgColor, double yOffset) { in InteractionMonitorDebugOverlay() argument 77 mYOffset = yOffset; in InteractionMonitorDebugOverlay()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/qs/ui/composable/ |
D | BrightnessMirror.kt | 50 val offset = IntOffset(0, mirrorOffsetAndSize.yOffset) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/ |
D | BackPanelController.kt | 464 val yOffset = y - startY in <lambda>() constant 467 val yTranslation = abs(yOffset) in <lambda>() 519 setVerticalTranslation(yOffset) in <lambda>() 550 private fun setVerticalTranslation(yOffset: Float) { in <lambda>() 551 val yTranslation = abs(yOffset) in <lambda>() 558 sign(yOffset) in <lambda>()
|