Searched defs:mOrientation (Results 1 - 25 of 39) sorted by relevance

12

/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/Camera2/src/com/android/camera/ui/
H A DRotateLayout.java30 private int mOrientation; field in class:RotateLayout
55 switch (mOrientation) {
70 switch(mOrientation) {
86 switch (mOrientation) {
104 mChild.setRotation(-mOrientation);
116 if (mOrientation == orientation) return;
117 mOrientation = orientation;
122 return mOrientation;
H A DZoomView.java50 private int mOrientation; field in class:ZoomView
62 rotationMatrix.setRotate(mOrientation, 0, 0);
107 if ((mOrientation + 360) % 180 == 0) {
134 rotation.setRotate(mOrientation);
169 mOrientation = orientation;
H A DFaceView.java47 private int mOrientation; field in class:FaceView
130 mOrientation = orientation;
204 mMatrix.postRotate(mOrientation); // postRotate is clockwise
205 canvas.rotate(-mOrientation); // rotate is counter-clockwise (for canvas)
/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;
H A DStateView.java58 private int mOrientation = LinearLayout.VERTICAL; field in class:StateView
143 if (mOrientation == LinearLayout.HORIZONTAL) {
269 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 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 DIndicatorControl.java48 private int mOrientation = 0; field in class:IndicatorControl
65 mOrientation = orientation;
H A DSecondLevelIndicatorControlBar.java41 int mOrientation = 0; field in class:SecondLevelIndicatorControlBar
65 if (mOrientation != 0) setOrientation(mOrientation);
167 mOrientation = orientation;
H A DSharePopup.java62 private int mOrientation; field in class:SharePopup
85 r.setOrientation(mOrientation);
164 mOrientation = orientation;
H A DZoomControl.java44 protected int mOrientation; field in class:ZoomControl
211 mOrientation = orientation;
/packages/apps/UnifiedEmail/src/com/android/bitmap/
H A DReusableBitmap.java30 private int mOrientation; field in class:ReusableBitmap
66 return mOrientation;
70 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/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.java46 private int mOrientation = AccelerometerListener.ORIENTATION_UNKNOWN; field in class:ProximitySensor
86 mOrientation = orientation;
103 mOrientation = AccelerometerListener.ORIENTATION_UNKNOWN;
213 (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/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/Calendar/src/com/android/calendar/month/
H A DMonthByWeekAdapter.java57 protected int mOrientation = Configuration.ORIENTATION_LANDSCAPE; field in class:MonthByWeekAdapter
243 drawingParams.put(MonthWeekEventsView.VIEW_PARAMS_ORIENTATION, mOrientation);
282 mOrientation = mContext.getResources().getConfiguration().orientation;
/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/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/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);
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
H A DSelectCalendarsSimpleAdapter.java62 private int mOrientation; field in class:SelectCalendarsSimpleAdapter
99 mOrientation = context.getResources().getConfiguration().orientation;
342 bg |= (position == 0 && mOrientation == Configuration.ORIENTATION_LANDSCAPE) ? IS_TOP : 0;

Completed in 1145 milliseconds

12