/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | ScrollAdapterEditScrollListener.java | 60 private int mOrientation; field in ScrollAdapterEditScrollListener 78 mOrientation = mScrollAdapterView.getOrientation(); in startEditMode() 86 if (mOrientation == ScrollAdapterView.HORIZONTAL) { in startEditMode() 88 } else if (mOrientation == ScrollAdapterView.VERTICAL) { in startEditMode() 130 if (mOrientation == ScrollAdapterView.HORIZONTAL) { in onScrolled() 142 if (mOrientation == ScrollAdapterView.HORIZONTAL) { in onScrolled() 155 if (mOrientation == ScrollAdapterView.HORIZONTAL) { in onScrolled() 167 if (mOrientation == ScrollAdapterView.HORIZONTAL) { in onScrolled() 180 if (mOrientation == ScrollAdapterView.HORIZONTAL) { in onScrolled() 193 if (mOrientation == ScrollAdapterView.HORIZONTAL) { in onScrolled() [all …]
|
D | ScrollAdapterView.java | 166 private int mOrientation = HORIZONTAL; field in 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 == HORIZONTAL) { [all …]
|
D | ScrollController.java | 617 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/Camera/src/com/android/camera/ui/ |
D | RotateLayout.java | 38 private int mOrientation; field in RotateLayout 66 switch (mOrientation) { in onLayout() 83 switch (mOrientation) { in dispatchTouchEvent() 97 mMatrix.postRotate(mOrientation); in dispatchTouchEvent() 111 switch (mOrientation) { in dispatchDraw() 125 canvas.rotate(-mOrientation, 0, 0); in dispatchDraw() 135 switch(mOrientation) { in onMeasure() 152 switch (mOrientation) { in onMeasure() 170 mChild.setRotation(-mOrientation); in onMeasure() 183 if (mOrientation == orientation) return; in setOrientation() [all …]
|
D | FaceView.java | 49 private int mOrientation; field in FaceView 124 mOrientation = orientation; in setOrientation() 198 mMatrix.postRotate(mOrientation); // postRotate is clockwise in onDraw() 199 canvas.rotate(-mOrientation); // rotate is counter-clockwise (for canvas) in onDraw()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | RotateLayout.java | 32 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()
|
D | ZoomView.java | 51 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()
|
D | FaceView.java | 45 private int mOrientation; field in FaceView 119 mOrientation = orientation; in setOrientation() 188 mMatrix.postRotate(mOrientation); // postRotate is clockwise in onDraw() 189 canvas.rotate(-mOrientation); // rotate is counter-clockwise (for canvas) in onDraw()
|
/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()
|
/packages/apps/InCallUI/src/com/android/incallui/ |
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 | ProximitySensor.java | 45 private int mOrientation = AccelerometerListener.ORIENTATION_UNKNOWN; field in ProximitySensor 74 mOrientation = orientation; in orientationChanged() 92 mOrientation = AccelerometerListener.ORIENTATION_UNKNOWN; in onStateChange() 189 (mOrientation == AccelerometerListener.ORIENTATION_HORIZONTAL); in updateProximitySensorMode()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
D | CategoryAdapter.java | 39 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()
|
D | IconView.java | 45 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/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/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()
|
/packages/apps/Camera/src/com/android/camera/ |
D | VideoModule.java | 232 private int mOrientation = OrientationEventListener.ORIENTATION_UNKNOWN; field in VideoModule 557 int newOrientation = Util.roundOrientation(orientation, mOrientation); in onOrientationChanged() 559 if (mOrientation != newOrientation) { in onOrientationChanged() 560 mOrientation = newOrientation; in onOrientationChanged() 567 mEffectsRecorder.setOrientationHint(mOrientation); in onOrientationChanged() 1239 if (mOrientation != OrientationEventListener.ORIENTATION_UNKNOWN) { in initializeRecorder() 1242 rotation = (info.orientation - mOrientation + 360) % 360; in initializeRecorder() 1244 rotation = (info.orientation + mOrientation) % 360; in initializeRecorder() 1305 if (mOrientation != OrientationEventListener.ORIENTATION_UNKNOWN) { in initializeEffectsPreview() 1306 orientation = mOrientation; in initializeEffectsPreview() [all …]
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | LocalMediaData.java | 363 private final int mOrientation; field in LocalMediaData.PhotoData 381 mOrientation = orientation; in PhotoData() 437 return mOrientation; in getRotation() 443 + "," + mWidth + "x" + mHeight + ",orientation=" + mOrientation in toString() 479 mediaDetails.addDetail(MediaDetails.INDEX_ORIENTATION, mOrientation); in getMediaDetails() 581 .loadFromMediaStore(getUri(), mMimeType, mDateModifiedInSeconds, mOrientation) in loadUri()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | TextureViewHelper.java | 70 private int mOrientation = UNSET; field in TextureViewHelper 99 if (mWidth != width || mHeight != height || mOrientation != rotation) { in onLayoutChange() 102 mOrientation = rotation; in onLayoutChange() 257 matrix = info.getPreviewTransform(mOrientation, new RectF(0, 0, mWidth, mHeight),
|
D | PhotoUI.java | 181 private final int mOrientation; field in PhotoUI.DecodeTask 186 mOrientation = orientation; in DecodeTask() 194 if (mOrientation != 0 || mMirror) { in doInBackground() 200 m.preRotate(mOrientation); in doInBackground()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | MasterImage.java | 75 private int mOrientation; field in MasterImage 154 return mOrientation; in getOrientation() 201 mOrientation = ImageLoader.getMetadataOrientation(mActivity, uri); in loadBitmap() 205 mOrientation, originalBounds); in loadBitmap() 214 mZoomOrientation = mOrientation; in loadBitmap()
|
/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/Gallery2/src/com/android/gallery3d/filtershow/state/ |
D | StateAdapter.java | 35 private int mOrientation; field in StateAdapter 54 view.setOrientation(mOrientation); in getView() 77 mOrientation = orientation; in setOrientation()
|