Home
last modified time | relevance | path

Searched refs:mAngle (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
DCubeRenderer.java31 private float mAngle; field in CubeRenderer
60 gl.glRotatef(mAngle, 0, 1, 0); in onDrawFrame()
61 gl.glRotatef(mAngle*0.25f, 1, 0, 0); in onDrawFrame()
69 gl.glRotatef(mAngle*2.0f, 0, 1, 1); in onDrawFrame()
74 mAngle += 1.2f; in onDrawFrame()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DRotateFilter.java37 private int mAngle; field in RotateFilter
125 if (mAngle % 90 == 0) { in updateParameters()
126 if (mAngle % 180 == 0) { in updateParameters()
128 cosTheta = (mAngle % 360 == 0) ? 1f:-1f; in updateParameters()
131 sinTheta = ((mAngle + 90) % 360 == 0) ? -1f:1f; in updateParameters()
DStraightenFilter.java37 private float mAngle = 0f; field in StraightenFilter
116 float cosTheta = (float) Math.cos(mAngle * DEGREE_TO_RADIAN); in updateParameters()
117 float sinTheta = (float) Math.sin(mAngle * DEGREE_TO_RADIAN); in updateParameters()
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
DBasicGLRenderer.java23 private float mAngle; field in BasicGLRenderer
58 Matrix.setRotateM(mRotationMatrix, 0, mAngle, 0, 0, 1.0f); in onDrawFrame()
87 return mAngle; in getAngle()
91 mAngle = angle; in setAngle()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingDataProvider.java69 private float mAngle = 0; field in FalsingDataProvider
227 return mAngle; in getAngle()
325 mAngle = Float.MAX_VALUE;
330 mAngle = (float) Math.atan2(lastY, lastX);
331 while (mAngle < 0) {
332 mAngle += THREE_HUNDRED_SIXTY_DEG;
334 while (mAngle > THREE_HUNDRED_SIXTY_DEG) {
335 mAngle -= THREE_HUNDRED_SIXTY_DEG;
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipResizeGestureHandler.java96 private float mAngle = 0; field in PipResizeGestureHandler
356 mAngle = mPinchResizingAlgorithm.calculateBoundsAndAngle(mDownPoint, in onPinchResize()
361 mAngle, null); in onPinchResize()
442 PINCH_RESIZE_SNAP_DURATION, mAngle, mUpdateResizeBoundsCallback, () -> {
463 mAngle = 0;
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipResizeGestureHandler.java101 private float mAngle = 0; field in PipResizeGestureHandler
365 mAngle = mPinchResizingAlgorithm.calculateBoundsAndAngle(mDownPoint, in onPinchResize()
369 mPipScheduler.scheduleUserResizePip(mLastResizeBounds, mAngle); in onPinchResize()
461 mAngle = 0; in resetState()
558 mLastResizeBounds, PINCH_RESIZE_SNAP_DURATION, mAngle); in onPipTransitionStateChanged()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java1808 int angle = (int) a.getFloat(R.styleable.GradientDrawableGradient_angle, st.mAngle);
1817 st.mAngle = ((angle % 360) + 360) % 360; // offset negative angle measures
1819 st.mAngle = angle % 360;
1822 if (st.mAngle >= 0) {
1823 switch (st.mAngle) {
2012 public int mAngle = 0;
2083 mAngle = orig.mAngle;
/frameworks/av/media/module/extractors/mp4/
DItemTable.cpp812 Box(source, FOURCC("irot")), mAngle(0) {} in IrotBox()
817 image.rotation = mAngle * 90; in attachTo()
821 uint8_t mAngle; member
830 if (source()->readAt(offset, &mAngle, 1) != 1) { in parse()
833 mAngle &= 0x3; in parse()
834 ALOGV("property irot: %d", mAngle); in parse()