/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/camera/ |
CameraPreview.java | 115 int degrees = 0; local 119 degrees = 0; 122 degrees = 90; 125 degrees = 180; 128 degrees = 270; 134 result = (info.orientation + degrees) % 360; 137 result = (info.orientation - degrees + 360) % 360;
|
/development/samples/browseable/RuntimePermissionsBasic/src/com.example.android.basicpermissions/camera/ |
CameraPreview.java | 115 int degrees = 0; local 119 degrees = 0; 122 degrees = 90; 125 degrees = 180; 128 degrees = 270; 134 result = (info.orientation + degrees) % 360; 137 result = (info.orientation - degrees + 360) % 360;
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
GetBitmapSurfaceViewActivity.java | 101 int degrees = 0; local 104 degrees = 0; 107 degrees = 90; 110 degrees = 180; 113 degrees = 270; 119 result = (info.orientation + degrees) % 360; 122 result = (info.orientation - degrees + 360) % 360;
|
TextureViewActivity.java | 126 int degrees = 0; local 130 degrees = 0; 133 degrees = 90; 136 degrees = 180; 139 degrees = 270; 143 return (info.orientation - degrees + 360) % 360;
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/ |
TDistributionImpl.java | 47 /** The degrees of freedom*/ 54 * Create a t distribution using the given degrees of freedom and the 57 * @param degreesOfFreedom the degrees of freedom. 69 * Create a t distribution using the given degrees of freedom. 70 * @param degreesOfFreedom the degrees of freedom. 77 * Modify the degrees of freedom. 78 * @param degreesOfFreedom the new degrees of freedom. 87 * Modify the degrees of freedom. 88 * @param newDegreesOfFreedom the new degrees of freedom. 100 * Access the degrees of freedom [all...] |
/packages/apps/Camera2/src/com/android/camera/util/ |
JpegUtilNative.java | 62 * 90-degrees are suppored, so the parameter 'rot90' specifies which 116 * @param rot90 the multiple of 90 degrees to rotate counterclockwise, one 185 * @param degrees the amount to rotate the image clockwise, in degrees. 189 int degrees) { 191 img.getHeight()), degrees); 203 * @param degrees The number of degrees to rotate the image *after* 211 Rect crop, int degrees) { 212 Preconditions.checkState((degrees % 90) == 0, "Rotation must be a multiple of 90 degrees," [all...] |
/hardware/bsp/intel/peripheral/libupm/examples/python/ |
es08a.py | 30 # Set the servo arm to 0 degrees 35 # Set the servo arm to 90 degrees 40 # Set the servo arm to 180 degrees
|
/external/chromium-trace/catapult/telemetry/third_party/WebKit/ |
README.chromium | 13 custom standard deviation & degrees of freedom (see
|
/external/libyuv/files/include/libyuv/ |
rotate.h | 24 kRotate90 = 90, // Rotate 90 degrees clockwise. 25 kRotate180 = 180, // Rotate 180 degrees. 26 kRotate270 = 270, // Rotate 270 degrees clockwise. 93 // order will result in a rotation by +- 90 degrees.
|
/frameworks/base/core/java/android/widget/ |
RadialTimePickerView.java | 94 // Prepare mapping to snap touchable degrees to selectable degrees. 193 * Split up the 360 degrees of the circle among the 60 selectable values. Assigns a larger 196 * E.g. the output of 30 degrees should have a higher range of input associated with it than 197 * the output of 24 degrees, because 30 degrees corresponds to a visible number on the clock 202 // output will correspond to a range of 14 associated input degrees, and each non-visible 203 // output will correspond to a range of 4 associate input degrees, so visible numbers 207 // If an output of 30 degrees should correspond to a range of 14 associated degrees, the 469 final int degrees = (hour % 12) * DEGREES_FOR_ONE_HOUR; local 916 final int degrees = (int) (Math.toDegrees(Math.atan2(dY, dX) + Math.PI \/ 2) + 0.5); local 972 final int degrees = getDegreesFromXY(x, y, false); local 1113 final int degrees = getDegreesFromXY(x, y, true); local 1279 final float degrees; local [all...] |
/frameworks/base/location/java/android/location/ |
GpsSatellite.java | 79 * Returns the elevation of the satellite in degrees. 82 * @return the elevation in degrees 89 * Returns the azimuth of the satellite in degrees. 92 * @return the azimuth in degrees
|
/external/skia/src/animator/ |
SkDrawMatrix.h | 45 void rotate(SkScalar degrees, SkPoint& center) { 46 fMatrix.preRotate(degrees, center.fX, center.fY);
|
/frameworks/base/graphics/java/android/graphics/ |
Matrix.java | 69 public void setRotate(float degrees, float px, float py) { 74 public void setRotate(float degrees) { 123 public boolean preRotate(float degrees, float px, float py) { 129 public boolean preRotate(float degrees) { 171 public boolean postRotate(float degrees, float px, float py) { 177 public boolean postRotate(float degrees) { 260 * degrees. 321 * Set the matrix to rotate by the specified number of degrees, with a pivot 325 public void setRotate(float degrees, float px, float py) { 326 native_setRotate(native_instance, degrees, px, py) [all...] |
/frameworks/av/media/libstagefright/ |
MediaMuxer.cpp | 89 status_t MediaMuxer::setOrientationHint(int degrees) { 96 if (degrees != 0 && degrees != 90 && degrees != 180 && degrees != 270) { 97 ALOGE("setOrientationHint() get invalid degrees"); 101 mFileMeta->setInt32(kKeyRotation, degrees);
|
/frameworks/base/tools/orientationplot/ |
README.txt | 46 it 90 degrees to a different orientation. Compared the rapid changes in the 52 it 90 degrees. Note that the confidence intervals will all drop to 0 at some 58 over end to a midpoint about 45 degrees between two opposing orientations. 67 angle (say, 45 degrees) is between the current orientation's ideal angle 68 (say, 0 degrees) and an adjacent orientation's ideal angle (say, 90 degrees). 77 degrees (refer to MAX_TILT constant). Consequently, you should expect there
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
CameraDeviceInfo.java | 73 * for the sensor to be right side up (in degrees, always a 81 * from to the device's natural orientation (in degrees, always 87 * mirroring, if applicable (in degrees, always a multiple of 98 * from to the device's natural orientation (in degrees, always 103 * in the matching orientation (in degrees, always a multiple 146 * from to the device's natural orientation (in degrees, always 165 * from to the device's natural orientation (in degrees, always
|
/external/vulkan-validation-layers/libs/glm/gtx/ |
rotate_vector.inl | 24 # pragma message("GLM: rotate function taking degrees as parameters is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.") 79 # pragma message("GLM: rotateX function taking degrees as parameters is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.") 102 # pragma message("GLM: rotateY function taking degrees as parameters is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.") 125 # pragma message("GLM: rotateZ function taking degrees as parameters is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.") 148 # pragma message("GLM: rotateX function taking degrees as parameters is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.") 171 # pragma message("GLM: rotateX function taking degrees as parameters is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.") 194 # pragma message("GLM: rotateZ function taking degrees as parameters is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.") 218 # pragma message("GLM: rotateZ function taking degrees as parameters is deprecated. #define GLM_FORCE_RADIANS before including GLM headers to remove this message.") 219 T Angle = degrees(acos(dot(Normal, Up)));
|
/hardware/bsp/intel/peripheral/libupm/examples/javascript/ |
es08a.js | 55 // start immediately, run every 3 seconds, go 0 degrees 58 // start in 1 second, run every 3 seconds, go 90 degrees 61 // start in 2 seconds, run every 3 seconds, go 180 degrees
|
/development/ndk/platforms/android-21/include/media/ |
NdkMediaMuxer.h | 66 * Both values are specified in degrees. 81 * The angle is specified in degrees, clockwise. 82 * The supported angles are 0, 90, 180, and 270 degrees. 84 media_status_t AMediaMuxer_setOrientationHint(AMediaMuxer*, int degrees);
|
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/ |
rotate.h | 24 kRotate90 = 90, // Rotate 90 degrees clockwise. 25 kRotate180 = 180, // Rotate 180 degrees. 26 kRotate270 = 270, // Rotate 270 degrees clockwise. 99 // order will result in a rotation by +- 90 degrees.
|
/frameworks/av/include/ndk/ |
NdkMediaMuxer.h | 66 * Both values are specified in degrees. 81 * The angle is specified in degrees, clockwise. 82 * The supported angles are 0, 90, 180, and 270 degrees. 84 media_status_t AMediaMuxer_setOrientationHint(AMediaMuxer*, int degrees);
|
/frameworks/native/opengl/tests/testViewport/ |
README | 14 Rotate screen 90 degrees.
|
/prebuilts/ndk/current/platforms/android-21/arch-arm/usr/include/media/ |
NdkMediaMuxer.h | 66 * Both values are specified in degrees. 81 * The angle is specified in degrees, clockwise. 82 * The supported angles are 0, 90, 180, and 270 degrees. 84 media_status_t AMediaMuxer_setOrientationHint(AMediaMuxer*, int degrees);
|
/prebuilts/ndk/current/platforms/android-21/arch-arm64/usr/include/media/ |
NdkMediaMuxer.h | 66 * Both values are specified in degrees. 81 * The angle is specified in degrees, clockwise. 82 * The supported angles are 0, 90, 180, and 270 degrees. 84 media_status_t AMediaMuxer_setOrientationHint(AMediaMuxer*, int degrees);
|
/prebuilts/ndk/current/platforms/android-21/arch-mips/usr/include/media/ |
NdkMediaMuxer.h | 66 * Both values are specified in degrees. 81 * The angle is specified in degrees, clockwise. 82 * The supported angles are 0, 90, 180, and 270 degrees. 84 media_status_t AMediaMuxer_setOrientationHint(AMediaMuxer*, int degrees);
|