/frameworks/base/services/core/java/com/android/server/ |
AnyMotionDetector.java | 91 /** Threshold angle in degrees beyond which the device is considered moving. */ 395 float degrees = Math.abs((float)Math.toDegrees( local 398 ", other = " + other.toString() + ", degrees = " + degrees); 399 return degrees;
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
RadialSelectorView.java | 90 * @param selectionDegrees The initial degrees to be selected. 159 * @param selectionDegrees The degrees to be selected. 163 * drawn. If false, the dot will be drawn only when the degrees is not a multiple of 30, i.e. 254 int degrees = (int) (radians * 180 / Math.PI); local 260 degrees = 90 - degrees; 262 degrees = 90 + degrees; 264 degrees = 270 - degrees; [all...] |
RadialPickerLayout.java | 127 // Prepare mapping to snap touchable degrees to selectable degrees. 323 * Split up the 360 degrees of the circle among the 60 selectable values. Assigns a larger 326 * E.g. the output of 30 degrees should have a higher range of input associated with it than 327 * the output of 24 degrees, because 30 degrees corresponds to a visible number on the clock 332 // output will correspond to a range of 14 associated input degrees, and each non-visible 333 // output will correspond to a range of 4 associate input degrees, so visible numbers 337 // If an output of 30 degrees should correspond to a range of 14 associated degrees, the 568 int degrees; local 802 int degrees = value * stepSize; local [all...] |
/hardware/interfaces/camera/common/1.0/default/ |
Exif.cpp | 143 // sets the latitude with degrees minutes seconds format. 147 // sets the longitude with degrees minutes seconds format. 354 ExifLong degrees = static_cast<ExifLong>(num); local 355 ExifLong minutes = static_cast<ExifLong>(60 * (num - degrees)); 357 static_cast<ExifLong>(3600000000u * (num - degrees - minutes / 60.0)); 358 exif_set_rational(data, EXIF_BYTE_ORDER_INTEL, {degrees, 1}); [all...] |
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/ |
VideoChatTestActivity.java | 118 int degrees = 0; local 121 degrees = 0; 124 degrees = 90; 127 degrees = 180; 130 degrees = 270; 133 return degrees; 142 int degrees = getDisplayOrientation(); 143 new CameraTestRunner().execute(new Integer[] { degrees });
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
PhotoCaptureActivity.java | 552 int degrees = 0; local 554 case Surface.ROTATION_0: degrees = 0; break; 555 case Surface.ROTATION_90: degrees = 90; break; 556 case Surface.ROTATION_180: degrees = 180; break; 557 case Surface.ROTATION_270: degrees = 270; break; 561 mJpegOrientation = (info.orientation + degrees) % 360; 564 mJpegOrientation = (info.orientation - degrees + 360) % 360;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/ |
CameraOrientationActivity.java | 268 int degrees = mPreviewOrientations.get(mNextPreviewOrientation); local 269 mCamera.setDisplayOrientation(degrees); 498 int degrees = mPreviewOrientations.get(mNextPreviewOrientation); 506 degrees = (360 - degrees) % 360; // compensate the mirror 516 mat.postRotate(degrees);
|
/device/generic/goldfish/gps/ |
gps_qemu.c | 322 int degrees = (int)(floor(val) / 100); local 323 double minutes = val - degrees*100.; 324 double dcoord = degrees + minutes / 60.0;
|
/external/ImageMagick/MagickCore/ |
effect.c | 2252 degrees, local [all...] |
draw.c | 5350 degrees; local 5841 degrees, local [all...] |
xwindow-private.h | 117 degrees; member in struct:_XDrawInfo 173 degrees; member in struct:_XAnnotateInfo
|
/external/dng_sdk/source/ |
dng_xmp.cpp | 291 // Split into degrees and minutes. 350 int degrees = 0; local 357 °rees, 368 if (degrees < 0 || minutes < 0 || seconds < 0) 373 coord [0] = dng_urational ((uint32) degrees, 1); [all...] |
/frameworks/base/core/java/android/hardware/camera2/ |
DngCreator.java | 636 int degrees = (int) value; local 637 value = (value - degrees) * 60; 641 return new int[] { degrees, 1, minutes, 1, seconds, 100 };
|
/frameworks/base/location/java/android/location/ |
Location.java | 44 * in the form "[+-]DDD.DDDDD where D indicates degrees. 50 * in the form "[+-]DDD:MM.MMMMM" where D indicates degrees and 57 * in the form "DDD:MM:SS.SSSSS" where D indicates degrees, M 236 int degrees = (int) Math.floor(coordinate); local 237 sb.append(degrees); 239 coordinate -= degrees; 282 String degrees = st.nextToken(); local 285 val = Double.parseDouble(degrees); 290 int deg = Integer.parseInt(degrees); 307 // deg must be in [0, 179] except for the case of -180 degrees [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
IndicatorControlWheel.java | 398 double degrees = CLOSE_ICON_DEFAULT_DEGREES; local 403 mChildRadians[startIndex + i] = Math.toRadians(degrees); 404 degrees += sectorDegrees;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/ |
CameraFormatsActivity.java | 396 int degrees = 0; local 398 case Surface.ROTATION_0: degrees = 0; break; 399 case Surface.ROTATION_90: degrees = 90; break; 400 case Surface.ROTATION_180: degrees = 180; break; 401 case Surface.ROTATION_270: degrees = 270; break; 405 mPreviewRotation = (info.orientation + degrees) % 360; 408 mPreviewRotation = (info.orientation - degrees + 360) % 360;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/ |
CameraVideoActivity.java | 758 int degrees = 0; local 760 case Surface.ROTATION_0: degrees = 0; break; 761 case Surface.ROTATION_90: degrees = 90; break; 762 case Surface.ROTATION_180: degrees = 180; break; 763 case Surface.ROTATION_270: degrees = 270; break; 767 mVideoRotation = (info.orientation + degrees) % 360; 770 mVideoRotation = (info.orientation - degrees + 360) % 360; [all...] |
/external/ImageMagick/coders/ |
msl.c | 5691 double degrees = 0; local [all...] |
/external/pdfium/xfa/fxfa/parser/ |
cxfa_node.cpp | 1542 Optional<int32_t> degrees = local [all...] |
/external/python/cpython2/Lib/lib-tk/ |
turtle.py | 33 command turtle.right(25), and it rotates in-place 25 degrees clockwise. 128 'degrees', 'distance', 'dot', 'down', 'end_fill', 'end_poly', 'fd', 1480 def degrees(self, fullcircle=360.0): member in class:TNavigator [all...] |
/external/python/cpython3/Lib/ |
turtle.py | 33 command turtle.right(25), and it rotates in-place 25 degrees clockwise. 129 'degrees', 'distance', 'dot', 'down', 'end_fill', 'end_poly', 'fd', 1564 def degrees(self, fullcircle=360.0): member in class:TNavigator [all...] |
/frameworks/av/media/libmediaplayerservice/ |
StagefrightRecorder.cpp | 546 status_t StagefrightRecorder::setParamVideoRotation(int32_t degrees) { 547 ALOGV("setParamVideoRotation: %d", degrees); 548 if (degrees < 0 || degrees % 90 != 0) { 549 ALOGE("Unsupported video rotation angle: %d", degrees); 552 mRotationDegrees = degrees % 360; 819 } else if (key == "video-param-rotation-angle-degrees") { 820 int32_t degrees; local 821 if (safe_strtoi32(value.string(), °rees)) { 822 return setParamVideoRotation(degrees); [all...] |
/frameworks/rs/driver/runtime/ |
rs_cl.c | 942 extern float __attribute__((overloadable)) degrees(float radians) { function 945 extern float2 __attribute__((overloadable)) degrees(float2 radians) { function 948 extern float3 __attribute__((overloadable)) degrees(float3 radians) { function 951 extern float4 __attribute__((overloadable)) degrees(float4 radians) { function 1920 HN_FUNC_HN(degrees); variable [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
OneCameraZslImpl.java | 613 int degrees = CameraUtil.getJpegRotation(captureParams.orientation, mCharacteristics); local 619 degrees); 640 acquireJpegBytes(image, degrees), [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
CameraManager.java | 670 int degrees = 0; local 672 case Surface.ROTATION_0: degrees = 0; break; 673 case Surface.ROTATION_90: degrees = 90; break; 674 case Surface.ROTATION_180: degrees = 180; break; 675 case Surface.ROTATION_270: degrees = 270; break; 685 orientation = (mCameraInfo.orientation + degrees) % 360; 690 orientation = (mCameraInfo.orientation - degrees + 360) % 360; [all...] |