Home
last modified time | relevance | path

Searched refs:degree (Results 1 – 25 of 38) sorted by relevance

12

/aosp12/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DRotateImageView.java68 public void setOrientation(int degree) { in setOrientation() argument
70 degree = degree >= 0 ? degree % 360 : degree % 360 + 360; in setOrientation()
71 if (degree == mTargetDegree) return; in setOrientation()
73 mTargetDegree = degree; in setOrientation()
106 int degree = mStartDegree + ANIMATION_SPEED in onDraw() local
108 degree = degree >= 0 ? degree % 360 : degree % 360 + 360; in onDraw()
109 mCurrentDegree = degree; in onDraw()
H A DIndicatorControlWheel.java456 int degree = (int) Math.toDegrees(mChildRadians[selectedIndex]); in onDraw() local
465 fanPath.arcTo(mBackgroundRect, -degree + HIGHLIGHT_DEGREES / 2, in onDraw()
469 fanPath.arcTo(mBackgroundRect, -degree - HIGHLIGHT_DEGREES / 2, in onDraw()
482 canvas.drawArc(mBackgroundRect, -degree - HIGHLIGHT_DEGREES / 2, in onDraw()
/aosp12/frameworks/native/libs/input/
H A DVelocityTracker.cpp630 uint32_t degree = mDegree; in getEstimator() local
631 if (degree > m - 1) { in getEstimator()
632 degree = m - 1; in getEstimator()
649 } else if (degree >= 1) { in getEstimator()
656 outEstimator->degree = degree; in getEstimator()
673 outEstimator->degree = 0; in getEstimator()
749 mDegree(degree) { in IntegratingVelocityTrackerStrategy()
797 state.degree = 0; in initState()
821 if (state.degree == 0) { in updateState()
824 state.degree = 1; in updateState()
[all …]
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
H A DSwipePipToHomeAnimator.java233 rotatedPosition.degree, rotatedPosition.positionX, rotatedPosition.positionY); in onAnimationScale()
248 rotatedPosition.degree, rotatedPosition.positionX, rotatedPosition.positionY); in onAnimationScaleAndCrop()
280 final float degree, positionX, positionY; in getRotatedPosition() local
283 degree = -90 * (1 - progress); in getRotatedPosition()
289 degree = 90 * (1 - progress); in getRotatedPosition()
297 degree = -90 * progress; in getRotatedPosition()
303 degree = 90 * progress; in getRotatedPosition()
311 return new RotatedPosition(degree, positionX, positionY); in getRotatedPosition()
430 private final float degree; field in SwipePipToHomeAnimator.RotatedPosition
434 private RotatedPosition(float degree, float positionX, float positionY) { in RotatedPosition() argument
[all …]
/aosp12/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/pip/
H A DPipSurfaceTransactionHelper.java63 float degree, float positionX, float positionY) { in scale() argument
68 mTmpTransform.postRotate(degree, 0, 0); in scale()
74 mTmpFloat9, degree, cornerRadius, sourceBounds); in scale()
103 float degree, float positionX, float positionY) { in scaleAndRotate() argument
112 mTmpTransform.setRotate(degree, 0, 0); in scaleAndRotate()
117 if (degree < 0) { in scaleAndRotate()
129 mTmpFloat9, degree, cornerRadius, mTmpDestinationRect); in scaleAndRotate()
/aosp12/packages/apps/Gallery/src/com/android/camera/
H A DImageManager.java202 Bitmap source, byte[] jpegData, int[] degree) { in addImage() argument
214 degree[0] = 0; in addImage()
217 degree[0] = getExifOrientation(filePath); in addImage()
238 values.put(Images.Media.ORIENTATION, degree[0]); in addImage()
250 int degree = 0; in getExifOrientation() local
264 degree = 90; in getExifOrientation()
267 degree = 180; in getExifOrientation()
270 degree = 270; in getExifOrientation()
276 return degree; in getExifOrientation()
H A DCropImage.java371 int[] degree = new int[1]; in saveOutput() local
380 degree); in saveOutput()
H A DMenuHelper.java474 final int degree) { in onRotateClicked() argument
480 image.rotateImageBy(degree); in onRotateClicked()
/aosp12/frameworks/native/include/input/
H A DVelocityTracker.h64 uint32_t degree; member
71 degree = 0; in clear()
178 LeastSquaresVelocityTrackerStrategy(uint32_t degree, Weighting weighting = WEIGHTING_NONE);
221 IntegratingVelocityTrackerStrategy(uint32_t degree);
234 uint32_t degree; member
/aosp12/frameworks/base/core/java/android/view/
H A DVelocityTracker.java453 public int degree; field in VelocityTracker.Estimator
485 return index <= degree ? xCoeff[index] : 0; in getXCoeff()
494 return index <= degree ? yCoeff[index] : 0; in getYCoeff()
500 for (int i = 0; i <= degree; i++) { in estimate()
/aosp12/frameworks/base/core/jni/
H A Dandroid_view_VelocityTracker.cpp37 jfieldID degree; member
211 env->SetIntField(outEstimatorObj, gEstimatorClassInfo.degree, estimator.degree); in android_view_VelocityTracker_nativeGetEstimator()
241 gEstimatorClassInfo.degree = GetFieldIDOrDie(env, clazz, "degree", "I"); in register_android_view_VelocityTracker()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
H A DPipAnimationController.java620 final float degree, x, y; in ofBounds() local
623 degree = 90 * (1 - fraction); in ofBounds()
628 degree = -90 * (1 - fraction); in ofBounds()
635 degree = 90 * fraction; in ofBounds()
639 degree = -90 * fraction; in ofBounds()
648 insets, degree, x, y, isOutPipDirection, in ofBounds()
/aosp12/bootable/recovery/install/
H A Dverifier.cpp403 auto degree = EC_GROUP_get_degree(ec_group); in CheckECKey() local
404 if (degree != 256) { in CheckECKey()
405 LOG(ERROR) << "Field size of the ec key should be 256 bits long, actual: " << degree; in CheckECKey()
/aosp12/frameworks/hardware/interfaces/stats/1.0/
H A Dtypes.hal125 /* Temperature Temperature, in 1/10ths of degree C. */
171 /* Temperature of USB port at USB plug event, in 1/10ths of degree C. */
174 /* Maximum temperature of USB port during overheat event, in 1/10ths of degree C. */
/aosp12/hardware/interfaces/health/1.0/
H A Dtypes.hal123 * of degree celcius. (POWER_SUPPLY_PROP_TEMP)
202 /** Instantaneous battery temperature in tenths of degree celcius */
/aosp12/frameworks/base/core/proto/android/service/
H A Dbattery.proto53 // Battery temperature in tenths of a degree Centigrade
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
H A DKeyButtonDrawable.java55 public void setValue(KeyButtonDrawable drawable, float degree) {
56 drawable.setRotation(degree);
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
H A DWindowMagnificationController.java411 final int degree = (rotationDiff + 4) % 4 * 90; in getDegreeFromRotation() local
412 return degree; in getDegreeFromRotation()
/aosp12/hardware/google/pixel/pixelstats/
H A Dpixelatoms.proto666 /* Temperature of USB port at USB plug event, in 1/10ths of degree C. */
668 /* Maximum temperature of USB port during overheat event, in 1/10ths of degree
702 // Temperature, in 1/10ths of degree C.
/aosp12/hardware/interfaces/camera/device/3.2/
H A Dtypes.hal72 /** Rotate by 90 degree counterclockwise */
75 /** Rotate by 180 degree counterclockwise */
78 /** Rotate by 270 degree counterclockwise */
280 * example, if the rotation is 90 degree and the stream width and height is
283 * 90 degree counterclockwise. The rotation field must be ignored when the
/aosp12/packages/apps/LegacyCamera/src/com/android/camera/panorama/
H A DPanoramaActivity.java229 private void setOrientationIndicator(int degree) { in setOrientationIndicator() argument
230 if (mSharePopup != null) mSharePopup.setOrientation(degree); in setOrientationIndicator()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DPhotoView.java931 private static int getRotated(int degree, int original, int theother) { in getRotated() argument
932 return (degree % 180 == 0) ? original : theother; in getRotated()
/aosp12/frameworks/base/packages/SystemUI/docs/
H A Dphysics-animation-layout.md45 …tion that takes momentum into account. For example, if a path makes a 90 degree turn to the right,…
/aosp12/hardware/qcom/camera/msm8998/QCamera2/HAL3/
H A DQCamera3HWI.cpp7758 uint8_t degree[MAX_ROI * 2]; in translateFromHalMetadata() local
7761 degree[2 * i] = blinks->blink[i].left_blink; in translateFromHalMetadata()
7767 degree[2 * i + 1]); in translateFromHalMetadata()
7772 degree, numFaces * 2); in translateFromHalMetadata()
7776 uint8_t degree[MAX_ROI]; in translateFromHalMetadata() local
7779 degree[i] = smiles->smile[i].smile_degree; in translateFromHalMetadata()
7787 degree, numFaces); in translateFromHalMetadata()
7795 int8_t degree[MAX_ROI * 2]; in translateFromHalMetadata() local
7801 degree[2 * i] = gazes->gaze[i].left_right_gaze; in translateFromHalMetadata()
7810 degree[2 * i], degree[2 * i + 1]); in translateFromHalMetadata()
[all …]
/aosp12/frameworks/base/core/proto/android/providers/settings/
H A Dsecure.proto329 // The degree of location access enabled by the user.

12