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

12

/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;
H A DIndicatorControl.java48 private int mOrientation = 0; field in class:IndicatorControl
65 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/Gallery2/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.java50 private int mOrientation; field in class:FaceView
127 mOrientation = orientation;
209 mMatrix.postRotate(mOrientation); // postRotate is clockwise
210 canvas.rotate(-mOrientation); // rotate is counter-clockwise (for canvas)
/packages/apps/Phone/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/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DKeyboardId.java62 public final int mOrientation; field in class:KeyboardId
80 mOrientation = params.mOrientation;
104 id.mOrientation,
126 return other.mOrientation == mOrientation
188 final String orientation = (mOrientation == Configuration.ORIENTATION_PORTRAIT)
/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.java54 private int mOrientation = LinearLayout.VERTICAL; field in class:StateView
157 if (mOrientation == LinearLayout.HORIZONTAL) {
263 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/Gallery2/src/com/android/gallery3d/filtershow/cache/
H A DImageLoader.java76 private int mOrientation = 0; field in class:ImageLoader
122 mOrientation = getOrientation(mContext, uri);
208 if (mOrientation > 1) {
209 mOriginalBitmapSmall = rotateToPortrait(mOriginalBitmapSmall, mOrientation);
210 mOriginalBitmapLarge = rotateToPortrait(mOriginalBitmapLarge, mOrientation);
212 mOriginalBitmapHighres = rotateToPortrait(mOriginalBitmapHighres, mOrientation);
215 mZoomOrientation = mOrientation;
/packages/apps/Camera/src/com/android/camera/
H A DPreviewGestures.java61 private int mOrientation; field in class:PreviewGestures
93 mOrientation = orientation;
247 switch (mOrientation) {
H A DVideoModule.java232 private int mOrientation = OrientationEventListener.ORIENTATION_UNKNOWN; field in class:VideoModule
557 int newOrientation = Util.roundOrientation(orientation, mOrientation);
559 if (mOrientation != newOrientation) {
560 mOrientation = newOrientation;
567 mEffectsRecorder.setOrientationHint(mOrientation);
1235 // Note that mOrientation here is the device orientation, which is the opposite of
1239 if (mOrientation != OrientationEventListener.ORIENTATION_UNKNOWN) {
1242 rotation = (info.orientation - mOrientation + 360) % 360;
1244 rotation = (info.orientation + mOrientation) % 360;
1305 if (mOrientation !
[all...]
/packages/apps/Gallery2/src/com/android/camera/
H A DPreviewGestures.java68 private int mOrientation; field in class:PreviewGestures
110 mOrientation = orientation;
299 switch (mOrientation) {
H A DVideoModule.java185 private int mOrientation = OrientationEventListener.ORIENTATION_UNKNOWN; field in class:VideoModule
446 mOrientation).show();
462 int rotation = Util.getJpegRotation(mCameraId, mOrientation);
513 int newOrientation = Util.roundOrientation(orientation, mOrientation);
515 if (mOrientation != newOrientation) {
516 mOrientation = newOrientation;
523 mEffectsRecorder.setOrientationHint(mOrientation);
1207 // Note that mOrientation here is the device orientation, which is the opposite of
1211 if (mOrientation != OrientationEventListener.ORIENTATION_UNKNOWN) {
1214 rotation = (info.orientation - mOrientation
[all...]
/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/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/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 725 milliseconds

12