Home
last modified time | relevance | path

Searched refs:mRotation (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DSceneGraphRS.java37 int mRotation; field in SceneGraphRS
47 mRotation = 0; in init()
79 mRotation -= dx; in touchEvent()
80 if (mRotation > 360) { in touchEvent()
81 mRotation -= 360; in touchEvent()
83 if (mRotation < 0) { in touchEvent()
84 mRotation += 360; in touchEvent()
87 mScript.set_gRotate(-(float)mRotation); in touchEvent()
/frameworks/base/services/core/java/com/android/server/wm/
DCircularDisplayMask.java50 private int mRotation; field in CircularDisplayMask
105 switch (mRotation) { in drawIfNeeded()
145 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) { in positionSurface()
151 mRotation = rotation; in positionSurface()
DEmulatorDisplayOverlay.java47 private int mRotation; field in EmulatorDisplayOverlay
117 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) { in positionSurface()
123 mRotation = rotation; in positionSurface()
DWindowManagerService.java481 int mRotation = 0; field in WindowManagerService
6327 if (DEBUG_ORIENTATION) Slog.v(TAG, "freezeRotation: mRotation=" + mRotation); in freezeRotation()
6332 rotation == -1 ? mRotation : rotation); in freezeRotation()
6351 if (DEBUG_ORIENTATION) Slog.v(TAG, "thawRotation: mRotation=" + mRotation); in thawRotation()
6461 int rotation = mPolicy.rotationForOrientationLw(mForcedAppOrientation, mRotation); in updateRotationUncheckedLocked()
6472 if (mRotation == rotation && mAltOrientation == altOrientation) { in updateRotationUncheckedLocked()
6480 + " from " + mRotation + (mAltOrientation ? " (alt)" : "") in updateRotationUncheckedLocked()
6484 mRotation = rotation; in updateRotationUncheckedLocked()
6486 mPolicy.setRotationLw(mRotation); in updateRotationUncheckedLocked()
6575 return mRotation; in getRotation()
[all …]
DWindowAnimator.java667 mService.getDefaultDisplayContentLocked(), mService.mRotation); in animateLocked()
/frameworks/support/v4/java/android/support/v4/widget/
DMaterialProgressDrawable.java91 private float mRotation; field in MaterialProgressDrawable
221 c.rotate(mRotation, bounds.exactCenterX(), bounds.exactCenterY()); in draw()
242 mRotation = rotation; in setRotation()
248 return mRotation; in getRotation()
406 private float mRotation = 0.0f; field in MaterialProgressDrawable.Ring
462 final float startAngle = (mStartTrim + mRotation) * 360; in draw()
463 final float endAngle = (mEndTrim + mRotation) * 360; in draw()
604 mRotation = rotation; in setRotation()
610 return mRotation; in getRotation()
675 mStartingRotation = mRotation; in storeOriginals()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DFixedRotationFilter.java38 private int mRotation = 0; field in FixedRotationFilter
61 if (mRotation == 0) { in process()
79 switch (((int)Math.round(mRotation / 90f)) % 4) { in process()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
DBitmapRegionTileSource.java162 private int mRotation; field in BitmapRegionTileSource.BitmapSource
173 mRotation = ExifInterface.getRotationForOrientationValue(ori.shortValue()); in loadInBackground()
216 return mRotation; in getRotation()
371 private final int mRotation; field in BitmapRegionTileSource
381 mRotation = source.getRotation(); in BitmapRegionTileSource()
432 return mRotation; in getRotation()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageRenderer.java111 protected int mRotation; field in TiledImageRenderer
196 if (mRotation != rotation) { in setModel()
197 mRotation = rotation; in setModel()
277 getRange(range, mCenterX, mCenterY, mLevel, mScale, mRotation); in layoutTiles()
293 getRange(range[i - fromLevel], mCenterX, mCenterY, i, mRotation); in layoutTiles()
297 if (mRotation % 90 != 0) { in layoutTiles()
421 int rotation = mRotation; in draw()
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DIWindowManagerImpl.java42 private final int mRotation; field in IWindowManagerImpl
49 mRotation = rotation; in IWindowManagerImpl()
63 return mRotation; in getRotation()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java460 int mRotation;
509 mRotation = rotation;
603 if (mRotation > 0) {
604 rotateMatrix.setRotate(mRotation);
605 inverseRotateMatrix.setRotate(-mRotation);
724 if (mOutWidth > 0 && mOutHeight > 0 || mRotation > 0) {
739 if (mRotation == 0) {
745 m2.setRotate(mRotation);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DQSTileHost.java77 private final RotationLockController mRotation; field in QSTileHost
102 mRotation = rotation; in QSTileHost()
182 return mRotation; in getRotationLockController()
/frameworks/base/libs/hwui/
DRenderProperties.cpp85 , mRotation(0), mRotationX(0), mRotationY(0) in PrimitiveFields()
202 mComputedFields.mTransformCamera.rotateZ(-mPrimitiveFields.mRotation); in updateMatrix()
DRenderProperties.h292 return RP_SET_AND_DIRTY(mPrimitiveFields.mRotation, rotation); in setRotation()
296 return mPrimitiveFields.mRotation; in getRotation()
592 float mRotation, mRotationX, mRotationY; member
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java159 private float mRotation; field in PhotoView
944 mMatrix.postRotate(-mRotation, getWidth() / 2, getHeight() / 2); in scale()
957 mMatrix.postRotate(mRotation, getWidth() / 2, getHeight() / 2); in scale()
1096 mRotation += degrees; in rotate()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp306 int32_t mRotation; member in android::MPEG4Writer::Track
1374 mRotation(0) { in Track()
1724 mRotation = rotationDegrees; in start()
2880 mOwner->writeCompositionMatrix(mRotation); // matrix in writeTkhdBox()