/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/ |
WeatherDataProvider.java | 40 int degrees; field in class:WeatherDataPoint 44 degrees = deg; 98 c.addRow(new Object[]{ new Integer(i), data.day, new Integer(data.degrees) }); 132 data.degrees = values.getAsInteger(Columns.TEMPERATURE);
|
/external/skia/legacy/src/animator/ |
SkMatrixParts.h | 43 SkScalar degrees; member in class:SkRotate
|
/external/skia/src/animator/ |
SkMatrixParts.h | 43 SkScalar degrees; member in class:SkRotate
|
/frameworks/base/core/java/android/view/animation/ |
RotateAnimation.java | 167 float degrees = mFromDegrees + ((mToDegrees - mFromDegrees) * interpolatedTime); local 171 t.getMatrix().setRotate(degrees); 173 t.getMatrix().setRotate(degrees, mPivotX * scale, mPivotY * scale);
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
Rotate3dAnimation.java | 39 * start angle and its end angle. Both angles are in degrees. The rotation 71 float degrees = fromDegrees + ((mToDegrees - fromDegrees) * interpolatedTime); local 85 camera.rotateY(degrees);
|
/frameworks/base/core/java/android/util/ |
MathUtils.java | 119 public static float radians(float degrees) { 120 return degrees * DEG_TO_RAD; 123 public static float degrees(float radians) { method in class:MathUtils
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
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/arduino/hardware/arduino/cores/arduino/ |
wiring.h | 83 #define degrees(rad) ((rad)*RAD_TO_DEG) macro
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
Paper.java | 81 float degrees = local 85 Matrix.rotateM(mMatrix, 0, degrees, 0, 1, 0);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
DetermineFovActivity.java | 133 float degrees = mFovMinDegrees + (float) progress / SEEKBAR_MAX_VALUE local 136 return (int) (degrees * 100) / 100.0f; 221 canvas.drawText(mMeasuredText + " " + mFovDegrees + " degrees.", textSize, 223 canvas.drawText(mReportedText + " " + mReportedFovDegrees + " degrees.",
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
VideoUtils.java | 178 int degrees = Integer.parseInt(degreesString); local 179 if (degrees >= 0) { 180 muxer.setOrientationHint(degrees);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/util/ |
ImageUtils.java | 138 // Degrees by which we rotate the image. 139 int degrees = 0; local 142 degrees = 90; 147 degrees = 180; 152 degrees = 270; 156 rotateAndScaleImage(inputFilename, degrees, outputFile); 157 return degrees != 0;
|
/frameworks/av/libvideoeditor/vss/common/inc/ |
M4Common_types.h | 161 M4OSA_Float degrees; member in struct:__anon18806
|
/frameworks/base/media/java/android/media/ |
ExifInterface.java | 383 double degrees = Double.parseDouble(pair[0].trim()) local 394 double result = degrees + (minutes / 60.0) + (seconds / 3600.0);
|
/frameworks/compile/libbcc/lib/Renderscript/runtime/ |
rs_cl.c | 772 extern float __attribute__((overloadable)) degrees(float radians) { function 775 extern float2 __attribute__((overloadable)) degrees(float2 radians) { function 778 extern float3 __attribute__((overloadable)) degrees(float3 radians) { function 781 extern float4 __attribute__((overloadable)) degrees(float4 radians) { function 807 extern float __attribute__((overloadable)) radians(float degrees) { 808 return degrees * (M_PI / 180.f); 810 extern float2 __attribute__((overloadable)) radians(float2 degrees) { 811 return degrees * (M_PI / 180.f); 813 extern float3 __attribute__((overloadable)) radians(float3 degrees) { 814 return degrees * (M_PI / 180.f) [all...] |
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
RadialSelectorView.java | 82 * @param selectionDegrees The initial degrees to be selected. 137 * @param selectionDegrees The degrees to be selected. 141 * drawn. If false, the dot will be drawn only when the degrees is not a multiple of 30, i.e. 232 int degrees = (int) (radians * 180 / Math.PI); local 238 degrees = 90 - degrees; 240 degrees = 90 + degrees; 242 degrees = 270 - degrees; [all...] |
RadialPickerLayout.java | 125 // Prepare mapping to snap touchable degrees to selectable degrees. 312 * Split up the 360 degrees of the circle among the 60 selectable values. Assigns a larger 315 * E.g. the output of 30 degrees should have a higher range of input associated with it than 316 * the output of 24 degrees, because 30 degrees corresponds to a visible number on the clock 321 // output will correspond to a range of 14 associated input degrees, and each non-visible 322 // output will correspond to a range of 4 associate input degrees, so visible numbers 326 // If an output of 30 degrees should correspond to a range of 14 associated degrees, the 557 int degrees; local 808 int degrees = value * stepSize; local [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/formats/ |
CameraFormatsActivity.java | 344 int degrees = 0; local 346 case Surface.ROTATION_0: degrees = 0; break; 347 case Surface.ROTATION_90: degrees = 90; break; 348 case Surface.ROTATION_180: degrees = 180; break; 349 case Surface.ROTATION_270: degrees = 270; break; 353 mPreviewRotation = (info.orientation + degrees) % 360; 356 mPreviewRotation = (info.orientation - degrees + 360) % 360;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/ |
CameraOrientationActivity.java | 267 int degrees = mPreviewOrientations.get(mNextPreviewOrientation); local 268 mCamera.setDisplayOrientation(degrees); 489 int degrees = mPreviewOrientations.get(mNextPreviewOrientation); 497 degrees = (360 - degrees) % 360; // compensate the mirror 507 mat.postRotate(degrees);
|
/device/generic/goldfish/gps/ |
gps_qemu.c | 318 int degrees = (int)(floor(val) / 100); local 319 double minutes = val - degrees*100.; 320 double dcoord = degrees + minutes / 60.0;
|
/frameworks/base/location/java/android/location/ |
Location.java | 43 * in the form "[+-]DDD.DDDDD where D indicates degrees. 49 * in the form "[+-]DDD:MM.MMMMM" where D indicates degrees and 56 * in the form "DDD:MM:SS.SSSSS" where D indicates degrees, M 199 int degrees = (int) Math.floor(coordinate); local 200 sb.append(degrees); 202 coordinate -= degrees; 243 String degrees = st.nextToken(); local 246 val = Double.parseDouble(degrees); 251 int deg = Integer.parseInt(degrees); 266 // deg must be in [0, 179] except for the case of -180 degrees [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
GlobalScreenshot.java | 415 * @return the current display rotation in degrees 437 float degrees = getDegreesForRotation(mDisplay.getRotation()); local 438 boolean requiresRotation = (degrees > 0); 442 mDisplayMatrix.preRotate(-degrees); 462 c.rotate(degrees);
|
/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;
|
/frameworks/av/media/libmediaplayerservice/ |
StagefrightRecorder.cpp | 372 status_t StagefrightRecorder::setParamVideoRotation(int32_t degrees) { 373 ALOGV("setParamVideoRotation: %d", degrees); 374 if (degrees < 0 || degrees % 90 != 0) { 375 ALOGE("Unsupported video rotation angle: %d", degrees); 378 mRotationDegrees = degrees % 360; 646 } else if (key == "video-param-rotation-angle-degrees") { 647 int32_t degrees; local 648 if (safe_strtoi32(value.string(), °rees)) { 649 return setParamVideoRotation(degrees); [all...] |