/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
D | Matrix3f.java | 116 public void loadRotate(float rot, float x, float y, float z) { in loadRotate() argument 118 rot *= (float)(java.lang.Math.PI / 180.0f); in loadRotate() 119 c = (float)java.lang.Math.cos(rot); in loadRotate() 120 s = (float)java.lang.Math.sin(rot); in loadRotate() 152 public void loadRotate(float rot) { in loadRotate() argument 155 rot *= (float)(java.lang.Math.PI / 180.0f); in loadRotate() 156 c = (float)java.lang.Math.cos(rot); in loadRotate() 157 s = (float)java.lang.Math.sin(rot); in loadRotate() 247 public void rotate(float rot, float x, float y, float z) { in rotate() argument 249 tmp.loadRotate(rot, x, y, z); in rotate() [all …]
|
D | Matrix2f.java | 106 public void loadRotate(float rot) { in loadRotate() argument 108 rot *= (float)(java.lang.Math.PI / 180.0f); in loadRotate() 109 c = (float)java.lang.Math.cos(rot); in loadRotate() 110 s = (float)java.lang.Math.sin(rot); in loadRotate() 166 public void rotate(float rot) { in rotate() argument 168 tmp.loadRotate(rot); in rotate()
|
D | Matrix4f.java | 152 public void loadRotate(float rot, float x, float y, float z) { in loadRotate() argument 161 rot *= (float)(java.lang.Math.PI / 180.0f); in loadRotate() 162 c = (float)java.lang.Math.cos(rot); in loadRotate() 163 s = (float)java.lang.Math.sin(rot); in loadRotate() 371 public void rotate(float rot, float x, float y, float z) { in rotate() argument 373 tmp.loadRotate(rot, x, y, z); in rotate()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Matrix3f.java | 113 public void loadRotate(float rot, float x, float y, float z) { in loadRotate() argument 115 rot *= (float)(java.lang.Math.PI / 180.0f); in loadRotate() 116 c = (float)java.lang.Math.cos(rot); in loadRotate() 117 s = (float)java.lang.Math.sin(rot); in loadRotate() 149 public void loadRotate(float rot) { in loadRotate() argument 152 rot *= (float)(java.lang.Math.PI / 180.0f); in loadRotate() 153 c = (float)java.lang.Math.cos(rot); in loadRotate() 154 s = (float)java.lang.Math.sin(rot); in loadRotate() 244 public void rotate(float rot, float x, float y, float z) { in rotate() argument 246 tmp.loadRotate(rot, x, y, z); in rotate() [all …]
|
D | Matrix2f.java | 103 public void loadRotate(float rot) { in loadRotate() argument 105 rot *= (float)(java.lang.Math.PI / 180.0f); in loadRotate() 106 c = (float)java.lang.Math.cos(rot); in loadRotate() 107 s = (float)java.lang.Math.sin(rot); in loadRotate() 163 public void rotate(float rot) { in rotate() argument 165 tmp.loadRotate(rot); in rotate()
|
D | Matrix4f.java | 151 public void loadRotate(float rot, float x, float y, float z) { in loadRotate() argument 160 rot *= (float)(java.lang.Math.PI / 180.0f); in loadRotate() 161 c = (float)java.lang.Math.cos(rot); in loadRotate() 162 s = (float)java.lang.Math.sin(rot); in loadRotate() 370 public void rotate(float rot, float x, float y, float z) { in rotate() argument 372 tmp.loadRotate(rot, x, y, z); in rotate()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuRuntimeMath.cpp | 55 static void SC_MatrixLoadRotate(Matrix4x4 *m, float rot, float x, float y, float z) { in SC_MatrixLoadRotate() argument 56 m->loadRotate(rot, x, y, z); in SC_MatrixLoadRotate() 64 static void SC_MatrixRotate(Matrix4x4 *m, float rot, float x, float y, float z) { in SC_MatrixRotate() argument 65 m->rotate(rot, x, y, z); in SC_MatrixRotate() 154 float rot, float x, float y, float z) { in EXPORT_F32_FN_F32() 155 SC_MatrixLoadRotate((Matrix4x4 *) m, rot, x, y, z); in EXPORT_F32_FN_F32() 165 void __attribute__((overloadable)) rsMatrixRotate(rs_matrix4x4 *m, float rot, in rsMatrixRotate() argument 167 SC_MatrixRotate((Matrix4x4 *) m, rot, x, y, z); in rsMatrixRotate()
|
/frameworks/rs/ |
D | rsMatrix4x4.h | 42 void loadRotate(float rot, float x, float y, float z); 64 void rotate(float rot, float x, float y, float z) { in rotate() 66 tmp.loadRotate(rot, x, y, z); in rotate()
|
D | rsMatrix4x4.cpp | 200 void Matrix4x4::loadRotate(float rot, float x, float y, float z) { in loadRotate() argument 209 rot *= float(M_PI / 180.0f); in loadRotate() 210 c = cosf(rot); in loadRotate() 211 s = sinf(rot); in loadRotate()
|
D | rsRuntime.h | 195 void rsrMatrixLoadRotate(rs_matrix4x4 *m, float rot, float x, float y, float z); 207 void rsrMatrixRotate(rs_matrix4x4 *m, float rot, float x, float y, float z);
|
/frameworks/rs/script_api/ |
D | rs_quaternion.spec | 103 arg: float rot, "Angle to rotate by, in radians." 111 rot *= (float)(M_PI / 180.0f) * 0.5f; 112 float c = cos(rot); 113 float s = sin(rot); 161 arg: float rot, "Angle to rotate by." 322 arg: float rot 355 arg: float rot
|
D | rs_matrix.spec | 344 arg: float rot, "How much rotation to do, in degrees." 514 arg: float rot, "How much rotation to do, in degrees."
|
/frameworks/rs/driver/runtime/ |
D | rs_quaternion.c | 57 rsQuaternionLoadRotateUnit(rs_quaternion* q, float rot, float x, float y, float z) { in rsQuaternionLoadRotateUnit() argument 58 rot *= (float)(M_PI / 180.0f) * 0.5f; in rsQuaternionLoadRotateUnit() 59 float c = cos(rot); in rsQuaternionLoadRotateUnit() 60 float s = sin(rot); in rsQuaternionLoadRotateUnit() 85 rsQuaternionLoadRotate(rs_quaternion* q, float rot, float x, float y, float z) { in rsQuaternionLoadRotate() argument 93 rsQuaternionLoadRotateUnit(q, rot, x, y, z); in rsQuaternionLoadRotate()
|
/frameworks/rs/script_api/include/ |
D | rs_quaternion.rsh | 123 * rot: Angle to rotate by, in radians. 130 rsQuaternionLoadRotateUnit(rs_quaternion* q, float rot, float x, float y, float z) { 131 rot *= (float)(M_PI / 180.0f) * 0.5f; 132 float c = cos(rot); 133 float s = sin(rot); 183 * rot: Angle to rotate by. 190 rsQuaternionLoadRotate(rs_quaternion* q, float rot, float x, float y, float z) { 198 rsQuaternionLoadRotateUnit(q, rot, x, y, z); 336 rsQuaternionLoadRotateUnit(rs_quaternion* q, float rot, float x, float y, float z); 351 rsQuaternionLoadRotate(rs_quaternion* q, float rot, float x, float y, float z);
|
D | rs_matrix.rsh | 376 * rot: How much rotation to do, in degrees. 382 rsMatrixLoadRotate(rs_matrix4x4* m, float rot, float x, float y, float z); 525 * rot: How much rotation to do, in degrees. 531 rsMatrixRotate(rs_matrix4x4* m, float rot, float x, float y, float z);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
D | ScreenPinningRequest.java | 207 int rot = context.getDisplay().getRotation(); in getRotation() local 209 if (rot == Surface.ROTATION_90) { in getRotation() 211 } else if (rot == Surface.ROTATION_270) { in getRotation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NavigationBarView.java | 588 final int rot = mDisplay.getRotation(); in updateCurrentView() local 592 mCurrentView = mRotatedViews[rot]; in updateCurrentView() 594 mNavigationInflaterView.setAlternativeOrder(rot == Surface.ROTATION_90); in updateCurrentView() 599 mCurrentRotation = rot; in updateCurrentView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | DessertCaseView.java | 422 final float rot = (float)irand(0, 4) * 90f; 437 ObjectAnimator.ofFloat(v, View.ROTATION, rot), 453 v.setRotation(rot);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayContent.java | 3076 int rot = mDisplay.getRotation(); in screenshotApplications() local 3078 if (rot == ROTATION_90 || rot == ROTATION_270) { in screenshotApplications() 3079 rot = (rot == ROTATION_90) ? ROTATION_270 : ROTATION_90; in screenshotApplications() 3084 convertCropForSurfaceFlinger(crop, rot, dw, dh); in screenshotApplications() 3111 inRotation, rot); in screenshotApplications() 3122 private static void convertCropForSurfaceFlinger(Rect crop, int rot, int dw, int dh) { in convertCropForSurfaceFlinger() argument 3123 if (rot == Surface.ROTATION_90) { in convertCropForSurfaceFlinger() 3129 } else if (rot == Surface.ROTATION_180) { in convertCropForSurfaceFlinger() 3136 } else if (rot == Surface.ROTATION_270) { in convertCropForSurfaceFlinger()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 7181 public void setUserRotationMode(int mode, int rot) { in setUserRotationMode() argument 7188 rot, in setUserRotationMode()
|