Home
last modified time | relevance | path

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

12

/frameworks/av/camera/include/camera/camera2/
DOutputConfiguration.h70 return ( mRotation == other.mRotation &&
96 if (mRotation != other.mRotation) {
97 return mRotation < other.mRotation;
115 int mRotation; variable
/frameworks/base/core/java/android/hardware/camera2/params/
DOutputConfiguration.java215 mRotation = rotation; in OutputConfiguration()
268 mRotation = ROTATION_0; in OutputConfiguration()
404 this.mRotation = other.mRotation; in OutputConfiguration()
432 mRotation = rotation; in OutputConfiguration()
487 return mRotation; in getRotation()
529 dest.writeInt(mRotation); in writeToParcel()
556 if (mRotation != other.mRotation || in equals()
589 mRotation, mConfiguredSize.hashCode(), mConfiguredFormat, mConfiguredDataspace, in hashCode()
594 mRotation, mSurfaces.hashCode(), mConfiguredGenerationId, in hashCode()
601 private final int mRotation; field in OutputConfiguration
/frameworks/av/camera/camera2/
DOutputConfiguration.cpp40 return mRotation; in getRotation()
68 mRotation(INVALID_ROTATION), in OutputConfiguration()
78 mRotation(INVALID_ROTATION), in OutputConfiguration()
142 mRotation = rotation; in readFromParcel()
157 __FUNCTION__, mRotation, mSurfaceSetID, mSurfaceType); in readFromParcel()
165 mRotation = rotation; in OutputConfiguration()
176 err = parcel->writeInt32(mRotation); in writeToParcel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DSlashDrawable.java61 private float mRotation; field in SlashDrawable
97 if (mRotation == rotation) return; in setRotation()
98 mRotation = rotation; in setRotation()
158 m.setRotate(mRotation + DEFAULT_ROTATION, width / 2, height / 2); in draw()
163 m.setRotate(-mRotation - DEFAULT_ROTATION, width / 2, height / 2); in draw()
170 m.setRotate(mRotation + DEFAULT_ROTATION, width / 2, height / 2); in draw()
/frameworks/base/services/core/java/com/android/server/wm/
DCircularDisplayMask.java53 private int mRotation; field in CircularDisplayMask
110 switch (mRotation) { in drawIfNeeded()
150 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) { in positionSurface()
156 mRotation = rotation; in positionSurface()
DEmulatorDisplayOverlay.java50 private int mRotation; field in EmulatorDisplayOverlay
122 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) { in positionSurface()
128 mRotation = rotation; in positionSurface()
DTask.java74 private int mRotation; field in Task
302 if (mBounds.equals(bounds) && oldFullscreen == mFillsParent && mRotation == rotation) { in setBounds()
316 mRotation = rotation; in setBounds()
559 if (mRotation == newRotation) { in updateDisplayInfo()
575 displayContent.rotateBounds(mRotation, newRotation, mTmpRect2); in updateDisplayInfo()
DTaskStack.java99 private int mRotation; field in TaskStack
268 if (mBounds.equals(bounds) && oldFullscreen == mFillsParent && mRotation == rotation) { in setBounds()
278 mRotation = rotation; in setBounds()
397 if (mRotation == newRotation && mDensity == newDensity) { in updateDisplayInfo()
432 if (mRotation == newRotation && mDensity == newDensity) { in updateBoundsAfterConfigChange()
445 mDisplayContent.rotateBounds(mRotation, newRotation, mTmpRect2); in updateBoundsAfterConfigChange()
DDisplayContent.java230 private int mRotation = 0; field in DisplayContent
884 return mRotation; in getRotation()
888 mRotation = newRotation; in setRotation()
949 final int oldRotation = mRotation; in updateRotationUnchecked()
1005 mRotation = rotation; in updateRotationUnchecked()
1133 final boolean rotated = (mRotation == ROTATION_90 || mRotation == ROTATION_270); in updateDisplayAndOrientation()
1156 final int appWidth = mService.mPolicy.getNonDecorDisplayWidth(dw, dh, mRotation, uiMode, in updateDisplayAndOrientation()
1158 final int appHeight = mService.mPolicy.getNonDecorDisplayHeight(dw, dh, mRotation, uiMode, in updateDisplayAndOrientation()
1160 mDisplayInfo.rotation = mRotation; in updateDisplayAndOrientation()
2824 mService.mPolicy.beginLayoutLw(isDefaultDisplay, dw, dh, mRotation, in performLayout()
/frameworks/support/core-ui/java/android/support/v4/widget/
DCircularProgressDrawable.java117 private float mRotation; field in CircularProgressDrawable
396 canvas.rotate(mRotation, bounds.exactCenterX(), bounds.exactCenterY()); in draw()
419 mRotation = rotation; in setRotation()
423 return mRotation; in getRotation()
623 float mRotation = 0f; field in CircularProgressDrawable.Ring
697 final float startAngle = (mStartTrim + mRotation) * 360; in draw()
698 final float endAngle = (mEndTrim + mRotation) * 360; in draw()
872 mRotation = rotation; in setRotation()
876 return mRotation; in getRotation()
930 mStartingRotation = mRotation; in storeOriginals()
/frameworks/support/design/base/android/support/design/widget/
DCircularBorderDrawable.java59 private float mRotation; field in CircularBorderDrawable
106 canvas.rotate(mRotation, rectF.centerX(), rectF.centerY()); in draw()
146 if (rotation != mRotation) { in setRotation()
147 mRotation = rotation; in setRotation()
DFloatingActionButtonImpl.java58 private float mRotation; field in FloatingActionButtonImpl
107 mRotation = mView.getRotation(); in FloatingActionButtonImpl()
364 if (mRotation != rotation) { in onPreDraw()
365 mRotation = rotation; in onPreDraw()
512 if ((mRotation % 90) != 0) { in updateFromViewRotation()
525 mShadowDrawable.setRotation(-mRotation); in updateFromViewRotation()
528 mBorderDrawable.setRotation(-mRotation); in updateFromViewRotation()
DShadowDrawableWrapper.java75 private float mRotation; field in ShadowDrawableWrapper
202 if (mRotation != rotation) { in setRotation()
203 mRotation = rotation; in setRotation()
210 canvas.rotate(mRotation, mContentBounds.centerX(), mContentBounds.centerY()); in drawShadow()
/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/SystemUI/src/com/android/systemui/
DHardwareUiLayout.java59 private int mRotation = ROTATION_NONE; field in HardwareUiLayout
103 if (mRotation == ROTATION_LANDSCAPE) { in updateEdgeMargin()
105 } else if (mRotation == ROTATION_SEASCAPE) { in updateEdgeMargin()
150 if (rotation != mRotation) { in updateRotation()
151 rotate(mRotation, rotation); in updateRotation()
152 mRotation = rotation; in updateRotation()
/frameworks/layoutlib/bridge/src/android/view/
DRenderNode_Delegate.java46 private float mRotation; field in RenderNode_Delegate
155 if (delegate != null && delegate.mRotation != rotation) { in nSetRotation()
156 delegate.mRotation = rotation; in nSetRotation()
166 return delegate.mRotation; in nGetRotation()
DIWindowManagerImpl.java47 private final int mRotation; field in IWindowManagerImpl
54 mRotation = rotation; in IWindowManagerImpl()
68 return mRotation; in getDefaultDisplayRotation()
/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/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java459 int mRotation;
508 mRotation = rotation;
602 if (mRotation > 0) {
603 rotateMatrix.setRotate(mRotation);
604 inverseRotateMatrix.setRotate(-mRotation);
723 if (mOutWidth > 0 && mOutHeight > 0 || mRotation > 0) {
738 if (mRotation == 0) {
744 m2.setRotate(mRotation);
/frameworks/av/camera/ndk/impl/
DACameraCaptureSession.h43 int mRotation = CAMERA3_STREAM_ROTATION_0; member
/frameworks/base/libs/hwui/
DRenderProperties.h323 return RP_SET_AND_DIRTY(mPrimitiveFields.mRotation, rotation); in setRotation()
327 return mPrimitiveFields.mRotation; in getRotation()
641 float mRotation = 0, mRotationX = 0, mRotationY = 0; member
DRenderProperties.cpp211 mComputedFields.mTransformCamera.rotateZ(-mPrimitiveFields.mRotation); in updateMatrix()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java161 private float mRotation; field in PhotoView
915 mMatrix.postRotate(-mRotation, getWidth() / 2, getHeight() / 2); in scale()
975 mMatrix.postRotate(mRotation, getWidth() / 2, getHeight() / 2); in scale()
1113 mRotation += degrees; in rotate()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp388 int32_t mRotation; member in android::MPEG4Writer::Track
1658 mRotation(0) { in Track()
2098 mRotation = rotationDegrees; in start()
3519 mOwner->writeCompositionMatrix(mRotation); // matrix in writeTkhdBox()

12