HomeSort by relevance Sort by last modified time
    Searched refs:mOrientation (Results 1 - 25 of 32) sorted by null

1 2

  /packages/apps/Camera/src/com/android/camera/ui/
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;
AbstractIndicator.java 29 private int mOrientation = 0;
53 if (mOrientation != 0) {
57 matrix.preRotate(-mOrientation);
73 if (mOrientation == orientation) return;
74 mOrientation = orientation;
HeadUpDisplay.java 76 private int mOrientation = 0;
262 mOrientation = orientation;
281 mPopupWindow.setOrientation(mOrientation);
  /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/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...]
  /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/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;
GradientDrawable.java 501 switch (st.mOrientation) {
687 st.mOrientation = Orientation.LEFT_RIGHT;
690 st.mOrientation = Orientation.BL_TR;
693 st.mOrientation = Orientation.BOTTOM_TOP;
696 st.mOrientation = Orientation.BR_TL;
699 st.mOrientation = Orientation.RIGHT_LEFT;
702 st.mOrientation = Orientation.TR_BL;
705 st.mOrientation = Orientation.TOP_BOTTOM;
708 st.mOrientation = Orientation.TL_BR;
    [all...]
  /frameworks/base/core/java/android/view/
OrientationEventListener.java 35 private int mOrientation = ORIENTATION_UNKNOWN;
142 if (orientation != mOrientation) {
143 mOrientation = orientation;
  /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;
  /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/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/services/surfaceflinger/
LayerBase.h 217 int32_t getOrientation() const { return mOrientation; }
243 int32_t mOrientation;
SurfaceFlinger.h 139 int getOrientation() const { return mOrientation; }
155 int mOrientation;
LayerBuffer.h 187 int32_t mOrientation;
  /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/services/camera/libcameraservice/
CameraService.h 171 int mOrientation; // Current display orientation
CameraService.cpp 325 mOrientation = getOrientation(0, mCameraFacing == CAMERA_FACING_FRONT);
532 mOrientation,
569 mOrientation);
834 if (mOrientation != orientation) {
835 mOrientation = orientation;
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/
ConfigurationSelector.java     [all...]
  /frameworks/base/core/java/android/webkit/
BrowserFrame.java 74 private int mOrientation = -1;
477 if (mOrientation != msg.arg1) {
478 mOrientation = msg.arg1;
    [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;
  /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...]

Completed in 341 milliseconds

1 2