Home
last modified time | relevance | path

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

12

/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/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()
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()
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()
/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/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/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/decorations/linear/
DLinearDividerItemDecoration.java32 private int mOrientation; field in LinearDividerItemDecoration
54 if (mOrientation == LinearLayoutManager.HORIZONTAL) { in onDraw()
56 } else if (mOrientation == LinearLayoutManager.VERTICAL) { in onDraw()
78 mOrientation = ((LinearLayoutManager) parent.getLayoutManager()).getOrientation(); in getItemOffsets()
79 if (mOrientation == LinearLayoutManager.HORIZONTAL) { in getItemOffsets()
81 } else if (mOrientation == LinearLayoutManager.VERTICAL) { in getItemOffsets()
DLinearOffsetItemDecoration.java42 private int mOrientation; field in LinearOffsetItemDecoration
104 mOrientation = ((LinearLayoutManager) parent.getLayoutManager()).getOrientation(); in getItemOffsets()
105 if (mOrientation == LinearLayoutManager.HORIZONTAL) { in getItemOffsets()
119 } else if (mOrientation == LinearLayoutManager.VERTICAL) { in getItemOffsets()
150 if (mOrientation == LinearLayoutManager.HORIZONTAL) { in onDraw()
152 } else if (mOrientation == LinearLayoutManager.VERTICAL) { in onDraw()
/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/Camera2/src/com/android/camera/
DTextureViewHelper.java69 private int mOrientation = UNSET; field in TextureViewHelper
108 if (mWidth != width || mHeight != height || mOrientation != rotation) { in onLayoutChange()
111 mOrientation = rotation; in onLayoutChange()
358 mOrientation = CameraUtil.getDisplayRotation();
359 matrix = getPreviewRotationalTransform(mOrientation,
365 matrix = info.getPreviewTransform(mOrientation, new RectF(0, 0, mWidth, mHeight),
/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/Settings/src/com/android/settings/widget/
DMatchParentShrinkingLinearLayout.java108 private int mOrientation; field in MatchParentShrinkingLinearLayout
323 if (mOrientation == VERTICAL) { in onDraw()
498 if (mOrientation == VERTICAL) { in getBaseline()
598 if (mOrientation == VERTICAL) { in onMeasure()
1091 if (mOrientation == VERTICAL) { in onLayout()
1197 if (mOrientation == HORIZONTAL) { in onRtlPropertiesChanged()
1351 if (mOrientation != orientation) { in setOrientation()
1352 mOrientation = orientation; in setOrientation()
1364 return mOrientation; in getOrientation()
1426 if (mOrientation == HORIZONTAL) { in generateDefaultLayoutParams()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DMatchParentShrinkingLinearLayout.java108 private int mOrientation; field in MatchParentShrinkingLinearLayout
323 if (mOrientation == VERTICAL) { in onDraw()
498 if (mOrientation == VERTICAL) { in getBaseline()
598 if (mOrientation == VERTICAL) { in onMeasure()
1091 if (mOrientation == VERTICAL) { in onLayout()
1197 if (mOrientation == HORIZONTAL) { in onRtlPropertiesChanged()
1351 if (mOrientation != orientation) { in setOrientation()
1352 mOrientation = orientation; in setOrientation()
1364 return mOrientation; in getOrientation()
1426 if (mOrientation == HORIZONTAL) { in generateDefaultLayoutParams()
[all …]
/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()
/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/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()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DPrimaryImage.java75 private int mOrientation; field in PrimaryImage
154 return mOrientation; in getOrientation()
201 mOrientation = ImageLoader.getMetadataOrientation(mActivity, uri); in loadBitmap()
205 mOrientation, originalBounds); in loadBitmap()
214 mZoomOrientation = mOrientation; in loadBitmap()
/packages/apps/Camera2/src/com/android/camera/app/
DOrientationManager.java13 private final int mOrientation; field in OrientationManager.DeviceNaturalOrientation
15 mOrientation = orientation; in DeviceNaturalOrientation()

12