/external/chromium_org/ash/rotator/ |
H A D | screen_rotation.cc | 21 base::TimeDelta GetTransitionDuration(int degrees) { argument 22 if (degrees == 360) 24 if (degrees == 180) 26 if (degrees == 0) 33 ScreenRotation::ScreenRotation(int degrees, ui::Layer* layer) argument 35 GetTransitionDuration(degrees)), 36 degrees_(degrees) {
|
/external/chromium_org/content/renderer/compositor_bindings/ |
H A D | web_transform_operations_impl.cc | 35 double degrees) { 36 transform_operations_.AppendRotate(x, y, z, degrees); 32 appendRotate(double x, double y, double z, double degrees) argument
|
/external/chromium_org/third_party/skia/gm/ |
H A D | deviceproperties.cpp | 32 SkScalar degrees, 35 canvas->rotate(degrees); 31 rotate_about(SkCanvas* canvas, SkScalar degrees, SkScalar px, SkScalar py) argument
|
H A D | fontscaler.cpp | 35 SkScalar degrees, 38 canvas->rotate(degrees); 34 rotate_about(SkCanvas* canvas, SkScalar degrees, SkScalar px, SkScalar py) argument
|
/external/chromium_org/third_party/skia/samplecode/ |
H A D | SampleFontScalerTest.cpp | 67 static void rotate_about(SkCanvas* canvas, SkScalar degrees, SkScalar px, SkScalar py) { argument 69 canvas->rotate(degrees);
|
H A D | SampleBitmapRect.cpp | 50 static SkPoint unit_vec(int degrees) { argument 51 SkScalar rad = SkDegreesToRadians(SkIntToScalar(degrees));
|
/external/chromium_org/third_party/skia/src/animator/ |
H A D | SkDrawMatrix.h | 45 void rotate(SkScalar degrees, SkPoint& center) { argument 46 fMatrix.preRotate(degrees, center.fX, center.fY);
|
H A D | SkMatrixParts.h | 43 SkScalar degrees; member in class:SkRotate
|
/external/chromium_org/ui/gfx/ |
H A D | interpolated_transform_unittest.cc | 107 ui::InterpolatedTransform* GetScreenRotation(int degrees, bool reversed) { argument 114 switch (degrees) { 130 new ui::InterpolatedRotation(reversed ? degrees : 0, 131 reversed ? 0 : degrees))); 160 for (int degrees = -360; degrees <= 360; degrees += 90) { 163 GetScreenRotation(degrees, reversed));
|
H A D | transform.h | 79 void Rotate(double degrees) { RotateAboutZAxis(degrees); } argument 83 void RotateAboutXAxis(double degrees); 84 void RotateAboutYAxis(double degrees); 85 void RotateAboutZAxis(double degrees); 86 void RotateAbout(const Vector3dF& axis, double degrees);
|
/external/skia/gm/ |
H A D | deviceproperties.cpp | 32 SkScalar degrees, 35 canvas->rotate(degrees); 31 rotate_about(SkCanvas* canvas, SkScalar degrees, SkScalar px, SkScalar py) argument
|
H A D | fontscaler.cpp | 35 SkScalar degrees, 38 canvas->rotate(degrees); 34 rotate_about(SkCanvas* canvas, SkScalar degrees, SkScalar px, SkScalar py) argument
|
/external/skia/samplecode/ |
H A D | SampleFontScalerTest.cpp | 67 static void rotate_about(SkCanvas* canvas, SkScalar degrees, SkScalar px, SkScalar py) { argument 69 canvas->rotate(degrees);
|
H A D | SampleBitmapRect.cpp | 50 static SkPoint unit_vec(int degrees) { argument 51 SkScalar rad = SkDegreesToRadians(SkIntToScalar(degrees));
|
/external/skia/src/animator/ |
H A D | SkDrawMatrix.h | 45 void rotate(SkScalar degrees, SkPoint& center) { argument 46 fMatrix.preRotate(degrees, center.fX, center.fY);
|
H A D | SkMatrixParts.h | 43 SkScalar degrees; member in class:SkRotate
|
/external/chromium_org/ash/wm/maximize_mode/ |
H A D | maximize_mode_controller_unittest.cc | 84 // Test accelerometer data taken with the lid at less than 180 degrees while 91 // Test accelerometer data taken with the lid open 360 degrees while 161 // Lid open 90 degrees. 169 // Open up 270 degrees. 173 // Open up 360 degrees and appearing to be slightly past it (i.e. as if almost 182 // Open 90 degrees. 190 // Laptop in normal orientation lid open 90 degrees. 200 // Close to vertical but with hinge appearing to be open 270 degrees. 205 // Flat and open 270 degrees should start maximize mode. 279 float degrees local 532 float degrees = 90.0; local [all...] |
/external/arduino/hardware/arduino/cores/arduino/ |
H A D | wiring.h | 83 #define degrees(rad) ((rad)*RAD_TO_DEG) macro
|
/external/chromium_org/cc/animation/ |
H A D | transform_operations.cc | 219 SkMScalar degrees) { 221 to_add.matrix.RotateAbout(gfx::Vector3dF(x, y, z), degrees); local 226 to_add.rotate.angle = degrees; 216 AppendRotate(SkMScalar x, SkMScalar y, SkMScalar z, SkMScalar degrees) argument
|
/external/chromium_org/chrome/browser/extensions/api/system_display/ |
H A D | display_info_provider_chromeos.cc | 32 // Checks if the given integer value is valid display rotation in degrees. 37 // Converts integer integer value in degrees to Rotation enum value. 38 gfx::Display::Rotation DegreesToRotation(int degrees) { argument 39 DCHECK(IsValidRotationValue(degrees)); 40 switch (degrees) {
|
/external/chromium_org/third_party/skia/src/effects/ |
H A D | SkColorMatrix.cpp | 33 void SkColorMatrix::setRotate(Axis axis, SkScalar degrees) { argument 36 S = SkScalarSinCos(SkDegreesToRadians(degrees), &C); 58 void SkColorMatrix::preRotate(Axis axis, SkScalar degrees) { argument 60 tmp.setRotate(axis, degrees); 64 void SkColorMatrix::postRotate(Axis axis, SkScalar degrees) { argument 66 tmp.setRotate(axis, degrees);
|
/external/chromium_org/third_party/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/ |
H A D | VideoCaptureAndroid.java | 76 @Override public void onOrientationChanged(int degrees) { 77 if (degrees == OrientationEventListener.ORIENTATION_UNKNOWN) { 81 degrees = (info.orientation - degrees + 360) % 360; 83 degrees = (info.orientation + degrees) % 360; 85 self.OnOrientationChanged(self.native_capturer, degrees); 94 private native void OnOrientationChanged(long captureObject, int degrees); argument
|
/external/chromium_org/third_party/webrtc/modules/video_capture/android/ |
H A D | video_capture_android.cc | 51 JNIEnv* env, jobject, jlong context, jint degrees) { 55 degrees = (360 + degrees) % 360; 56 assert(degrees >= 0 && degrees < 360); 58 (degrees <= 45 || degrees > 315) ? kCameraRotate0 : 59 (degrees > 45 && degrees <= 135) ? kCameraRotate90 : 60 (degrees > 13 50 OnOrientationChanged( JNIEnv* env, jobject, jlong context, jint degrees) argument [all...] |
/external/chromium_org/third_party/webrtc/modules/video_capture/ |
H A D | video_capture_impl.cc | 45 int32_t VideoCaptureImpl::RotationFromDegrees(int degrees, argument 47 switch (degrees) { 67 int* degrees) { 70 *degrees = 0; 73 *degrees = 90; 76 *degrees = 180; 79 *degrees = 270; 66 RotationInDegrees(VideoCaptureRotation rotation, int* degrees) argument
|
/external/skia/src/effects/ |
H A D | SkColorMatrix.cpp | 33 void SkColorMatrix::setRotate(Axis axis, SkScalar degrees) { argument 36 S = SkScalarSinCos(SkDegreesToRadians(degrees), &C); 58 void SkColorMatrix::preRotate(Axis axis, SkScalar degrees) { argument 60 tmp.setRotate(axis, degrees); 64 void SkColorMatrix::postRotate(Axis axis, SkScalar degrees) { argument 66 tmp.setRotate(axis, degrees);
|