Home
last modified time | relevance | path

Searched refs:mOrientation (Results 1 – 25 of 42) 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/apps/Dialer/InCallUI/src/com/android/incallui/
DAccelerometerListener.java42 private int mOrientation; field in AccelerometerListener
79 mOrientation = ORIENTATION_UNKNOWN; in enable()
102 if (mOrientation != orientation) { in setOrientation()
154 mOrientation = mPendingOrientation;
157 (mOrientation == ORIENTATION_HORIZONTAL ? "horizontal"
158 : (mOrientation == ORIENTATION_VERTICAL ? "vertical"
162 mListener.orientationChanged(mOrientation);
DProximitySensor.java51 private int mOrientation = AccelerometerListener.ORIENTATION_UNKNOWN; field in ProximitySensor
95 mOrientation = orientation; in orientationChanged()
113 mOrientation = AccelerometerListener.ORIENTATION_UNKNOWN; in onStateChange()
240 (mOrientation == AccelerometerListener.ORIENTATION_HORIZONTAL); in updateProximitySensorMode()
/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/Launcher2/src/com/android/launcher2/
DHandleView.java33 private int mOrientation = ORIENTATION_HORIZONTAL; field in HandleView
47 mOrientation = a.getInt(R.styleable.HandleView_direction, ORIENTATION_HORIZONTAL); in HandleView()
59 return (mOrientation == ORIENTATION_HORIZONTAL && direction == FOCUS_DOWN) ? in focusSearch()
/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/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/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/apps/Camera2/src/com/android/camera/app/
DOrientationManager.java13 private final int mOrientation; field in OrientationManager.DeviceNaturalOrientation
15 mOrientation = orientation; in DeviceNaturalOrientation()
/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