Home
last modified time | relevance | path

Searched refs:positionX (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/pip/
DPipSurfaceTransactionHelper.java48 float positionX = destinationBounds.left; in scale() local
56 .setPosition(leash, positionX, positionY) in scale()
59 return newPipSurfaceTransaction(positionX, positionY, in scale()
66 float degree, float positionX, float positionY) { in scale() argument
74 .setPosition(leash, positionX, positionY) in scale()
77 return newPipSurfaceTransaction(positionX, positionY, in scale()
125 float degree, float positionX, float positionY) { in scaleAndRotate() argument
140 adjustedPositionX = positionX + insets.top * scale; in scaleAndRotate()
143 adjustedPositionX = positionX - insets.top * scale; in scaleAndRotate()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/
DPipSurfaceTransactionHelper.java171 float degrees, float positionX, float positionY, boolean isExpanding, in rotateAndScaleWithCrop() argument
190 positionX -= insets.left * scale; in rotateAndScaleWithCrop()
195 positionX -= insets.top * scale; in rotateAndScaleWithCrop()
198 positionX += insets.top * scale; in rotateAndScaleWithCrop()
204 mTmpTransform.postTranslate(positionX, positionY); in rotateAndScaleWithCrop()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipSurfaceTransactionHelper.java174 float degrees, float positionX, float positionY, boolean isExpanding, in rotateAndScaleWithCrop() argument
193 positionX -= insets.left * scale; in rotateAndScaleWithCrop()
198 positionX -= insets.top * scale; in rotateAndScaleWithCrop()
201 positionX += insets.top * scale; in rotateAndScaleWithCrop()
207 mTmpTransform.postTranslate(positionX, positionY); in rotateAndScaleWithCrop()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DMagnificationConnectionWrapper.java153 boolean moveWindowMagnifierToPosition(int displayId, float positionX, float positionY, in moveWindowMagnifierToPosition() argument
158 + ";positionX=" + positionX + ";positionY=" + positionY); in moveWindowMagnifierToPosition()
161 mConnection.moveWindowMagnifierToPosition(displayId, positionX, positionY, in moveWindowMagnifierToPosition()
DMagnificationConnectionManager.java1329 private boolean moveWindowMagnifierToPositionInternal(int displayId, float positionX, in moveWindowMagnifierToPositionInternal() argument
1332 displayId, positionX, positionY, animationCallback); in moveWindowMagnifierToPositionInternal()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuAnimationController.java119 void moveToPositionX(float positionX) { in moveToPositionX() argument
120 moveToPositionX(positionX, /* animateMovement = */ false); in moveToPositionX()
123 void moveToPositionX(float positionX, boolean animateMovement) { in moveToPositionX() argument
128 positionX, /* writeToPosition = */ false); in moveToPositionX()
130 DynamicAnimation.TRANSLATION_X.setValue(mMenuView, positionX); in moveToPositionX()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DMagnificationConnectionImpl.java84 public void moveWindowMagnifierToPosition(int displayId, float positionX, float positionY, in moveWindowMagnifierToPosition() argument
87 displayId, positionX, positionY, callback)); in moveWindowMagnifierToPosition()
DMagnification.java332 void moveWindowMagnifierToPositionInternal(int displayId, float positionX, float positionY, in moveWindowMagnifierToPositionInternal() argument
337 windowMagnificationController.moveWindowMagnifierToPosition(positionX, positionY, in moveWindowMagnifierToPositionInternal()
DWindowMagnificationController.java1481 void moveWindowMagnifierToPosition(float positionX, float positionY, in moveWindowMagnifierToPosition() argument
1486 mAnimationController.moveWindowMagnifierToPosition(positionX, positionY, callback); in moveWindowMagnifierToPosition()
/frameworks/base/core/java/android/view/accessibility/
DIMagnificationConnection.aidl87 void moveWindowMagnifierToPosition(int displayId, float positionX, float positionY, in moveWindowMagnifierToPosition() argument
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DIBubbles.aidl44 oneway void showUserEducation(in int positionX, in int positionY) = 8; in showUserEducation() argument
DBubbleController.java2464 public void showUserEducation(int positionX, int positionY) { in showUserEducation() argument
2466 mController.showUserEducation(new Point(positionX, positionY))); in showUserEducation()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/activityembedding/
DActivityEmbeddingAnimationAdapter.java155 final int positionX = Math.round(mMatrix[MTRANS_X]); in onAnimationUpdateInner() local
158 cropRect.offset(positionX - mContentRelOffset.x, positionY - mContentRelOffset.y); in onAnimationUpdateInner()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DTaskFragmentAnimationAdapter.java144 final int positionX = Math.round(mMatrix[MTRANS_X]); in onAnimationUpdateInner() local
147 cropRect.offset(positionX - mContentRelOffset.x, positionY - mContentRelOffset.y); in onAnimationUpdateInner()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/
DUserAspectRatioSettingsWindowManager.java177 final int positionX = getLayoutDirection() == View.LAYOUT_DIRECTION_RTL in updateSurfacePosition() local
182 updateSurfacePosition(positionX, positionY); in updateSurfacePosition()
DCompatUIWindowManager.java220 final int positionX = getLayoutDirection() == View.LAYOUT_DIRECTION_RTL in updateSurfacePosition() local
225 updateSurfacePosition(positionX, positionY); in updateSurfacePosition()
DCompatUIWindowManagerAbstract.java357 protected void updateSurfacePosition(int positionX, int positionY) { in updateSurfacePosition() argument
366 t.setPosition(mLeash, positionX, positionY); in updateSurfacePosition()
/frameworks/base/libs/input/
DSpriteController.cpp226 update.state.positionX - update.state.icon.hotSpotX, in doUpdateSprites()
444 if (mLocked.state.positionX != x || mLocked.state.positionY != y) { in setPosition()
445 mLocked.state.positionX = x; in setPosition()
DSpriteController.h172 float positionX{0};
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DWindowMagnificationAnimationControllerTest.java1066 void moveWindowMagnifierToPosition(float positionX, float positionY, in moveWindowMagnifierToPosition() argument
1068 super.moveWindowMagnifierToPosition(positionX, positionY, callback); in moveWindowMagnifierToPosition()
1069 mSpyController.moveWindowMagnifierToPosition(positionX, positionY, callback); in moveWindowMagnifierToPosition()
/frameworks/base/core/java/android/widget/
DEditor.java3855 int positionX = parentPositionX + mPositionX; in updatePosition() local
3863 positionX = Math.min( in updatePosition()
3864 displayMetrics.widthPixels - width + mClippingLimitRight, positionX); in updatePosition()
3865 positionX = Math.max(-mClippingLimitLeft, positionX); in updatePosition()
3868 mPopupWindow.update(positionX, positionY, -1, -1); in updatePosition()
3871 positionX, positionY); in updatePosition()