Searched refs:mOrientation (Results 1 - 25 of 43) sorted by relevance

12

/packages/apps/Camera2/src/com/android/camera/ui/
H A DRotateLayout.java32 private int mOrientation; field in class:RotateLayout
57 switch (mOrientation) {
72 switch(mOrientation) {
88 switch (mOrientation) {
106 mChild.setRotation(-mOrientation);
118 if (mOrientation == orientation) return;
119 mOrientation = orientation;
124 return mOrientation;
H A DFaceView.java45 private int mOrientation; field in class:FaceView
119 mOrientation = orientation;
188 mMatrix.postRotate(mOrientation); // postRotate is clockwise
189 canvas.rotate(-mOrientation); // rotate is counter-clockwise (for canvas)
H A DZoomView.java51 private int mOrientation; field in class:ZoomView
84 rotationMatrix.setRotate(mOrientation, 0, 0);
128 if ((mOrientation + 360) % 180 == 0) {
159 rotation.setRotate(mOrientation);
209 mOrientation = orientation;
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DRotateLayout.java28 private int mOrientation; field in class:RotateLayout
52 switch (mOrientation) {
67 switch(mOrientation) {
83 switch (mOrientation) {
101 mChild.setRotation(-mOrientation);
107 if (mOrientation == orientation) return;
108 mOrientation = orientation;
H A DZoomControlBar.java63 if (mOrientation == 90) {
120 if ((orientation == 90) || (mOrientation == 90)) requestLayout();
139 if (mOrientation == 90) {
H A DFaceView.java40 private int mOrientation; field in class:FaceView
72 mOrientation = orientation;
129 mMatrix.postRotate(mOrientation); // postRotate is clockwise
130 canvas.rotate(-mOrientation); // rotate is counter-clockwise (for canvas)
H A DSecondLevelIndicatorControlBar.java41 int mOrientation = 0; field in class:SecondLevelIndicatorControlBar
65 if (mOrientation != 0) setOrientation(mOrientation);
167 mOrientation = orientation;
H A DZoomControl.java44 protected int mOrientation; field in class:ZoomControl
211 mOrientation = orientation;
H A DSharePopup.java62 private int mOrientation; field in class:SharePopup
85 r.setOrientation(mOrientation);
164 mOrientation = orientation;
/packages/apps/Camera/src/com/android/camera/ui/
H A DRotateLayout.java38 private int mOrientation; field in class:RotateLayout
66 switch (mOrientation) {
83 switch (mOrientation) {
97 mMatrix.postRotate(mOrientation);
111 switch (mOrientation) {
125 canvas.rotate(-mOrientation, 0, 0);
135 switch(mOrientation) {
152 switch (mOrientation) {
170 mChild.setRotation(-mOrientation);
183 if (mOrientation
[all...]
H A DFaceView.java49 private int mOrientation; field in class:FaceView
124 mOrientation = orientation;
198 mMatrix.postRotate(mOrientation); // postRotate is clockwise
199 canvas.rotate(-mOrientation); // rotate is counter-clockwise (for canvas)
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
H A DScrollAdapterEditScrollListener.java60 private int mOrientation; field in class:ScrollAdapterEditScrollListener
78 mOrientation = mScrollAdapterView.getOrientation();
86 if (mOrientation == ScrollAdapterView.HORIZONTAL) {
88 } else if (mOrientation == ScrollAdapterView.VERTICAL) {
130 if (mOrientation == ScrollAdapterView.HORIZONTAL) {
142 if (mOrientation == ScrollAdapterView.HORIZONTAL) {
155 if (mOrientation == ScrollAdapterView.HORIZONTAL) {
167 if (mOrientation == ScrollAdapterView.HORIZONTAL) {
180 if (mOrientation == ScrollAdapterView.HORIZONTAL) {
193 if (mOrientation
[all...]
H A DScrollAdapterView.java166 private int mOrientation = HORIZONTAL; field in class:ScrollAdapterView
547 mOrientation = orientation;
552 return mOrientation;
588 if (mOrientation == HORIZONTAL) {
692 (mOrientation == HORIZONTAL ? View.FOCUS_RIGHT : View.FOCUS_DOWN) :
693 (mOrientation == HORIZONTAL ? View.FOCUS_LEFT : View.FOCUS_UP);
957 if (mOrientation == HORIZONTAL) {
1003 if (mOrientation == HORIZONTAL) {
1102 if (mOrientation == HORIZONTAL) {
1113 if (mOrientation
[all...]
H A DScrollController.java617 private int mOrientation = ScrollAdapterView.HORIZONTAL; field in class:ScrollController
669 mOrientation = orientation;
670 if (mOrientation == ScrollAdapterView.HORIZONTAL) {
692 return mOrientation;
841 if (mOrientation == ScrollAdapterView.HORIZONTAL) {
871 if (mOrientation == ScrollAdapterView.HORIZONTAL) {
946 return mOrientation == ScrollAdapterView.HORIZONTAL ?
951 return mOrientation == ScrollAdapterView.HORIZONTAL ?
/packages/apps/InCallUI/src/com/android/incallui/
H A DAccelerometerListener.java41 // mOrientation is the orientation value most recently reported to the client.
42 private int mOrientation; field in class:AccelerometerListener
46 // mOrientation.
76 mOrientation = ORIENTATION_UNKNOWN;
99 if (mOrientation != orientation) {
148 mOrientation = mPendingOrientation;
151 (mOrientation == ORIENTATION_HORIZONTAL ? "horizontal"
152 : (mOrientation == ORIENTATION_VERTICAL ? "vertical"
155 mListener.orientationChanged(mOrientation);
H A DProximitySensor.java45 private int mOrientation = AccelerometerListener.ORIENTATION_UNKNOWN; field in class:ProximitySensor
74 mOrientation = orientation;
92 mOrientation = AccelerometerListener.ORIENTATION_UNKNOWN;
189 (mOrientation == AccelerometerListener.ORIENTATION_HORIZONTAL);
/packages/services/Telephony/src/com/android/phone/
H A DAccelerometerListener.java41 // mOrientation is the orientation value most recently reported to the client.
42 private int mOrientation; field in class:AccelerometerListener
46 // mOrientation.
76 mOrientation = ORIENTATION_UNKNOWN;
99 if (mOrientation != orientation) {
148 mOrientation = mPendingOrientation;
151 (mOrientation == ORIENTATION_HORIZONTAL ? "horizontal"
152 : (mOrientation == ORIENTATION_VERTICAL ? "vertical"
155 mListener.orientationChanged(mOrientation);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DHandleView.java33 private int mOrientation = ORIENTATION_HORIZONTAL; field in class:HandleView
47 mOrientation = a.getInt(R.styleable.HandleView_direction, ORIENTATION_HORIZONTAL);
59 return (mOrientation == ORIENTATION_HORIZONTAL && direction == FOCUS_DOWN) ?
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
H A DStateAdapter.java35 private int mOrientation; field in class:StateAdapter
54 view.setOrientation(mOrientation);
77 mOrientation = orientation;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
H A DCategoryAdapter.java39 private int mOrientation; field in class:CategoryAdapter
96 view.setOrientation(mOrientation);
102 if (mOrientation == CategoryView.HORIZONTAL) {
109 && mOrientation == CategoryView.VERTICAL) {
194 mOrientation = orientation;
H A DIconView.java45 private int mOrientation = HORIZONTAL; field in class:IconView
91 if (mOrientation == HORIZONTAL) {
127 return mOrientation;
131 mOrientation = orientation;
/packages/apps/Browser/src/com/android/browser/
H A DNavScreen.java68 int mOrientation; field in class:NavScreen
77 mOrientation = activity.getResources().getConfiguration().orientation;
101 if (newconfig.orientation != mOrientation) {
104 mOrientation = newconfig.orientation;
130 mScroller.setOrientation(mOrientation == Configuration.ORIENTATION_LANDSCAPE
/packages/apps/Camera2/src/com/android/camera/
H A DTextureViewHelper.java70 private int mOrientation = UNSET; field in class:TextureViewHelper
99 if (mWidth != width || mHeight != height || mOrientation != rotation) {
102 mOrientation = rotation;
257 matrix = info.getPreviewTransform(mOrientation, new RectF(0, 0, mWidth, mHeight),
/packages/apps/Camera/src/com/android/camera/
H A DPreviewGestures.java61 private int mOrientation; field in class:PreviewGestures
93 mOrientation = orientation;
247 switch (mOrientation) {
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DPhotoCarousel.java57 private int mOrientation; field in class:PhotoCarousel
215 } else if (orientation == mOrientation) {
282 mOrientation = (mWidth > mHeight ? LANDSCAPE : PORTRAIT);

Completed in 8607 milliseconds

12