/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | RotateLayout.java | 28 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()
|
D | FaceView.java | 40 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()
|
D | SecondLevelIndicatorControlBar.java | 41 int mOrientation = 0; field in SecondLevelIndicatorControlBar 65 if (mOrientation != 0) setOrientation(mOrientation); in initialize() 167 mOrientation = orientation; in setOrientation()
|
D | ZoomControlBar.java | 63 if (mOrientation == 90) { in getSliderPosition() 120 if ((orientation == 90) || (mOrientation == 90)) requestLayout(); in setOrientation() 139 if (mOrientation == 90) { in onLayout()
|
D | ZoomControl.java | 44 protected int mOrientation; field in ZoomControl 211 mOrientation = orientation; in setOrientation()
|
D | IndicatorControl.java | 48 private int mOrientation = 0; field in IndicatorControl 65 mOrientation = orientation; in setOrientation()
|
D | SharePopup.java | 62 private int mOrientation; field in SharePopup 85 r.setOrientation(mOrientation); in getView() 164 mOrientation = orientation; in setOrientation()
|
/packages/apps/Camera/src/com/android/camera/ui/ |
D | RotateLayout.java | 29 private int mOrientation; field in RotateLayout 53 switch (mOrientation) { in onLayout() 68 switch(mOrientation) { in onMeasure() 84 switch (mOrientation) { in onMeasure() 102 mChild.setRotation(-mOrientation); in onMeasure() 114 if (mOrientation == orientation) return; in setOrientation() 115 mOrientation = orientation; in setOrientation()
|
D | ZoomControlBar.java | 73 if (mOrientation == 180) { in getSliderPosition() 79 if (mOrientation == 90) { in getSliderPosition() 146 if ((orientation == 180) || (mOrientation == 180)) requestLayout(); in setOrientation() 175 if (mOrientation == 180) { in onLayout() 188 if (mOrientation == 90) { in onLayout()
|
D | FaceView.java | 40 private int mOrientation; field in FaceView 73 mOrientation = orientation; in setOrientation() 132 mMatrix.postRotate(mOrientation); // postRotate is clockwise in onDraw() 133 canvas.rotate(-mOrientation); // rotate is counter-clockwise (for canvas) in onDraw()
|
D | SecondLevelIndicatorControlBar.java | 42 int mOrientation = 0; field in SecondLevelIndicatorControlBar 72 if (mOrientation != 0) setOrientation(mOrientation, false); in initialize() 198 mOrientation = orientation; in setOrientation()
|
D | ZoomControl.java | 35 protected int mOrientation; field in ZoomControl 124 mOrientation = orientation; in setOrientation()
|
/packages/apps/Phone/src/com/android/phone/ |
D | AccelerometerListener.java | 42 private int mOrientation; field in AccelerometerListener 76 mOrientation = ORIENTATION_UNKNOWN; in enable() 99 if (mOrientation != orientation) { in setOrientation() 148 mOrientation = mPendingOrientation; 151 (mOrientation == ORIENTATION_HORIZONTAL ? "horizontal" 152 : (mOrientation == ORIENTATION_VERTICAL ? "vertical" 155 mListener.orientationChanged(mOrientation);
|
D | PhoneApp.java | 242 private int mOrientation = AccelerometerListener.ORIENTATION_UNKNOWN; field in PhoneApp 1318 (mOrientation == AccelerometerListener.ORIENTATION_HORIZONTAL); in updateProximitySensorMode() 1366 mOrientation = orientation; in orientationChanged() 1405 mOrientation = AccelerometerListener.ORIENTATION_UNKNOWN; in updatePhoneState()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | OrientationManager.java | 47 private int mOrientation = OrientationEventListener.ORIENTATION_UNKNOWN; field in OrientationManager 126 if (mOrientation == OrientationEventListener.ORIENTATION_UNKNOWN) { in updateCompensation() 131 (mOrientation + getDisplayRotation(mActivity)) % 360; in updateCompensation() 167 mOrientation = roundOrientation(orientation, mOrientation); in onOrientationChanged()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | KeyboardId.java | 62 public final int mOrientation; field in KeyboardId 80 mOrientation = orientation; in KeyboardId() 97 id.mOrientation, in computeHashCode() 118 return other.mOrientation == mOrientation in equals() 189 (mOrientation == 1 ? "port" : "land"), mWidth, in toString()
|
D | KeyboardLayoutSet.java | 117 int mOrientation; field in KeyboardLayoutSet.Params 213 return new KeyboardId(keyboardLayoutSetElementId, params.mSubtype, params.mOrientation, in getKeyboardId() 242 mParams.mOrientation = orientation; in setScreenGeometry() 283 if (mParams.mOrientation == Configuration.ORIENTATION_UNDEFINED) in build()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | HandleView.java | 33 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/Browser/src/com/android/browser/ |
D | NavScreen.java | 68 int mOrientation; field in NavScreen 77 mOrientation = activity.getResources().getConfiguration().orientation; in NavScreen() 101 if (newconfig.orientation != mOrientation) { in onConfigurationChanged() 104 mOrientation = newconfig.orientation; in onConfigurationChanged() 130 mScroller.setOrientation(mOrientation == Configuration.ORIENTATION_LANDSCAPE in init()
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
D | SelectCalendarsSimpleAdapter.java | 58 private int mOrientation; field in SelectCalendarsSimpleAdapter 85 mOrientation = context.getResources().getConfiguration().orientation; in SelectCalendarsSimpleAdapter() 293 bg |= (position == 0 && mOrientation == Configuration.ORIENTATION_LANDSCAPE) ? IS_TOP : 0; in getBackground()
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | MonthByWeekAdapter.java | 54 protected int mOrientation = Configuration.ORIENTATION_LANDSCAPE; field in MonthByWeekAdapter 236 drawingParams.put(MonthWeekEventsView.VIEW_PARAMS_ORIENTATION, mOrientation); in getView() 275 mOrientation = mContext.getResources().getConfiguration().orientation; in refresh()
|
/packages/apps/Camera/src/com/android/camera/ |
D | VideoCamera.java | 209 private int mOrientation = OrientationEventListener.ORIENTATION_UNKNOWN; field in VideoCamera 475 int newOrientation = Util.roundOrientation(orientation, mOrientation); in onOrientationChanged() 477 if (mOrientation != newOrientation) { in onOrientationChanged() 478 mOrientation = newOrientation; in onOrientationChanged() 485 mEffectsRecorder.setOrientationHint(mOrientation); in onOrientationChanged() 492 (mOrientation + Util.getDisplayRotation(VideoCamera.this)) % 360; in onOrientationChanged() 1154 if (mOrientation != OrientationEventListener.ORIENTATION_UNKNOWN) { in initializeRecorder() 1157 rotation = (info.orientation - mOrientation + 360) % 360; in initializeRecorder() 1159 rotation = (info.orientation + mOrientation) % 360; in initializeRecorder() 1205 if (mOrientation != OrientationEventListener.ORIENTATION_UNKNOWN) { in initializeEffectsPreview() [all …]
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | VideoCamera.java | 251 private int mOrientation = OrientationEventListener.ORIENTATION_UNKNOWN; field in VideoCamera 552 mOrientation = Util.roundOrientation(orientation, mOrientation); in onOrientationChanged() 555 int orientationCompensation = mOrientation in onOrientationChanged() 1249 if (mOrientation != OrientationEventListener.ORIENTATION_UNKNOWN) { in initializeRecorder() 1252 rotation = (info.orientation - mOrientation + 360) % 360; in initializeRecorder() 1254 rotation = (info.orientation + mOrientation) % 360; in initializeRecorder() 1299 if (mOrientation != OrientationEventListener.ORIENTATION_UNKNOWN) { in initializeEffectsPreview() 2370 mOrientation).show(); in onTouch() 2380 Util.setRotationParameter(mParameters, mCameraId, mOrientation); in onTouch() 2469 new RotateTextToast(this, R.string.video_snapshot_hint, mOrientation) in showTapToSnapshotToast()
|
D | Camera.java | 135 private int mOrientation = OrientationEventListener.ORIENTATION_UNKNOWN; field in Camera 1050 Util.setRotationParameter(mParameters, mCameraId, mOrientation); in capture() 1298 mOrientation = Util.roundOrientation(orientation, mOrientation); in onOrientationChanged() 1301 int orientationCompensation = mOrientation in onOrientationChanged() 2304 new RotateTextToast(this, R.string.tap_to_focus, mOrientation).show(); in showTapToFocusToast()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | AllInOneActivity.java | 165 int mOrientation; field in AllInOneActivity 366 mOrientation = res.getConfiguration().orientation; in onCreate() 367 if (mOrientation == Configuration.ORIENTATION_LANDSCAPE) { in onCreate() 416 if (mIsTabletConfig && mOrientation == Configuration.ORIENTATION_PORTRAIT) { in onCreate() 826 if (mOrientation == Configuration.ORIENTATION_LANDSCAPE) { in setControlsOffset() 1108 int animationSize = (mOrientation == Configuration.ORIENTATION_LANDSCAPE) ? in handleEvent()
|