/frameworks/base/tests/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 | 38 for (int xOffset = 0; xOffset < 200; xOffset += 2) { in createContent() local 40 region.op({xOffset, yOffset, xOffset + 1, yOffset + 1}, SkRegion::kUnion_Op); in createContent()
|
/frameworks/base/graphics/java/android/graphics/text/ |
D | TextRunShaper.java | 69 float xOffset, float yOffset, boolean isRtl, @NonNull Paint paint) { in shapeTextRun() argument 75 xOffset, yOffset); in shapeTextRun() 99 float xOffset, float yOffset, boolean isRtl, @NonNull Paint paint) { in shapeTextRun() argument 107 xOffset, yOffset); in shapeTextRun() 115 xOffset, yOffset); in shapeTextRun()
|
D | PositionedGlyphs.java | 174 public PositionedGlyphs(long layoutPtr, float xOffset, float yOffset) { in PositionedGlyphs() argument 178 mXOffset = xOffset; in PositionedGlyphs()
|
/frameworks/av/include/media/ |
D | VolumeShaper.h | 433 Operation(Flag flags, int replaceId, S xOffset) in Operation() argument 436 , mXOffset(xOffset) { in Operation() 451 void setXOffset(S xOffset) { in setXOffset() argument 452 mXOffset = clamp(xOffset, MIN_CURVE_TIME /* lo */, MAX_CURVE_TIME /* hi */); in setXOffset() 494 op->xOffset = mXOffset; in writeToParcelable() 505 mXOffset = op.xOffset; in readFromParcelable() 575 State(T volume, S xOffset) in State() argument 577 , mXOffset(xOffset) { in State() 595 void setXOffset(S xOffset) { in setXOffset() argument 596 mXOffset = xOffset; in setXOffset() [all …]
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | Monitor.cpp | 26 TouchedMonitor::TouchedMonitor(const Monitor& monitor, float xOffset, float yOffset) in TouchedMonitor() argument 27 : monitor(monitor), xOffset(xOffset), yOffset(yOffset) {} in TouchedMonitor()
|
D | Monitor.h | 35 float xOffset = 0.f; member 38 explicit TouchedMonitor(const Monitor& monitor, float xOffset, float yOffset);
|
D | Entry.cpp | 203 const PointerCoords* pointerCoords, float xOffset, float yOffset) in MotionEntry() argument 224 if (xOffset || yOffset) { in MotionEntry() 225 this->pointerCoords[i].applyOffset(xOffset, yOffset); in MotionEntry()
|
/frameworks/base/core/java/android/widget/ |
D | ToastPresenter.java | 140 int duration, int gravity, int xOffset, int yOffset, float horizontalMargin, in adjustLayoutParams() argument 151 params.x = xOffset; in adjustLayoutParams() 169 public void updateLayoutParams(int xOffset, int yOffset, float horizontalMargin, in updateLayoutParams() argument 174 mParams.x = xOffset; in updateLayoutParams() 212 int xOffset, int yOffset, float horizontalMargin, float verticalMargin, in show() argument 214 show(view, token, windowToken, duration, gravity, xOffset, yOffset, horizontalMargin, in show() 223 int xOffset, int yOffset, float horizontalMargin, float verticalMargin, in show() argument 229 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/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 MoveWindowTask(@NonNull MirrorWindowDelegate windowDelegate, Handler handler, int xOffset, in MoveWindowTask() argument 193 mXOffset = xOffset; in MoveWindowTask()
|
/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/qs/ |
D | QSAnimator.java | 229 int xOffset, in translateContent() argument 242 int xDiff = qsPosX - qqsPosX - xOffset; in translateContent() 303 int xOffset = loc2[0] - loc1[0]; in updateAnimators() local 314 translationXBuilder.addFloat(quickTileView, "translationX", 0, xOffset); in updateAnimators() 315 translationXBuilder.addFloat(tileView, "translationX", -xOffset, 0); in updateAnimators() 330 xOffset, in updateAnimators() local 342 xOffset, in updateAnimators() local 354 xOffset, in updateAnimators() local
|
/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/av/aidl/android/media/ |
D | VolumeShaperState.aidl | 26 float xOffset;
|
D | VolumeShaperOperation.aidl | 28 float xOffset;
|
/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/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/service/wallpaper/ |
D | WallpaperService.java | 628 public void onOffsetsChanged(float xOffset, float yOffset, in onOffsetsChanged() argument 1386 float xOffset; in doOffsetsChanged() local 1392 xOffset = mPendingXOffset; in doOffsetsChanged() 1404 + ": " + xOffset + "," + yOffset); in doOffsetsChanged() 1406 final int xPixels = availw > 0 ? -(int)(availw*xOffset+.5f) : 0; in doOffsetsChanged() 1409 onOffsetsChanged(xOffset, yOffset, xOffsetStep, yOffsetStep, xPixels, yPixels); in doOffsetsChanged() 1424 processLocalColors(xOffset, xOffsetStep); in doOffsetsChanged() 1427 private void processLocalColors(float xOffset, float xOffsetStep) { in processLocalColors() argument 1431 Log.d(TAG, "processLocalColors " + xOffset + " of step " in processLocalColors() 1435 if (xOffset % xOffsetStep > MIN_PAGE_ALLOWED_MARGIN in processLocalColors() [all …]
|
/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/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/ |
D | TouchLatencyActivity.java | 166 long xOffset = pos % xMax; in drawBall() local 172 left = xMax - xOffset; in drawBall() 174 left = xOffset; in drawBall()
|