Home
last modified time | relevance | path

Searched refs:rawX (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleTouchHandler.java103 final float rawX = event.getRawX(); in onTouch() local
107 final float viewX = mViewPositionOnTouchDown.x + rawX - mTouchDown.x; in onTouch()
113 mTouchDown.set(rawX, rawY); in onTouch()
130 final float deltaX = rawX - mTouchDown.x; in onTouch()
176 || isFastFlingTowardsDismissTarget(rawX, rawY, velX, velY) in onTouch()
181 mStack.onFlyoutDragFinished(rawX - mTouchDown.x /* deltaX */, velX); in onTouch()
228 float rawX, float rawY, float velX, float velY) { in isFastFlingTowardsDismissTarget() argument
234 float bottomOfScreenInterceptX = rawX; in isFastFlingTowardsDismissTarget()
241 final float yIntercept = rawY - slope * rawX; in isFastFlingTowardsDismissTarget()
/frameworks/av/services/camera/libcameraservice/device3/
DDistortionMapper.cpp380 float rawX = x * scaleX; in mapCorrectedToRawImplSimple() local
383 rawX = std::min(mArrayWidth - 1, std::max(0.f, rawX)); in mapCorrectedToRawImplSimple()
386 coordPairs[i] = static_cast<T>(std::round(rawX)); in mapCorrectedToRawImplSimple()
/frameworks/native/libs/input/
DInput.cpp423 float rawX = getRawX(0); in transform() local
425 transformPoint(matrix, rawX + oldXOffset, rawY + oldYOffset, &newX, &newY); in transform()
426 mXOffset = newX - rawX; in transform()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp3233 float toCookedX(float rawX, float rawY);
3234 float toCookedY(float rawX, float rawY);
3235 float toDisplayX(int32_t rawX);
3236 float toDisplayX(int32_t rawX, int32_t displayWidth);
3315 float TouchInputMapperTest::toCookedX(float rawX, float rawY) { in toCookedX() argument
3316 AFFINE_TRANSFORM.applyTo(rawX, rawY); in toCookedX()
3317 return rawX; in toCookedX()
3320 float TouchInputMapperTest::toCookedY(float rawX, float rawY) { in toCookedY() argument
3321 AFFINE_TRANSFORM.applyTo(rawX, rawY); in toCookedY()
3325 float TouchInputMapperTest::toDisplayX(int32_t rawX) { in toDisplayX() argument
[all …]
/frameworks/base/core/java/android/widget/
DZoomButtonsController.java615 private View findViewForTouch(int rawX, int rawY) { in findViewForTouch() argument
617 int containerCoordsX = rawX - mContainerRawLocation[0]; in findViewForTouch()