/frameworks/base/core/java/android/hardware/camera2/ |
H A D | DngCreator.java | 615 int degrees = (int) value; 616 value = (value - degrees) * 60; 620 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 | 88 /** Threshold angle in degrees beyond which the device is considered moving. */ 342 float degrees = Math.abs((float)Math.toDegrees( 345 ", other = " + other.toString() + ", degrees = " + degrees); 346 return degrees;
|
/frameworks/av/include/media/stagefright/ |
H A D | MPEG4Writer.h | 196 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 | 199 void RecordingCanvas::rotate(float degrees) { argument 200 if (degrees == 0) return; 202 mState.rotate(degrees);
|
H A D | SkiaCanvas.cpp | 98 virtual void rotate(float degrees) override; 437 void SkiaCanvas::rotate(float degrees) { argument 438 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;
|
H A D | OpenGLRenderer.h | 304 void rotate(float degrees);
|
/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 | 407 status_t StagefrightRecorder::setParamVideoRotation(int32_t degrees) { argument 408 ALOGV("setParamVideoRotation: %d", degrees); 409 if (degrees < 0 || degrees % 90 != 0) { 410 ALOGE("Unsupported video rotation angle: %d", degrees); 413 mRotationDegrees = degrees % 360; 685 } else if (key == "video-param-rotation-angle-degrees") { 686 int32_t degrees; local 687 if (safe_strtoi32(value.string(), °rees)) { 688 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 | 1571 status_t Camera2Client::commandSetDisplayOrientationL(int degrees) { argument 1572 int transform = Parameters::degToTransform(degrees, 1576 __FUNCTION__, mCameraId, degrees);
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | Parameters.h | 321 static int degToTransform(int degrees, bool mirror);
|
H A D | Parameters.cpp | 2575 int Parameters::degToTransform(int degrees, bool mirror) { argument 2577 if (degrees == 0) return 0; 2578 else if (degrees == 90) return HAL_TRANSFORM_ROT_90; 2579 else if (degrees == 180) return HAL_TRANSFORM_ROT_180; 2580 else if (degrees == 270) return HAL_TRANSFORM_ROT_270; 2582 if (degrees == 0) { // FLIP_H and ROT_0 2584 } else if (degrees == 90) { // FLIP_H and ROT_90 2586 } else if (degrees == 180) { // FLIP_H and ROT_180 2588 } else if (degrees == 270) { // FLIP_H and ROT_270 2592 ALOGE("%s: Bad input: %d", __FUNCTION__, degrees); [all...] |
/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 | 527 * @return the current display rotation in degrees 550 float degrees = getDegreesForRotation(mDisplay.getRotation()); 551 boolean requiresRotation = (degrees > 0); 555 mDisplayMatrix.preRotate(-degrees); 576 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/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/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Canvas_Delegate.java | 293 public static void native_rotate(long nativeCanvas, float degrees) { argument 300 canvasDelegate.getSnapshot().rotate(Math.toRadians(degrees));
|