Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/pip/
DPipSurfaceTransactionHelper.java47 float positionY = destinationBounds.top; 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
119 adjustedPositionY = positionY + insets.left * scale; in scaleAndRotate()
122 adjustedPositionY = positionY - insets.left * 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
147 positionY -= insets.top * scale; in rotateAndScaleWithCrop()
152 positionY += insets.left * scale; in rotateAndScaleWithCrop()
155 positionY -= insets.left * scale; in rotateAndScaleWithCrop()
160 mTmpTransform.postTranslate(positionX, positionY); in rotateAndScaleWithCrop()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/sizecompatui/
DSizeCompatUILayout.java279 final int positionY = stableBounds.bottom - taskBounds.top - mButtonSize; in updateButtonSurfacePosition() local
281 updateSurfacePosition(leash, positionX, positionY); in updateButtonSurfacePosition()
301 final int positionY = 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
64 mPositionY = positionY; in PictureInPictureSurfaceTransaction()
/frameworks/base/libs/input/
DSpriteController.h156 positionX(0), positionY(0), layer(0), alpha(1.0f), displayId(ADISPLAY_ID_DEFAULT), in SpriteState()
165 float positionY; member
DSpriteController.cpp226 update.state.positionY - update.state.icon.hotSpotY); in doUpdateSprites()
400 if (mLocked.state.positionX != x || mLocked.state.positionY != y) { in setPosition()
402 mLocked.state.positionY = y; in setPosition()
/frameworks/base/core/java/android/widget/
DEditor.java3390 protected int clipVertically(int positionY) { in clipVertically() argument
3392 return positionY; in clipVertically()
3512 protected abstract int clipVertically(int positionY); in clipVertically() argument
3575 int positionY = parentPositionY + mPositionY; in updatePosition() local
3577 positionY = clipVertically(positionY); in updatePosition()
3587 mPopupWindow.update(positionX, positionY, -1, -1); in updatePosition()
3590 positionX, positionY); in updatePosition()
4056 protected int clipVertically(int positionY) { in clipVertically() argument
4059 return Math.min(positionY, displayMetrics.heightPixels - height); in clipVertically()
DTextView.java12250 public boolean isPositionVisible(final float positionX, final float positionY) { in isPositionVisible() argument
12254 position[1] = positionY; in isPositionVisible()