/external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/ |
MockOrientationObserver.java | 14 public int mOrientation = -1; 19 mOrientation = orientation;
|
OrientationChangeObserverCriteria.java | 41 return !mCheckTarget || mObserver.mOrientation == mTarget;
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
RotateLayout.java | 32 private int mOrientation; 57 switch (mOrientation) { 72 switch(mOrientation) { 88 switch (mOrientation) { 106 mChild.setRotation(-mOrientation); 118 if (mOrientation == orientation) return; 119 mOrientation = orientation; 124 return mOrientation;
|
FaceView.java | 45 private int mOrientation; 119 mOrientation = orientation; 188 mMatrix.postRotate(mOrientation); // postRotate is clockwise 189 canvas.rotate(-mOrientation); // rotate is counter-clockwise (for canvas)
|
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/ |
ScreenOrientationListenerTest.java | 110 assertEquals(90, mObserver.mOrientation); 113 assertTrue(mObserver.mOrientation == 180 || 114 (ALLOW_0_FOR_180 && mObserver.mOrientation == 0)); 117 assertEquals(-90, mObserver.mOrientation); 120 assertEquals(0, mObserver.mOrientation); 127 assertEquals(0, mObserver.mOrientation); 130 assertTrue(mObserver.mOrientation == 180 || 131 (ALLOW_0_FOR_180 && mObserver.mOrientation == 0)); 138 assertEquals(90, mObserver.mOrientation); 141 assertEquals(-90, mObserver.mOrientation); [all...] |
ScreenOrientationProviderTest.java | 36 return mObserver.mOrientation == 0; 38 return mObserver.mOrientation == 180 || 39 (ALLOW_0_FOR_180 && mObserver.mOrientation == 0); 41 return mObserver.mOrientation == 90; 43 return mObserver.mOrientation == -90; 45 return mObserver.mOrientation == 0 || mObserver.mOrientation == 180; 47 return mObserver.mOrientation == 90 || mObserver.mOrientation == -90;
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
RotateLayout.java | 28 private int mOrientation; 52 switch (mOrientation) { 67 switch(mOrientation) { 83 switch (mOrientation) { 101 mChild.setRotation(-mOrientation); 107 if (mOrientation == orientation) return; 108 mOrientation = orientation;
|
ZoomControlBar.java | 63 if (mOrientation == 90) { 120 if ((orientation == 90) || (mOrientation == 90)) requestLayout(); 139 if (mOrientation == 90) {
|
FaceView.java | 40 private int mOrientation; 72 mOrientation = orientation; 129 mMatrix.postRotate(mOrientation); // postRotate is clockwise 130 canvas.rotate(-mOrientation); // rotate is counter-clockwise (for canvas)
|
/packages/apps/Camera/src/com/android/camera/ui/ |
RotateLayout.java | 38 private int mOrientation; 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 == orientation) return [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
ScrollAdapterEditScrollListener.java | 60 private int mOrientation; 78 mOrientation = mScrollAdapterView.getOrientation(); 86 if (mOrientation == ScrollAdapterView.HORIZONTAL) { 88 } else if (mOrientation == ScrollAdapterView.VERTICAL) { 130 if (mOrientation == ScrollAdapterView.HORIZONTAL) { 142 if (mOrientation == ScrollAdapterView.HORIZONTAL) { 155 if (mOrientation == ScrollAdapterView.HORIZONTAL) { 167 if (mOrientation == ScrollAdapterView.HORIZONTAL) { 180 if (mOrientation == ScrollAdapterView.HORIZONTAL) { 193 if (mOrientation == ScrollAdapterView.HORIZONTAL) [all...] |
ScrollAdapterView.java | 166 private int mOrientation = HORIZONTAL; 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); [all...] |
/packages/apps/InCallUI/src/com/android/incallui/ |
AccelerometerListener.java | 41 // mOrientation is the orientation value most recently reported to the client. 42 private int mOrientation; 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);
|
ProximitySensor.java | 45 private int mOrientation = AccelerometerListener.ORIENTATION_UNKNOWN; 74 mOrientation = orientation; 92 mOrientation = AccelerometerListener.ORIENTATION_UNKNOWN; 189 (mOrientation == AccelerometerListener.ORIENTATION_HORIZONTAL);
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
ScreenOrientationListener.java | 207 // mOrientation will be updated every time the orientation changes. When not 210 private int mOrientation; 273 obs.onScreenOrientationChanged(mOrientation); 317 int previousOrientation = mOrientation; 320 if (mOrientation == previousOrientation) { 327 observer.onScreenOrientationChanged(mOrientation); 332 * Updates |mOrientation| based on the default display rotation. 340 mOrientation = 0; 343 mOrientation = 90; 346 mOrientation = 180 [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
ScreenOrientation.java | 32 Spinner mOrientation; 60 mOrientation = (Spinner)findViewById(R.id.orientation); 64 mOrientation.setAdapter(adapter); 65 mOrientation.setOnItemSelectedListener(
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
HandleView.java | 33 private int mOrientation = ORIENTATION_HORIZONTAL; 47 mOrientation = a.getInt(R.styleable.HandleView_direction, ORIENTATION_HORIZONTAL); 59 return (mOrientation == ORIENTATION_HORIZONTAL && direction == FOCUS_DOWN) ?
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
ItemAlignment.java | 35 private int mOrientation; 43 mOrientation = orientation; 95 if (mOrientation == HORIZONTAL) { 144 private int mOrientation = HORIZONTAL; 163 mOrientation = orientation; 164 if (mOrientation == HORIZONTAL) { 174 return mOrientation;
|
WindowAlignment.java | 273 private int mOrientation = HORIZONTAL; 292 mOrientation = orientation; 293 if (mOrientation == HORIZONTAL) { 303 return mOrientation;
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
ReusableBitmap.java | 30 private int mOrientation; 66 return mOrientation; 70 mOrientation = orientation;
|
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/decorator/ |
DividerItemDecoration.java | 41 private int mOrientation; 54 mOrientation = orientation; 59 if (mOrientation == VERTICAL_LIST) { 102 if (mOrientation == VERTICAL_LIST) {
|
/frameworks/base/core/java/android/view/ |
OrientationEventListener.java | 34 private int mOrientation = ORIENTATION_UNKNOWN; 141 if (orientation != mOrientation) { 142 mOrientation = orientation;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
StateAdapter.java | 35 private int mOrientation; 54 view.setOrientation(mOrientation); 77 mOrientation = orientation;
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
ClipDrawable.java | 74 mState.mOrientation = orientation; 136 state.mOrientation = a.getInt(R.styleable.ClipDrawable_clipOrientation, state.mOrientation); 286 if ((mState.mOrientation & HORIZONTAL) != 0) { 291 if ((mState.mOrientation & VERTICAL) != 0) { 355 int mOrientation = HORIZONTAL; 374 mOrientation = orig.mOrientation;
|
/development/samples/Home/src/com/example/android/home/ |
ApplicationsStackLayout.java | 74 private int mOrientation = VERTICAL; 97 mOrientation = a.getInt(R.styleable.ApplicationsStackLayout_stackOrientation, VERTICAL); 127 return mOrientation; 138 if (mOrientation == VERTICAL) { 148 if (mOrientation == VERTICAL) { 187 if (mOrientation == VERTICAL) { 247 final boolean isVertical = mOrientation == VERTICAL;
|