/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
D | PointsActivity.java | 93 private void drawPoints(Canvas canvas, Paint p, float xOffset, float yOffset) { in drawPoints() argument 104 float xOffset = 0; in onDraw() local 108 canvas.drawPoint(100 + xOffset, 100 + yOffset, p); in onDraw() 109 xOffset += 5; in onDraw() 112 canvas.drawPoint(100 + xOffset, 100 + yOffset, p); in onDraw() 113 xOffset += 15; in onDraw() 116 canvas.drawPoint(100 + xOffset, 100 + yOffset, p); in onDraw() 117 xOffset += 30; in onDraw() 120 canvas.drawPoint(100 + xOffset, 100 + yOffset, p); in onDraw()
|
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() 83 copyPoints[i] = basePoints[i] + xOffset; in drawLines()
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | RectGridAnimation.cpp | 40 for (int xOffset = 0; xOffset < 200; xOffset += 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 250 mXOffset = xOffset; in PositionedGlyphs()
|
/frameworks/av/include/media/ |
D | VolumeShaper.h | 478 Operation(Flag flags, int replaceId, S xOffset) in Operation() argument 481 , mXOffset(xOffset) { in Operation() 496 void setXOffset(S xOffset) { in setXOffset() argument 497 mXOffset = clamp(xOffset, MIN_CURVE_TIME /* lo */, MAX_CURVE_TIME /* hi */); in setXOffset() 539 op->xOffset = mXOffset; in writeToParcelable() 550 mXOffset = op.xOffset; in readFromParcelable() 620 State(T volume, S xOffset) in State() argument 622 , mXOffset(xOffset) { in State() 640 void setXOffset(S xOffset) { in setXOffset() argument 641 mXOffset = xOffset; in setXOffset() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | ToastPresenter.java | 163 int duration, int gravity, int xOffset, int yOffset, float horizontalMargin, in adjustLayoutParams() argument 174 params.x = xOffset; in adjustLayoutParams() 192 public void updateLayoutParams(int xOffset, int yOffset, float horizontalMargin, in updateLayoutParams() argument 197 mParams.x = xOffset; 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()
|
/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 267 xOffset -= mAnchorView.getWidth(); in showPopup() 270 popup.setHorizontalOffset(xOffset); in showPopup() 279 final Rect epicenter = new Rect(xOffset - halfSize, yOffset - halfSize, in showPopup() 280 xOffset + halfSize, yOffset + halfSize); in showPopup()
|
/frameworks/base/media/java/android/media/ |
D | VolumeShaper.java | 1281 result.xOffset = mXOffset; in toParcelable() 1290 parcelable.xOffset); in fromParcelable() 1347 private Operation(@Flag int flags, int replaceId, float xOffset) { in Operation() argument 1350 mXOffset = xOffset; in Operation() 1460 public @NonNull Builder setXOffset(float xOffset) { in setXOffset() argument 1461 if (xOffset < -0.f) { in setXOffset() 1463 } else if (xOffset > 1.f) { in setXOffset() 1467 mXOffset = xOffset; in setXOffset() 1547 result.xOffset = mXOffset; in toParcelable() 1553 return new VolumeShaper.State(p.volume, p.xOffset); in fromParcelable() [all …]
|
/frameworks/base/core/java/android/hardware/input/ |
D | TouchCalibration.java | 62 public TouchCalibration(float xScale, float xyMix, float xOffset, in TouchCalibration() argument 66 mXOffset = xOffset; in TouchCalibration()
|
/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 | 189 MoveWindowTask(@NonNull MirrorWindowDelegate windowDelegate, Handler handler, int xOffset, in MoveWindowTask() argument 192 mXOffset = xOffset; in MoveWindowTask()
|
/frameworks/av/aidl/android/media/ |
D | VolumeShaperState.aidl | 26 float xOffset;
|
D | VolumeShaperOperation.aidl | 28 float xOffset;
|
/frameworks/base/media/jni/ |
D | android_media_VolumeShaper.h | 186 float xOffset = env->GetFloatField(joperation, fields.opXOffsetId); in convertJobjectToOperation() local 189 new VolumeShaper::Operation(flags, replaceId, xOffset); in convertJobjectToOperation() 208 float xOffset = env->GetFloatField(jstate, fields.stXOffsetId); in convertJobjectToState() local 210 sp<VolumeShaper::State> state = new VolumeShaper::State(volume, xOffset); in convertJobjectToState()
|
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/ |
D | TouchLatencyView.java | 159 long xOffset = pos % xMax; in drawBall() local 165 left = xMax - xOffset; in drawBall() 167 left = xOffset; in drawBall()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSAnimator.java | 252 int xOffset, in translateContent() argument 266 int xDiff = qsPosX - qqsPosX - xOffset; in translateContent() 327 int xOffset = mTmpLoc2[0] - mTmpLoc1[0]; in updateAnimators() local 334 translationXBuilder.addFloat(quickTileView, "translationX", 0, xOffset); in updateAnimators() 335 translationXBuilder.addFloat(tileView, "translationX", -xOffset, 0); in updateAnimators() 350 xOffset, in updateAnimators() local 363 xOffset, in updateAnimators() local 376 xOffset, 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() 190 mOffsetX = xOffset; in onOffsetsChanged()
|
/frameworks/libs/systemui/toruslib/torus-core/src/main/java/com/google/android/torus/core/wallpaper/listener/ |
D | LiveWallpaperEventListener.kt | 42 fun onOffsetChanged(xOffset: Float, xOffsetStep: Float) in onOffsetChanged()
|
/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 | 140 int xOffset = base + X_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 253 outParams.x = xOffset; in findDropDownPosition() 260 return super.findDropDownPosition(anchor, outParams, xOffset, yOffset, in findDropDownPosition()
|
/frameworks/libs/systemui/toruslib/torus-core/src/main/java/com/google/android/torus/core/wallpaper/ |
D | LiveWallpaper.kt | 308 xOffset: Float, in onOffsetsChanged() 316 xOffset, in onOffsetsChanged() 326 xOffset, in onOffsetsChanged()
|
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/view/ |
D | A11yMenuOverlayLayout.java | 266 int xOffset = max(windowInsets.left, windowInsets.right); in updateLayoutByWindowInsetsIfNeeded() local 269 if (mLayoutParameter.x != xOffset || mLayoutParameter.y != yOffset) { in updateLayoutByWindowInsetsIfNeeded() 270 mLayoutParameter.x = xOffset; in updateLayoutByWindowInsetsIfNeeded()
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 800 public void onOffsetsChanged(float xOffset, float yOffset, in onOffsetsChanged() argument 1739 float xOffset; in doOffsetsChanged() local 1745 xOffset = mPendingXOffset; in doOffsetsChanged() 1757 + ": " + xOffset + "," + yOffset); in doOffsetsChanged() 1759 final int xPixels = availw > 0 ? -(int)(availw*xOffset+.5f) : 0; in doOffsetsChanged() 1762 onOffsetsChanged(xOffset, yOffset, xOffsetStep, yOffsetStep, xPixels, yPixels); in doOffsetsChanged() 1809 float xOffset; in processLocalColorsInternal() local 1818 xOffset = mPendingXOffset; in processLocalColorsInternal() 1823 Log.d(TAG, "processLocalColors " + xOffset + " of step " in processLocalColorsInternal() 1826 if (xOffset % xOffsetStep > MIN_PAGE_ALLOWED_MARGIN in processLocalColorsInternal() [all …]
|