Home
last modified time | relevance | path

Searched refs:mOrientation (Results 1 – 25 of 41) sorted by relevance

12

/packages/apps/Camera2/src/com/android/camera/ui/
DRotateLayout.java32 private int mOrientation; field in RotateLayout
57 switch (mOrientation) { in onLayout()
72 switch(mOrientation) { in onMeasure()
88 switch (mOrientation) { in onMeasure()
106 mChild.setRotation(-mOrientation); in onMeasure()
118 if (mOrientation == orientation) return; in setOrientation()
119 mOrientation = orientation; in setOrientation()
124 return mOrientation; in getOrientation()
DFaceView.java45 private int mOrientation; field in FaceView
119 mOrientation = orientation; in setOrientation()
170 mMatrix.postRotate(mOrientation); // postRotate is clockwise in onDraw()
171 canvas.rotate(-mOrientation); // rotate is counter-clockwise (for canvas) in onDraw()
DZoomView.java51 private int mOrientation; field in ZoomView
84 rotationMatrix.setRotate(mOrientation, 0, 0); in doInBackground()
128 if ((mOrientation + 360) % 180 == 0) { in doInBackground()
159 rotation.setRotate(mOrientation); in doInBackground()
209 mOrientation = orientation; in loadBitmap()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DRotateLayout.java28 private int mOrientation; field in RotateLayout
52 switch (mOrientation) { in onLayout()
67 switch(mOrientation) { in onMeasure()
83 switch (mOrientation) { in onMeasure()
101 mChild.setRotation(-mOrientation); in onMeasure()
107 if (mOrientation == orientation) return; in setOrientation()
108 mOrientation = orientation; in setOrientation()
DFaceView.java40 private int mOrientation; field in FaceView
72 mOrientation = orientation; in setOrientation()
129 mMatrix.postRotate(mOrientation); // postRotate is clockwise in onDraw()
130 canvas.rotate(-mOrientation); // rotate is counter-clockwise (for canvas) in onDraw()
DSecondLevelIndicatorControlBar.java41 int mOrientation = 0; field in SecondLevelIndicatorControlBar
65 if (mOrientation != 0) setOrientation(mOrientation); in initialize()
167 mOrientation = orientation; in setOrientation()
DZoomControlBar.java63 if (mOrientation == 90) { in getSliderPosition()
120 if ((orientation == 90) || (mOrientation == 90)) requestLayout(); in setOrientation()
139 if (mOrientation == 90) { in onLayout()
/packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/
DUserData.java70 @Orientation int mOrientation = 0; field in UserData
167 this.mOrientation = orientation; in UserData()
169 Orientation.class, null, mOrientation); in UserData()
210 return mOrientation; in getOrientation()
283 && mOrientation == that.mOrientation in equals()
300 _hash = 31 * _hash + mOrientation; in hashCode()
320 dest.writeInt(mOrientation); in writeToParcel()
352 this.mOrientation = orientation; in UserData()
354 Orientation.class, null, mOrientation); in UserData()
401 private @Orientation int mOrientation; field in UserData.Builder
[all …]
/packages/apps/Camera2/src/com/android/camera/data/
DFilmstripItemData.java45 private final int mOrientation; field in FilmstripItemData
69 mOrientation = orientation; in FilmstripItemData()
143 return mOrientation; in getOrientation()
173 sb.append(mOrientation); in toString()
193 private int mOrientation = 0; field in FilmstripItemData.Builder
211 mOrientation, in build()
226 builder.mOrientation = data.getOrientation(); in from()
272 mOrientation = orientation; in withOrientation()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java161 private int mOrientation = HORIZONTAL; field in ScrollAdapterView
537 mOrientation = orientation;
542 return mOrientation;
578 if (mOrientation == HORIZONTAL) {
682 (mOrientation == HORIZONTAL ? View.FOCUS_RIGHT : View.FOCUS_DOWN) :
683 (mOrientation == HORIZONTAL ? View.FOCUS_LEFT : View.FOCUS_UP);
929 if (mOrientation == HORIZONTAL) {
974 if (mOrientation == HORIZONTAL) {
1073 if (mOrientation == HORIZONTAL) {
1084 if (mOrientation == HORIZONTAL) {
[all …]
DScrollController.java617 private int mOrientation = ScrollAdapterView.HORIZONTAL; field in ScrollController
669 mOrientation = orientation; in setOrientation()
670 if (mOrientation == ScrollAdapterView.HORIZONTAL) { in setOrientation()
692 return mOrientation; in getOrientation()
841 if (mOrientation == ScrollAdapterView.HORIZONTAL) { in startScrollByMain()
871 if (mOrientation == ScrollAdapterView.HORIZONTAL) { in setScrollCenterByMain()
946 return mOrientation == ScrollAdapterView.HORIZONTAL ? in isMainAxisMovingForward()
951 return mOrientation == ScrollAdapterView.HORIZONTAL ? in isSecondAxisMovingForward()
/packages/apps/Camera2/src/com/android/camera/captureintent/event/
DEventPictureCompressed.java23 private final int mOrientation; field in EventPictureCompressed
27 mOrientation = orientation; in EventPictureCompressed()
35 return mOrientation; in getOrientation()
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DImageResource.java27 protected final int mOrientation; field in ImageResource
31 mOrientation = orientation; in ImageResource()
61 return mOrientation; in getOrientation()
DImageRequest.java48 protected int mOrientation; field in ImageRequest
124 return new DecodedImageResource(getKey(), loadedBitmap, mOrientation); in loadMediaInternal()
150 mOrientation = ImageUtils.getOrientation(getInputStreamForResource()); in loadBitmapInternal()
162 if (ExifInterface.getOrientationParams(mOrientation).invertDimensions) { in loadBitmapInternal()
DDecodedImageResource.java41 private final int mOrientation; field in DecodedImageResource
47 mOrientation = orientation; in DecodedImageResource()
104 return mOrientation; in getOrientation()
DFileImageRequest.java79 mOrientation = ImageUtils.getOrientation(getInputStreamForResource()); in loadBitmapInternal()
81 getOrientationParams(mOrientation).invertDimensions) { in loadBitmapInternal()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DCategoryAdapter.java39 private int mOrientation; field in CategoryAdapter
96 view.setOrientation(mOrientation); in getView()
102 if (mOrientation == CategoryView.HORIZONTAL) { in getView()
109 && mOrientation == CategoryView.VERTICAL) { in getView()
194 mOrientation = orientation; in setOrientation()
DIconView.java45 private int mOrientation = HORIZONTAL; field in IconView
91 if (mOrientation == HORIZONTAL) { in needsCenterText()
127 return mOrientation; in getOrientation()
131 mOrientation = orientation; in setOrientation()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DStateAdapter.java35 private int mOrientation; field in StateAdapter
54 view.setOrientation(mOrientation); in getView()
77 mOrientation = orientation; in setOrientation()
/packages/apps/Camera2/src/com/android/camera/
DTextureViewHelper.java70 private int mOrientation = UNSET; field in TextureViewHelper
109 if (mWidth != width || mHeight != height || mOrientation != rotation) { in onLayoutChange()
112 mOrientation = rotation; in onLayoutChange()
359 mOrientation = CameraUtil.getDisplayRotation((Activity) mPreview.getContext());
360 matrix = getPreviewRotationalTransform(mOrientation,
366 matrix = info.getPreviewTransform(mOrientation, new RectF(0, 0, mWidth, mHeight),
/packages/modules/Wifi/service/java/com/android/server/wifi/
DAfcEllipseLocation.java45 double mOrientation; field in AfcEllipseLocation
70 mOrientation = orientation; in AfcEllipseLocation()
110 ellipse.put("orientation", mOrientation); in toJson()
/packages/apps/Settings/src/com/android/settings/widget/
DMatchParentShrinkingLinearLayout.java109 private int mOrientation; field in MatchParentShrinkingLinearLayout
324 if (mOrientation == VERTICAL) { in onDraw()
499 if (mOrientation == VERTICAL) { in getBaseline()
599 if (mOrientation == VERTICAL) { in onMeasure()
1092 if (mOrientation == VERTICAL) { in onLayout()
1198 if (mOrientation == HORIZONTAL) { in onRtlPropertiesChanged()
1352 if (mOrientation != orientation) { in setOrientation()
1353 mOrientation = orientation; in setOrientation()
1365 return mOrientation; in getOrientation()
1427 if (mOrientation == HORIZONTAL) { in generateDefaultLayoutParams()
[all …]
/packages/apps/Camera2/src/com/android/camera/app/
DOrientationManager.java13 private final int mOrientation; field in OrientationManager.DeviceNaturalOrientation
15 mOrientation = orientation; in DeviceNaturalOrientation()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DWallpaperControlButtonGroup.java56 private int mOrientation = LinearLayout.VERTICAL; field in WallpaperControlButtonGroup
67 if (mOrientation == LinearLayout.HORIZONTAL) { in WallpaperControlButtonGroup()
95 mOrientation = typeArray.getInt(R.styleable.WallpaperControlButtonGroup_orientation, in initAttributes()
/packages/apps/DevCamera/src/com/android/devcamera/
DPreviewOverlay.java46 private int mOrientation = 0; // degrees field in PreviewOverlay
83 mOrientation = orientation; in setFacingAndOrientation()
104 switch (mOrientation) { in setGyroAngles()

12