Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/pip/
DPipSurfaceTransactionHelper.java46 float positionX = destinationBounds.left; in scale() local
54 .setPosition(leash, positionX, positionY) in scale()
57 positionX, positionY, mTmpFloat9, 0 /* rotation */, cornerRadius, sourceBounds); in scale()
63 float degree, float positionX, float positionY) { in scale() argument
71 .setPosition(leash, positionX, positionY) in scale()
74 positionX, positionY, mTmpFloat9, degree, cornerRadius, sourceBounds); in scale()
103 float degree, float positionX, float positionY) { in scaleAndRotate() argument
118 adjustedPositionX = positionX + insets.top * scale; in scaleAndRotate()
121 adjustedPositionX = positionX - insets.top * scale; in scaleAndRotate()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipSurfaceTransactionHelper.java128 float degrees, float positionX, float positionY, boolean isExpanding, in rotateAndScaleWithCrop() argument
146 positionX -= insets.left * scale; in rotateAndScaleWithCrop()
151 positionX -= insets.top * scale; in rotateAndScaleWithCrop()
154 positionX += insets.top * scale; in rotateAndScaleWithCrop()
160 mTmpTransform.postTranslate(positionX, positionY); in rotateAndScaleWithCrop()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/sizecompatui/
DSizeCompatUILayout.java276 final int positionX = getLayoutDirection() == View.LAYOUT_DIRECTION_RTL in updateButtonSurfacePosition() local
281 updateSurfacePosition(leash, positionX, positionY); in updateButtonSurfacePosition()
298 final int positionX = getLayoutDirection() == View.LAYOUT_DIRECTION_RTL in updateHintSurfacePosition() local
304 updateSurfacePosition(leash, positionX, positionY); in updateHintSurfacePosition()
307 private void updateSurfacePosition(SurfaceControl leash, int positionX, int positionY) { in updateSurfacePosition() argument
309 t.setPosition(leash, positionX, positionY); in updateSurfacePosition()
/frameworks/base/core/java/android/window/
DPictureInPictureSurfaceTransaction.java60 public PictureInPictureSurfaceTransaction(float positionX, float positionY, in PictureInPictureSurfaceTransaction() argument
63 mPositionX = positionX; in PictureInPictureSurfaceTransaction()
/frameworks/base/libs/input/
DSpriteController.h156 positionX(0), positionY(0), layer(0), alpha(1.0f), displayId(ADISPLAY_ID_DEFAULT), in SpriteState()
164 float positionX; member
DSpriteController.cpp225 update.state.positionX - update.state.icon.hotSpotX, in doUpdateSprites()
400 if (mLocked.state.positionX != x || mLocked.state.positionY != y) { in setPosition()
401 mLocked.state.positionX = x; in setPosition()
/frameworks/base/core/java/android/widget/
DEditor.java3574 int positionX = parentPositionX + mPositionX; in updatePosition() local
3582 positionX = Math.min( in updatePosition()
3583 displayMetrics.widthPixels - width + mClippingLimitRight, positionX); in updatePosition()
3584 positionX = Math.max(-mClippingLimitLeft, positionX); in updatePosition()
3587 mPopupWindow.update(positionX, positionY, -1, -1); in updatePosition()
3590 positionX, positionY); in updatePosition()
DTextView.java12250 public boolean isPositionVisible(final float positionX, final float positionY) { in isPositionVisible() argument
12253 position[0] = positionX; in isPositionVisible()