/frameworks/native/services/inputflinger/dispatcher/ |
D | InputTarget.cpp | 45 void InputTarget::addPointers(BitSet32 newPointerIds, float xOffset, float yOffset, in addPointers() argument 50 setDefaultPointerInfo(xOffset, yOffset, windowXScale, windowYScale); in addPointers() 60 pointerInfos[pointerId].xOffset = xOffset; in addPointers() 67 void InputTarget::setDefaultPointerInfo(float xOffset, float yOffset, float windowXScale, in setDefaultPointerInfo() argument 70 pointerInfos[0].xOffset = xOffset; in setDefaultPointerInfo() 88 pointerInfo.xOffset, pointerInfo.yOffset, pointerInfo.windowXScale, in getPointerInfoString() 99 i, pointerInfos[i].xOffset, pointerInfos[i].yOffset, in getPointerInfoString()
|
D | Monitor.cpp | 25 TouchedMonitor::TouchedMonitor(const Monitor& monitor, float xOffset, float yOffset) in TouchedMonitor() argument 26 : monitor(monitor), xOffset(xOffset), yOffset(yOffset) {} in TouchedMonitor()
|
D | InputTarget.h | 34 float xOffset = 0.0f; member 125 void addPointers(BitSet32 pointerIds, float xOffset, float yOffset, float windowXScale, 127 void setDefaultPointerInfo(float xOffset, float yOffset, float windowXScale,
|
D | Monitor.h | 33 float xOffset = 0.f; member 36 explicit TouchedMonitor(const Monitor& monitor, float xOffset, float yOffset);
|
D | Entry.cpp | 184 const PointerCoords* pointerCoords, float xOffset, float yOffset) in MotionEntry() argument 206 if (xOffset || yOffset) { in MotionEntry() 207 this->pointerCoords[i].applyOffset(xOffset, yOffset); in MotionEntry() 243 DispatchEntry::DispatchEntry(EventEntry* eventEntry, int32_t targetFlags, float xOffset, in DispatchEntry() argument 249 xOffset(xOffset), in DispatchEntry()
|
D | Entry.h | 183 float xOffset, float yOffset); 196 float xOffset; member 212 DispatchEntry(EventEntry* eventEntry, int32_t targetFlags, float xOffset, float yOffset,
|
/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/av/include/media/ |
D | VolumeShaper.h | 372 Operation(Flag flags, int replaceId, S xOffset) in Operation() argument 375 , mXOffset(xOffset) { in Operation() 390 void setXOffset(S xOffset) { in setXOffset() argument 391 mXOffset = clamp(xOffset, MIN_CURVE_TIME /* lo */, MAX_CURVE_TIME /* hi */); in setXOffset() 462 State(T volume, S xOffset) in State() argument 464 , mXOffset(xOffset) { in State() 482 void setXOffset(S xOffset) { in setXOffset() argument 483 mXOffset = xOffset; in setXOffset() 615 void setDelayXOffset(S xOffset) { in setDelayXOffset() argument 616 mDelayXOffset = clamp(xOffset, MIN_CURVE_TIME /* lo */, MAX_CURVE_TIME /* hi */); in setDelayXOffset() [all …]
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | MenuPopupHelper.java | 255 private void showPopup(int xOffset, int yOffset, boolean useOffsets, boolean showTitle) { in showPopup() argument 266 xOffset -= mAnchorView.getWidth(); in showPopup() 269 popup.setHorizontalOffset(xOffset); in showPopup() 278 final Rect epicenter = new Rect(xOffset - halfSize, yOffset - halfSize, in showPopup() 279 xOffset + halfSize, yOffset + halfSize); in showPopup()
|
/frameworks/base/media/java/android/media/ |
D | VolumeShaper.java | 1187 final float xOffset = p.readFloat(); 1192 , xOffset); 1202 private Operation(@Flag int flags, int replaceId, float xOffset) { in Operation() argument 1205 mXOffset = xOffset; in Operation() 1315 public @NonNull Builder setXOffset(float xOffset) { in setXOffset() argument 1316 if (xOffset < -0.f) { in setXOffset() 1318 } else if (xOffset > 1.f) { in setXOffset() 1322 mXOffset = xOffset; in setXOffset() 1415 /* package */ State(float volume, float xOffset) { in State() argument 1417 mXOffset = xOffset; in State()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | WindowMagnificationController.java | 315 private void moveMirrorWindow(int xOffset, int yOffset) { in moveMirrorWindow() argument 316 if (updateMagnificationFramePosition(xOffset, yOffset)) { in moveMirrorWindow() 358 private boolean updateMagnificationFramePosition(int xOffset, int yOffset) { in updateMagnificationFramePosition() argument 360 mTmpRect.offset(xOffset, yOffset); in updateMagnificationFramePosition() 397 public void move(int xOffset, int yOffset) { in move() argument 401 mMagnificationFrame.offset(xOffset, yOffset); in move()
|
D | MirrorWindowControl.java | 59 void move(int xOffset, int yOffset); in move() argument 147 public void move(int xOffset, int yOffset) { in move() argument 154 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/widget/ |
D | ToastPresenter.java | 147 int duration, int gravity, int xOffset, int yOffset, float horizontalMargin, in adjustLayoutParams() argument 158 params.x = xOffset; in adjustLayoutParams() 198 int xOffset, int yOffset, float horizontalMargin, float verticalMargin, in show() argument 204 adjustLayoutParams(mParams, windowToken, duration, gravity, xOffset, yOffset, in show()
|
/frameworks/base/core/java/android/hardware/input/ |
D | TouchCalibration.java | 61 public TouchCalibration(float xScale, float xyMix, float xOffset, in TouchCalibration() argument 65 mXOffset = xOffset; in TouchCalibration()
|
/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/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/native/libs/input/tests/ |
D | InputPublisherAndConsumer_test.cpp | 160 constexpr float xOffset = -10; in PublishAndConsumeMotionEvent() local 190 classification, xScale, yScale, xOffset, yOffset, in PublishAndConsumeMotionEvent() 223 EXPECT_EQ(xOffset, motionEvent->getXOffset()); in PublishAndConsumeMotionEvent() 229 EXPECT_EQ(xCursorPosition * xScale + xOffset, motionEvent->getXCursorPosition()); in PublishAndConsumeMotionEvent() 245 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X) * xScale + xOffset, in PublishAndConsumeMotionEvent()
|
/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/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()
|
/frameworks/native/libs/input/ |
D | Input.cpp | 247 void PointerCoords::applyOffset(float xOffset, float yOffset) { in applyOffset() argument 248 setAxisValue(AMOTION_EVENT_AXIS_X, getX() + xOffset); in applyOffset() 324 float yScale, float xOffset, float yOffset, float xPrecision, in initialize() argument 339 mXOffset = xOffset; in initialize() 461 void MotionEvent::offsetLocation(float xOffset, float yOffset) { in offsetLocation() argument 462 mXOffset += xOffset; in offsetLocation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/animation/ |
D | StackAnimationController.java | 930 final float xOffset = getOffsetForChainedPropertyAnimation( in setStackPosition() local 935 mLayout.getChildAt(i).setTranslationX(pos.x + (i * xOffset)); in setStackPosition() 962 final float xOffset = in animateInBubble() local 966 child.setTranslationX(mStackPosition.x + xOffset * index); in animateInBubble() 974 .translationX(mStackPosition.x + xOffset * (index + 1)) in animateInBubble()
|