Home
last modified time | relevance | path

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

12

/frameworks/av/camera/include/camera/camera2/
DOutputConfiguration.h78 return ( mRotation == other.mRotation &&
105 if (mRotation != other.mRotation) {
106 return mRotation < other.mRotation;
128 int mRotation; variable
/frameworks/base/core/java/android/app/
DWindowConfiguration.java71 private int mRotation = ROTATION_UNDEFINED; field in WindowConfiguration
222 dest.writeInt(mRotation); in writeToParcel()
232 mRotation = source.readInt(); in readFromParcel()
320 return mRotation; in getRotation()
324 mRotation = rotation; in setRotation()
370 setRotation(other.mRotation); in setTo()
425 if (delta.mRotation != ROTATION_UNDEFINED && delta.mRotation != mRotation) { in updateFrom()
427 setRotation(delta.mRotation); in updateFrom()
477 if ((compareUndefined || other.mRotation != ROTATION_UNDEFINED) in diff()
478 && mRotation != other.mRotation) { in diff()
[all …]
/frameworks/base/core/java/android/hardware/camera2/params/
DOutputConfiguration.java260 mRotation = rotation; in OutputConfiguration()
314 mRotation = ROTATION_0; in OutputConfiguration()
520 this.mRotation = other.mRotation; in OutputConfiguration()
550 mRotation = rotation; in OutputConfiguration()
617 return mRotation; in getRotation()
659 dest.writeInt(mRotation); in writeToParcel()
687 if (mRotation != other.mRotation || in equals()
721 mRotation, mConfiguredSize.hashCode(), mConfiguredFormat, mConfiguredDataspace, in hashCode()
727 mRotation, mSurfaces.hashCode(), mConfiguredGenerationId, in hashCode()
735 private final int mRotation; field in OutputConfiguration
/frameworks/av/camera/camera2/
DOutputConfiguration.cpp40 return mRotation; in getRotation()
72 mRotation(INVALID_ROTATION), in OutputConfiguration()
82 mRotation(INVALID_ROTATION), in OutputConfiguration()
148 mRotation = rotation; in readFromParcel()
163 " physicalCameraId = %s", __FUNCTION__, mRotation, mSurfaceSetID, in readFromParcel()
173 mRotation = rotation; in OutputConfiguration()
184 : mGbps(gbps), mRotation(rotation), mSurfaceSetID(surfaceSetID), mSurfaceType(surfaceType), in OutputConfiguration()
193 err = parcel->writeInt32(mRotation); in writeToParcel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DMultiListLayout.java35 protected int mRotation; field in MultiListLayout
40 mRotation = RotationUtils.getRotation(context); in MultiListLayout()
85 if (newRotation != mRotation) { in onConfigurationChanged()
86 rotate(mRotation, newRotation); in onConfigurationChanged()
87 mRotation = newRotation; in onConfigurationChanged()
DScreenDecorations.java122 private int mRotation; field in ScreenDecorations
275 switch (mRotation) { in setAssistHintVisible()
324 mRotation = RotationUtils.getExactRotation(mContext); in startOnScreenDecorationsThread()
345 if (mOverlay != null && mBottomOverlay != null && mRotation != newRotation) { in startOnScreenDecorationsThread()
356 + mRotation); in startOnScreenDecorationsThread()
472 int oldRotation = mRotation; in onConfigurationChanged()
476 if (DEBUG) Log.i(TAG, "onConfigChanged from rot " + oldRotation + " to " + mRotation); in onConfigurationChanged()
498 if (newRotation != mRotation) { in updateOrientation()
499 mRotation = newRotation; in updateOrientation()
550 if (mRotation == RotationUtils.ROTATION_NONE) { in updateViews()
[all …]
DHardwareUiLayout.java68 mRotation = ROTATION_NONE; in HardwareUiLayout()
121 if (mRotation == ROTATION_LANDSCAPE) { in updateEdgeMargin()
123 } else if (mRotation == ROTATION_SEASCAPE) { in updateEdgeMargin()
133 if (mRotation == ROTATION_LANDSCAPE) { in updateEdgeMargin()
135 } else if (mRotation == ROTATION_SEASCAPE) { in updateEdgeMargin()
182 if (rotation != mRotation) { in updateRotation()
183 rotate(mRotation, rotation); in updateRotation()
184 mRotation = rotation; in updateRotation()
/frameworks/layoutlib/bridge/src/android/view/
DIWindowManagerImpl.java31 private final int mRotation; field in IWindowManagerImpl
38 mRotation = rotation; in IWindowManagerImpl()
52 return mRotation; in getDefaultDisplayRotation()
/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.java51 private int mRotation; field in CircularDisplayMask
108 switch (mRotation) { in drawIfNeeded()
148 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) { in positionSurface()
154 mRotation = rotation; in positionSurface()
DEmulatorDisplayOverlay.java47 private int mRotation; field in EmulatorDisplayOverlay
116 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) { in positionSurface()
122 mRotation = rotation; in positionSurface()
DDisplayFrames.java117 public int mRotation; field in DisplayFrames
127 mRotation = info.rotation; in onDisplayInfoUpdated()
134 switch (mRotation) { in onBeginLayout()
204 + " r=" + mRotation); in dump()
DTask.java82 private int mRotation; field in Task
318 mRotation = rotation; in setBounds()
561 mRotation = newRotation; in adjustBoundsForDisplayChangeIfNeeded()
565 if (mRotation == newRotation) { in adjustBoundsForDisplayChangeIfNeeded()
583 displayContent.rotateBounds(mRotation, newRotation, mTmpRect2); in adjustBoundsForDisplayChangeIfNeeded()
DDisplayRotation.java919 final int mRotation; field in DisplayRotation.OrientationListener.UpdateRunnable
922 mRotation = rotation; in UpdateRunnable()
930 final boolean isValid = isValidRotationChoice(mRotation); in run()
931 sendProposedRotationChangeToStatusBarInternal(mRotation, isValid); in run()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DPerimeterPathGuide.java83 private int mRotation = ROTATION_0; field in PerimeterPathGuide
108 if (rotation != mRotation) { in setRotation()
114 mRotation = rotation; in setRotation()
210 switch (mRotation) { in computeRegions()
225 if (mRotation == ROTATION_90 || mRotation == Surface.ROTATION_270) { in computeRegions()
298 switch (mRotation) { in getRotatedCorner()
/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/layoutlib/bridge/src/android/graphics/
DRenderNode_Delegate.java44 private float mRotation; field in RenderNode_Delegate
153 if (delegate != null && delegate.mRotation != rotation) { in nSetRotation()
154 delegate.mRotation = rotation; in nSetRotation()
164 return delegate.mRotation; in nGetRotation()
/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/ndk_vendor/impl/
DACameraCaptureSessionVendor.h44 int mRotation = CAMERA3_STREAM_ROTATION_0; member
/frameworks/base/libs/hwui/
DRenderProperties.h283 return RP_SET_AND_DIRTY(mPrimitiveFields.mRotation, rotation); in setRotation()
286 float getRotation() const { return mPrimitiveFields.mRotation; } in getRotation()
564 float mRotation = 0, mRotationX = 0, mRotationY = 0; member
/frameworks/av/camera/ndk/impl/
DACameraCaptureSession.h53 int mRotation = CAMERA3_STREAM_ROTATION_0; member
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyLayoutTests.java73 private int mRotation = ROTATION_0; field in DisplayPolicyLayoutTests
95 mRotation = rotation; in setRotation()
105 final Pair<DisplayInfo, WmDisplayCutout> info = displayInfoAndCutoutForRotation(mRotation, in updateDisplayFrames()
/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()

12