/frameworks/base/core/java/android/hardware/camera2/ |
H A D | DngCreator.java | 635 int degrees = (int) value; 636 value = (value - degrees) * 60; 640 return new int[] { degrees, 1, minutes, 1, seconds, 100 };
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | ExifInterface.java | 1856 * Returns the Orientation ExifTag value for a given number of degrees. 1858 * @param degrees the amount an image is rotated in degrees. 1860 public static short getOrientationValueForRotation(int degrees) { argument 1861 degrees %= 360; 1862 if (degrees < 0) { 1863 degrees += 360; 1865 if (degrees < 90) { 1866 return Orientation.TOP_LEFT; // 0 degrees 1867 } else if (degrees < 18 [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | AnyMotionDetector.java | 91 /** Threshold angle in degrees beyond which the device is considered moving. */ 395 float degrees = Math.abs((float)Math.toDegrees( 398 ", other = " + other.toString() + ", degrees = " + degrees); 399 return degrees;
|
/frameworks/av/include/media/stagefright/ |
H A D | MPEG4Writer.h | 198 void writeCompositionMatrix(int32_t degrees);
|
/frameworks/base/libs/hwui/ |
H A D | CanvasState.h | 110 void rotate(float degrees);
|
H A D | DisplayListCanvas.cpp | 150 void DisplayListCanvas::rotate(float degrees) { argument 151 if (degrees == 0.0f) return; 153 addStateOp(new (alloc()) RotateOp(degrees)); 154 mState.rotate(degrees);
|
H A D | RecordingCanvas.cpp | 203 void RecordingCanvas::rotate(float degrees) { argument 204 if (degrees == 0) return; 206 mState.rotate(degrees);
|
H A D | SkiaCanvas.cpp | 98 virtual void rotate(float degrees) override; 438 void SkiaCanvas::rotate(float degrees) { argument 439 mCanvas->rotate(degrees);
|
H A D | DisplayListCanvas.h | 147 virtual void rotate(float degrees) override;
|
H A D | RecordingCanvas.h | 124 virtual void rotate(float degrees) override;
|
/frameworks/rs/api/ |
H A D | rs_math.spec | 223 To get an inverse cosine measured in degrees, use <code>acospi(a) * 180.f</code>. 294 To get an inverse sine measured in degrees, use <code>asinpi(a) * 180.f</code>. 368 To get an inverse tangent measured in degrees, use <code>atan2pi(n, d) * 180.f</code>. 417 To get an inverse tangent measured in degrees, use <code>atanpi(a) * 180.f</code>. 652 To get the cosine of a value measured in degrees, call <code>cospi(v / 180.f)</code>. 666 function: degrees 673 summary: Converts radians into degrees 675 Converts from radians to degrees. 678 function: degrees 1850 To get an inverse cosine measured in degrees, us [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 414 status_t StagefrightRecorder::setParamVideoRotation(int32_t degrees) { argument 415 ALOGV("setParamVideoRotation: %d", degrees); 416 if (degrees < 0 || degrees % 90 != 0) { 417 ALOGE("Unsupported video rotation angle: %d", degrees); 420 mRotationDegrees = degrees % 360; 692 } else if (key == "video-param-rotation-angle-degrees") { 693 int32_t degrees; local 694 if (safe_strtoi32(value.string(), °rees)) { 695 return setParamVideoRotation(degrees); [all...] |
H A D | StagefrightRecorder.h | 177 status_t setParamVideoRotation(int32_t degrees);
|
/frameworks/av/services/camera/libcameraservice/api1/ |
H A D | Camera2Client.h | 172 status_t commandSetDisplayOrientationL(int degrees);
|
H A D | Camera2Client.cpp | 1574 status_t Camera2Client::commandSetDisplayOrientationL(int degrees) { argument 1575 int transform = Parameters::degToTransform(degrees, 1579 __FUNCTION__, mCameraId, degrees);
|
/frameworks/base/libs/hwui/hwui/ |
H A D | Canvas.h | 151 virtual void rotate(float degrees) = 0;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
H A D | GlobalScreenshot.java | 530 * @return the current display rotation in degrees 553 float degrees = getDegreesForRotation(mDisplay.getRotation()); 554 boolean requiresRotation = (degrees > 0); 558 mDisplayMatrix.preRotate(-degrees); 579 c.rotate(degrees);
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
H A D | PhotoView.java | 160 /** The current rotation amount, in degrees */ 662 * Rotates the image 90 degrees, clockwise. 669 * Rotates the image 90 degrees, counter clockwise. 1106 * @param degrees how many degrees to rotate the image, positive rotates clockwise 1109 private void rotate(float degrees, boolean animate) { argument 1111 mRotateRunnable.start(degrees); 1113 mRotation += degrees; 1114 mMatrix.postRotate(degrees, getWidth() / 2, getHeight() / 2);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 588 * @param degrees The amount to rotate, in degrees 590 public void rotate(float degrees) { argument 591 native_rotate(mNativeCanvasWrapper, degrees); 597 * @param degrees The amount to rotate, in degrees 601 public final void rotate(float degrees, float px, float py) { argument 603 rotate(degrees); 1181 * <p>The arc is drawn clockwise. An angle of 0 degrees correspond to the 1182 * geometric angle of 0 degrees ( 2021 native_rotate(long canvasHandle, float degrees) argument [all...] |
/frameworks/rs/driver/runtime/ |
H A D | rs_cl.c | 939 extern float __attribute__((overloadable)) degrees(float radians) { function 942 extern float2 __attribute__((overloadable)) degrees(float2 radians) { function 945 extern float3 __attribute__((overloadable)) degrees(float3 radians) { function 948 extern float4 __attribute__((overloadable)) degrees(float4 radians) { function 974 extern float __attribute__((overloadable)) radians(float degrees) { argument 975 return degrees * (M_PI / 180.f); 977 extern float2 __attribute__((overloadable)) radians(float2 degrees) { argument 978 return degrees * (M_PI / 180.f); 980 extern float3 __attribute__((overloadable)) radians(float3 degrees) { argument 981 return degrees * (M_P 983 radians(float4 degrees) argument 1917 HN_FUNC_HN(degrees); variable [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | Parameters.h | 329 static int degToTransform(int degrees, bool mirror);
|
H A D | Parameters.cpp | 2622 int Parameters::degToTransform(int degrees, bool mirror) { argument 2624 if (degrees == 0) return 0; 2625 else if (degrees == 90) return HAL_TRANSFORM_ROT_90; 2626 else if (degrees == 180) return HAL_TRANSFORM_ROT_180; 2627 else if (degrees == 270) return HAL_TRANSFORM_ROT_270; 2629 if (degrees == 0) { // FLIP_H and ROT_0 2631 } else if (degrees == 90) { // FLIP_H and ROT_90 2633 } else if (degrees == 180) { // FLIP_H and ROT_180 2635 } else if (degrees == 270) { // FLIP_H and ROT_270 2639 ALOGE("%s: Bad input: %d", __FUNCTION__, degrees); [all...] |
/frameworks/base/core/jni/ |
H A D | android_graphics_Canvas.cpp | 144 static void rotate(JNIEnv*, jobject, jlong canvasHandle, jfloat degrees) { argument 145 get_canvas(canvasHandle)->rotate(degrees);
|
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/libs/ |
H A D | picasso-2.5.2.jar | META-INF/ META-INF/MANIFEST.MF com/ com/squareup/ com/squareup/picasso/ com/squareup/picasso/Action ... |
/frameworks/support/samples/SupportLeanbackShowcase/libs/ |
H A D | picasso-2.5.2.jar | META-INF/ META-INF/MANIFEST.MF com/ com/squareup/ com/squareup/picasso/ com/squareup/picasso/Action ... |