Home
last modified time | relevance | path

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

/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/multichip/
DChipInfoParams.java37 private ChipInfoParams(String chipId, double positionX, double positionY, double positionZ) { in ChipInfoParams() argument
40 mPositionY = positionY; in ChipInfoParams()
78 double positionY = bundle.getDouble(KEY_POSITION_Y, 0.0); in fromBundle() local
80 return new ChipInfoParams(chipId, positionX, positionY, positionZ); in fromBundle()
111 public Builder setPositionY(double positionY) { in setPositionY() argument
112 mPositionY = positionY; in setPositionY()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DSwipePipToHomeAnimator.java255 rotatedPosition.degree, rotatedPosition.positionX, rotatedPosition.positionY); in onAnimationScaleAndCrop()
299 final float degree, positionX, positionY; in getRotatedPosition() local
305 positionY = progress * (mDestinationBoundsTransformed.top - mStartBounds.top) in getRotatedPosition()
311 positionY = progress * (mDestinationBoundsTransformed.top - mStartBounds.top) in getRotatedPosition()
319 positionY = progress * (mDestinationBoundsTransformed.bottom - mStartBounds.top) in getRotatedPosition()
325 positionY = progress * (mDestinationBoundsTransformed.top - mStartBounds.top) in getRotatedPosition()
330 return new RotatedPosition(degree, positionX, positionY); in getRotatedPosition()
463 private final float positionY; field in SwipePipToHomeAnimator.RotatedPosition
465 private RotatedPosition(float degree, float positionX, float positionY) { in RotatedPosition() argument
468 this.positionY = positionY; in RotatedPosition()
/packages/modules/Uwb/service/support_lib/test/
DMultichipTests.java37 double positionY = 2.0; in testChipInfoParams() local
42 .setPositionX(positionX).setPositionY(positionY).setPositionZ(positionZ).build(); in testChipInfoParams()
46 assertEquals(chipInfoParams.getPositionY(), positionY, 0); in testChipInfoParams() local
55 assertEquals(fromBundle.getPositionY(), positionY, 0); in testChipInfoParams() local
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DEdgeBackGesturePanel.java610 float positionY = touchY - mFingerOffset; in updatePosition() local
611 positionY = Math.max(positionY, mMinArrowPosition); in updatePosition()
612 positionY -= getLayoutParams().height / 2.0f; in updatePosition()
614 setY(MathUtils.clamp((int) positionY, 0, mDisplaySize.y)); in updatePosition()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DCursorAnchorInfoUtils.java52 final float positionY) { in isPositionVisible() argument
53 final float[] position = new float[] { positionX, positionY }; in isPositionVisible()
/packages/apps/Nfc/src/com/android/nfc/
DNfcService.java2263 int positionY[] = mContext.getResources().getIntArray( in getNfcAntennaInfo() local
2265 if(positionX.length != positionY.length){ in getNfcAntennaInfo()
2272 if(positionX[i] >= width | positionY[i] >= height){ in getNfcAntennaInfo()
2275 availableNfcAntennas.add(new AvailableNfcAntenna(positionX[i], positionY[i])); in getNfcAntennaInfo()