/development/samples/ApiDemos/src/com/example/android/apis/app/ |
ScreenOrientation.java | 32 Spinner mOrientation; 56 mOrientation = (Spinner)findViewById(R.id.orientation); 60 mOrientation.setAdapter(adapter); 61 mOrientation.setOnItemSelectedListener(
|
/packages/apps/Camera/src/com/android/camera/ui/ |
AbstractIndicator.java | 29 private int mOrientation = 0; 53 if (mOrientation != 0) { 57 matrix.preRotate(-mOrientation); 73 if (mOrientation == orientation) return; 74 mOrientation = orientation;
|
RotateRecordingTime.java | 34 private int mOrientation; 49 mOrientation = degrees % 360; 50 if (mOrientation < 0) mOrientation += 360; 61 if (mOrientation == 0 || mOrientation == 180) { 67 canvas.rotate(-mOrientation, width / 2, height / 2);
|
RotatePane.java | 32 private int mOrientation = 0; 41 switch (mOrientation) { 56 switch(mOrientation) { 72 if (mOrientation == UP) { 81 switch (mOrientation) { 102 switch (mOrientation) { 113 if (mOrientation == orientation) return; 114 mOrientation = orientation;
|
HeadUpDisplay.java | 76 private int mOrientation = 0; 262 mOrientation = orientation; 281 mPopupWindow.setOrientation(mOrientation);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
HandleView.java | 34 private int mOrientation = ORIENTATION_HORIZONTAL; 48 mOrientation = a.getInt(R.styleable.HandleView_direction, ORIENTATION_HORIZONTAL); 60 return (mOrientation == ORIENTATION_HORIZONTAL && direction == FOCUS_DOWN) ?
|
DeleteZone.java | 53 private int mOrientation; 72 mOrientation = a.getInt(R.styleable.DeleteZone_direction, ORIENTATION_HORIZONTAL); 181 if (mOrientation == ORIENTATION_HORIZONTAL) { 201 if (mOrientation == ORIENTATION_HORIZONTAL) {
|
/frameworks/base/services/camera/libcameraservice/ |
CameraService.h | 171 int mOrientation; // Current display orientation
|
/packages/apps/Phone/src/com/android/phone/ |
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);
|
PhoneApp.java | 200 private int mOrientation = AccelerometerListener.ORIENTATION_UNKNOWN; [all...] |
/development/samples/Compass/src/com/example/android/compass/ |
CompassActivity.java | 54 private float[] mOrientation = new float[3]; 228 SensorManager.getOrientation(mR, mOrientation); 234 Log.d("Compass", "yaw: " + (int)(mOrientation[0]*rad2deg) + 235 " pitch: " + (int)(mOrientation[1]*rad2deg) + 236 " roll: " + (int)(mOrientation[2]*rad2deg) +
|
/frameworks/base/core/java/android/view/ |
OrientationEventListener.java | 35 private int mOrientation = ORIENTATION_UNKNOWN; 142 if (orientation != mOrientation) { 143 mOrientation = orientation;
|
/frameworks/base/services/surfaceflinger/ |
LayerBase.h | 217 int32_t getOrientation() const { return mOrientation; } 243 int32_t mOrientation;
|
LayerBuffer.h | 187 int32_t mOrientation;
|
SurfaceFlinger.h | 139 int getOrientation() const { return mOrientation; } 155 int 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;
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
ClipDrawable.java | 67 mClipState.mOrientation = orientation; 105 mClipState.mOrientation = orientation; 201 if ((mClipState.mOrientation & HORIZONTAL) != 0) { 206 if ((mClipState.mOrientation & VERTICAL) != 0) { 243 int mOrientation; 257 mOrientation = orig.mOrientation;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/ |
ConfigurationSelector.java | [all...] |
/frameworks/base/core/java/android/widget/ |
LinearLayout.java | 54 * if {@link #mOrientation} is horizontal. 78 private int mOrientation; 208 if (mOrientation == VERTICAL) { 308 if (mOrientation == VERTICAL) { [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
RotarySelector.java | 158 private int mOrientation; 173 mOrientation = a.getInt(R.styleable.RotarySelector_orientation, HORIZONTAL); 233 return mOrientation == HORIZONTAL;
|
SlidingTab.java | 77 private int mOrientation; 451 mOrientation = a.getInt(R.styleable.SlidingTab_orientation, HORIZONTAL); 706 return mOrientation == HORIZONTAL; [all...] |
/frameworks/base/core/java/android/gesture/ |
GestureOverlayView.java | 85 private int mOrientation = ORIENTATION_VERTICAL; 167 mOrientation = a.getInt(R.styleable.GestureOverlayView_orientation, mOrientation); 195 return mOrientation; 199 mOrientation = orientation; 649 (mOrientation == ORIENTATION_VERTICAL ?
|
/frameworks/base/core/java/android/webkit/ |
BrowserFrame.java | 74 private int mOrientation = -1; 477 if (mOrientation != msg.arg1) { 478 mOrientation = msg.arg1; [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
OpenWnnJAJP.java | 342 private int mOrientation = Configuration.ORIENTATION_UNDEFINED; 598 if (mOrientation != newConfig.orientation) { 599 mOrientation = newConfig.orientation; [all...] |
/packages/apps/Camera/src/com/android/camera/ |
VideoCamera.java | 187 private int mOrientation = OrientationEventListener.ORIENTATION_UNKNOWN; 453 mOrientation = roundOrientation(orientation); 456 int orientationCompensation = mOrientation [all...] |