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

12

/packages/apps/Camera2/src/com/android/camera/captureintent/event/
H A DEventPictureCompressed.java23 private final int mOrientation; field in class:EventPictureCompressed
27 mOrientation = orientation;
35 return 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/Messaging/src/com/android/messaging/datamodel/media/
H A DImageResource.java27 protected final int mOrientation; field in class:ImageResource
31 mOrientation = orientation;
61 return mOrientation;
H A DImageRequest.java48 protected int mOrientation; field in class:ImageRequest
124 return new DecodedImageResource(getKey(), loadedBitmap, mOrientation);
150 mOrientation = ImageUtils.getOrientation(getInputStreamForResource());
162 if (ExifInterface.getOrientationParams(mOrientation).invertDimensions) {
H A DDecodedImageResource.java41 private final int mOrientation; field in class:DecodedImageResource
47 mOrientation = orientation;
104 return mOrientation;
/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 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;
H A DFaceView.java45 private int mOrientation; field in class:FaceView
119 mOrientation = orientation;
170 mMatrix.postRotate(mOrientation); // postRotate is clockwise
171 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;
/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/Camera2/src/com/android/camera/app/
H A DOrientationManager.java13 private final int mOrientation; field in class:OrientationManager.DeviceNaturalOrientation
15 mOrientation = orientation;
/packages/apps/Dialer/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.
79 mOrientation = ORIENTATION_UNKNOWN;
102 if (mOrientation != orientation) {
154 mOrientation = mPendingOrientation;
157 (mOrientation == ORIENTATION_HORIZONTAL ? "horizontal"
158 : (mOrientation == ORIENTATION_VERTICAL ? "vertical"
162 mListener.orientationChanged(mOrientation);
H A DProximitySensor.java51 private int mOrientation = AccelerometerListener.ORIENTATION_UNKNOWN; field in class:ProximitySensor
95 mOrientation = orientation;
113 mOrientation = AccelerometerListener.ORIENTATION_UNKNOWN;
240 (mOrientation == AccelerometerListener.ORIENTATION_HORIZONTAL);
/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/Camera2/src/com/android/camera/data/
H A DFilmstripItemData.java45 private final int mOrientation; field in class:FilmstripItemData
69 mOrientation = orientation;
143 return mOrientation;
173 sb.append(mOrientation);
193 private int mOrientation = 0; field in class:FilmstripItemData.Builder
211 mOrientation,
226 builder.mOrientation = data.getOrientation();
272 mOrientation = orientation;
/packages/apps/DevCamera/src/com/android/devcamera/
H A DPreviewOverlay.java46 private int mOrientation = 0; // degrees field in class:PreviewOverlay
83 mOrientation = orientation;
100 // mOrientation is the relative orientation of the camera sensor and the device native
104 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 765 milliseconds

12