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

1 2 3

  /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)
SecondLevelIndicatorControlBar.java 41 int mOrientation = 0;
65 if (mOrientation != 0) setOrientation(mOrientation);
167 mOrientation = orientation;
ZoomControl.java 44 protected int mOrientation;
211 mOrientation = orientation;
  /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...]
FaceView.java 49 private int mOrientation;
124 mOrientation = orientation;
198 mMatrix.postRotate(mOrientation); // postRotate is clockwise
199 canvas.rotate(-mOrientation); // rotate is counter-clockwise (for canvas)
  /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);
  /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) ?
  /sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/devices/
State.java 27 private ScreenOrientation mOrientation;
57 return mOrientation;
61 mOrientation = orientation;
118 && mOrientation.equals(s.getOrientation())
134 hash = 31 * hash + mOrientation.ordinal();
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
OrientationManager.java 46 private int mOrientation = OrientationEventListener.ORIENTATION_UNKNOWN;
139 if (mOrientation == OrientationEventListener.ORIENTATION_UNKNOWN) {
144 (mOrientation + getDisplayRotation(mActivity)) % 360;
180 mOrientation = roundOrientation(orientation, mOrientation);
  /frameworks/base/graphics/java/android/graphics/drawable/
ClipDrawable.java 67 mClipState.mOrientation = orientation;
105 mClipState.mOrientation = orientation;
204 if ((mClipState.mOrientation & HORIZONTAL) != 0) {
209 if ((mClipState.mOrientation & VERTICAL) != 0) {
252 int mOrientation;
266 mOrientation = orig.mOrientation;
GradientDrawable.java 386 return mGradientState.mOrientation;
400 mGradientState.mOrientation = orientation;
708 switch (st.mOrientation) {
    [all...]
  /frameworks/base/core/java/android/view/
OrientationEventListener.java 34 private int mOrientation = ORIENTATION_UNKNOWN;
141 if (orientation != mOrientation) {
142 mOrientation = orientation;
  /frameworks/base/core/java/android/webkit/
PluginFullScreenHolder.java 40 private final int mOrientation;
50 mOrientation = orientation;
85 client.onShowCustomView(mLayout, mOrientation, mCallback);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
KeyboardId.java 67 public final int mOrientation;
86 mOrientation = orientation;
104 id.mOrientation,
126 && other.mOrientation == mOrientation
199 deviceFormFactor(mDeviceFormFactor), (mOrientation == 1 ? "port" : "land"), mWidth,
  /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) +
  /packages/apps/Browser/src/com/android/browser/
NavScreen.java 68 int mOrientation;
77 mOrientation = activity.getResources().getConfiguration().orientation;
101 if (newconfig.orientation != mOrientation) {
104 mOrientation = newconfig.orientation;
130 mScroller.setOrientation(mOrientation == Configuration.ORIENTATION_LANDSCAPE
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
MediaSource.java 103 private int mOrientation = 0;
303 switch (mOrientation) {
327 Log.v(TAG, "OrientationHint = " + mOrientation);
420 if (mOrientation == 0 || mOrientation == 180) {
524 if (mOrientation == 0 || mOrientation == 180) {
  /packages/apps/Camera/src/com/android/camera/
CameraActivity.java 56 private int mOrientation = OrientationEventListener.ORIENTATION_UNKNOWN;
125 mOrientation = Util.roundOrientation(orientation, mOrientation);
129 (mOrientation + Util.getDisplayRotation(CameraActivity.this)) % 360;
162 mCurrentModule.onOrientationChanged(mOrientation);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
ImageLoader.java 66 private int mOrientation = 0;
103 mOrientation = getOrientation(mContext, uri);
167 if (mOrientation > 1) {
168 mOriginalBitmapSmall = rotateToPortrait(mOriginalBitmapSmall, mOrientation);
169 mOriginalBitmapLarge = rotateToPortrait(mOriginalBitmapLarge, mOrientation);
171 mZoomOrientation = mOrientation;
  /frameworks/native/services/surfaceflinger/
DisplayDevice.h 106 int getOrientation() const { return mOrientation; }
202 int mOrientation;
  /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 ?

Completed in 717 milliseconds

1 2 3