Home
last modified time | relevance | path

Searched defs:centerX (Results 1 – 25 of 111) sorted by relevance

12345

/aosp12/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DTransform3dActivity.java57 final float centerX = getWidth() / 2.0f - mBitmap1.getWidth() / 2.0f; in onDraw() local
77 private void drawBitmap(Canvas canvas, float centerX, float centerY, float offset, in drawBitmap()
86 private void rotate(float centerX, float centerY, Camera camera, in rotate()
/aosp12/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
H A DBackground.java119 final int centerX = mLauncher.getDevice().getDisplayWidth() / 2; in goToOverviewUnchecked() local
182 final int centerX = mLauncher.getDevice().getDisplayWidth() / 2; in sendDownPointerToEnterOverviewToLauncher() local
196 final int centerX = mLauncher.getDevice().getDisplayWidth() / 2; in sendSwipeUpAndHoldToEnterOverviewGestureToLauncher() local
219 final int centerX = mLauncher.getDevice().getDisplayWidth() / 2; in sendUpPointerToEnterOverviewToLauncher() local
H A DOverviewTask.java109 final int centerX = taskBounds.centerX(); in dismissBySwipingUp() local
/aosp12/frameworks/base/graphics/java/android/graphics/
H A DRadialGradient.java70 public RadialGradient(float centerX, float centerY, float radius, in RadialGradient()
94 public RadialGradient(float centerX, float centerY, float radius, in RadialGradient()
189 public RadialGradient(float centerX, float centerY, float radius, in RadialGradient()
207 public RadialGradient(float centerX, float centerY, float radius, in RadialGradient()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
H A DWindowMagnificationAnimationController.java106 void enableWindowMagnification(float scale, float centerX, float centerY, in enableWindowMagnification()
132 private void setupEnableAnimationSpecs(float scale, float centerX, float centerY) { in setupEnableAnimationSpecs()
266 final float centerX = in onAnimationUpdate() local
317 void set(float scale, float centerX, float centerY) { in set()
/aosp12/frameworks/base/core/java/android/view/
H A DViewAnimationUtils.java70 int centerX, int centerY, float startRadius, float endRadius) { in createCircularReveal()
H A DRoundedCorner.java101 public RoundedCorner(@Position int position, int radius, int centerX, in RoundedCorner()
/aosp12/packages/services/Telephony/src/com/android/phone/
H A DEmergencyShortcutButton.java209 int centerX = mCallNumberInfoView.getLeft() + mCallNumberInfoView.getWidth() / 2; in revealSelectedButton() local
232 int centerX = mConfirmView.getLeft() + mConfirmView.getWidth() / 2; in hideSelectedButton() local
H A DEmergencyInfoGroup.java232 int centerX = mEmergencyInfoButton.getLeft() + mEmergencyInfoButton.getWidth() / 2; in revealSelectedButton() local
255 int centerX = in hideSelectedButton() local
H A DEmergencyActionGroup.java186 int centerX = v.getLeft() + v.getWidth() / 2; in revealTheButton() local
267 int centerX = v.getLeft() + v.getWidth() / 2; in hideTheButton() local
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DImageShow.java394 float centerX = dp.centerX(); in drawImageAndAnimate() local
440 canvas.rotate(primary.getAnimRotationValue(), centerX, centerY); in drawImageAndAnimate() local
461 canvas.scale(primary.getAnimRotationValue(), 1, centerX, centerY); in drawImageAndAnimate() local
463 canvas.scale(primary.getAnimRotationValue(), 1, centerX, centerY); in drawImageAndAnimate() local
467 canvas.scale(primary.getAnimRotationValue(), 1, centerX, centerY); in drawImageAndAnimate() local
469 canvas.scale(primary.getAnimRotationValue(), 1, centerX, centerY); in drawImageAndAnimate() local
/aosp12/frameworks/native/include/input/
H A DVirtualKeyMap.h36 int32_t centerX; member
/aosp12/frameworks/base/core/tests/coretests/src/android/view/
H A DScaleGestureDetectorTest.java65 final int centerX = windowWidth / 2; in testScaleGestureDetector() local
/aosp12/frameworks/base/core/java/android/gesture/
H A DOrientedBoundingBox.java33 public final float centerX; field in OrientedBoundingBox
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DAbstractAccessibilityServiceConnectionTest.java613 final float centerX = 480.0f; in getMagnificationCenterX_notRegistered_shouldRegisterThenUnregister() local
626 final float centerX = 480.0f; in getMagnificationCenterX_serviceNotBelongCurrentUser_returnZero() local
691 final float centerX = 50.5f; in setMagnificationScaleAndCenter_notRegistered_shouldRegister() local
707 final float centerX = 50.5f; in setMagnificationScaleAndCenter_cantControlMagnification_returnFalse() local
722 final float centerX = 50.5f; in setMagnificationScaleAndCenter_serviceNotBelongCurrentUser_returnFalse() local
/aosp12/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
H A DWindowMagnificationManager.java274 void enableWindowMagnification(int displayId, float scale, float centerX, float centerY) { in enableWindowMagnification()
290 void enableWindowMagnification(int displayId, float scale, float centerX, float centerY, in enableWindowMagnification()
631 boolean enableWindowMagnificationInternal(float scale, float centerX, float centerY, in enableWindowMagnificationInternal()
729 private boolean enableWindowMagnificationInternal(int displayId, float scale, float centerX, in enableWindowMagnificationInternal()
H A DWindowMagnificationGestureHandler.java174 private void enableWindowMagnifier(float centerX, float centerY) { in enableWindowMagnifier()
192 private void toggleMagnification(float centerX, float centerY) { in toggleMagnification()
H A DFullScreenMagnificationController.java506 final float centerX = normPivotX + offsetX; in setScale() local
513 boolean setScaleAndCenter(float scale, float centerX, float centerY, in setScaleAndCenter()
545 boolean updateMagnificationSpecLocked(float scale, float centerX, float centerY) { in updateMagnificationSpecLocked()
997 public boolean setCenter(int displayId, float centerX, float centerY, boolean animate, int id) { in setCenter()
1025 public boolean setScaleAndCenter(int displayId, float scale, float centerX, float centerY, in setScaleAndCenter()
1048 public boolean setScaleAndCenter(int displayId, float scale, float centerX, float centerY, in setScaleAndCenter()
/aosp12/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
H A Dproximity_info.cpp131 const float centerX = static_cast<float>(getKeyCenterXOfKeyIdG(keyId, x, isGeometric)); in getNormalizedSquaredDistanceFromCenterFloatG() local
200 int centerX = (hasTouchPositionCorrectionData()) ? static_cast<int>(mSweetSpotCenterXs[keyId]) in getKeyCenterXOfKeyIdG() local
/aosp12/frameworks/base/core/java/android/view/accessibility/
H A DIWindowMagnificationConnection.aidl43 void enableWindowMagnification(int displayId, float scale, float centerX, float centerY, in enableWindowMagnification()
/aosp12/packages/apps/Camera2/src/com/android/camera/
H A DAnimationManager.java56 int centerX = view.getLeft() + view.getWidth() / 2; in startCaptureAnimation() local
/aosp12/packages/apps/Camera2/src/com/android/camera/ui/
H A DProgressRenderer.java85 public void onDraw(Canvas canvas, int centerX, int centerY) { in onDraw()
/aosp12/frameworks/base/core/java/android/accessibilityservice/
H A DAccessibilityService.java586 float scale, float centerX, float centerY); in onMagnificationChanged()
1173 float centerX, float centerY) { in onMagnificationChanged()
1314 final float centerX, final float centerY) { in dispatchMagnificationChanged()
1538 public boolean setCenter(float centerX, float centerY, boolean animate) { in setCenter()
1570 @NonNull Region region, float scale, float centerX, float centerY); in onMagnificationChanged()
2209 float scale, float centerX, float centerY) { in onBind()
H A DIAccessibilityServiceClient.aidl45 …void onMagnificationChanged(int displayId, in Region region, float scale, float centerX, float cen… in onMagnificationChanged()
/aosp12/frameworks/base/tests/Assist/src/com/android/test/assist/
H A DAssistInteractionSession.java134 int centerX = mBackground.getWidth()/2; in playAssistAnimation() local

12345