OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mOrientation
(Results
1 - 25
of
72
) sorted by null
1
2
3
/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(
/frameworks/av/services/camera/libcameraservice/api1/
CameraClient.h
130
int
mOrientation
; // Current display orientation
/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) ?
/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;
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)
IndicatorControl.java
48
private int
mOrientation
= 0;
65
mOrientation
= orientation;
/packages/apps/Camera2/src/com/android/camera/ui/
RotateLayout.java
30
private int
mOrientation
;
55
switch (
mOrientation
) {
70
switch(
mOrientation
) {
86
switch (
mOrientation
) {
104
mChild.setRotation(-
mOrientation
);
116
if (
mOrientation
== orientation) return;
117
mOrientation
= orientation;
122
return
mOrientation
;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
StateAdapter.java
35
private int
mOrientation
;
54
view.setOrientation(
mOrientation
);
77
mOrientation
= orientation;
/packages/apps/UnifiedEmail/src/com/android/bitmap/
ReusableBitmap.java
30
private int
mOrientation
;
66
return
mOrientation
;
70
mOrientation
= orientation;
/frameworks/support/v4/java/android/support/v4/print/
PrintHelper.java
104
int
mOrientation
= ORIENTATION_LANDSCAPE;
121
public void setOrientation(int orientation) {
mOrientation
= orientation; }
124
public int getOrientation() { return
mOrientation
; }
/hardware/qcom/display/msm8960/liboverlay/
overlayRotator.h
165
utils::eTransform
mOrientation
;
215
utils::eTransform
mOrientation
;
overlayMdp.h
125
utils::eTransform
mOrientation
; //Holds requested orientation
/hardware/qcom/display/msm8974/liboverlay/
overlayRotator.h
163
utils::eTransform
mOrientation
;
215
utils::eTransform
mOrientation
;
overlayMdp.h
126
utils::eTransform
mOrientation
; //Holds requested orientation
/hardware/qcom/display/msm8x26/liboverlay/
overlayRotator.h
161
utils::eTransform
mOrientation
;
210
utils::eTransform
mOrientation
;
overlayMdp.h
125
utils::eTransform
mOrientation
; //Holds requested 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
...]
/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
46
private int
mOrientation
= AccelerometerListener.ORIENTATION_UNKNOWN;
86
mOrientation
= orientation;
103
mOrientation
= AccelerometerListener.ORIENTATION_UNKNOWN;
213
(
mOrientation
== AccelerometerListener.ORIENTATION_HORIZONTAL);
/packages/services/Telephony/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
);
/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
34
private int
mOrientation
= ORIENTATION_UNKNOWN;
141
if (orientation !=
mOrientation
) {
142
mOrientation
= orientation;
/frameworks/native/services/surfaceflinger/
DisplayDevice.h
113
int getOrientation() const { return
mOrientation
; }
208
int
mOrientation
;
/frameworks/support/v4/kitkat/android/support/v4/print/
PrintHelperKitkat.java
85
int
mOrientation
= ORIENTATION_LANDSCAPE;
134
mOrientation
= orientation;
144
return
mOrientation
;
438
if (
mOrientation
== ORIENTATION_LANDSCAPE) {
440
} else if (
mOrientation
== ORIENTATION_PORTRAIT) {
/packages/apps/Camera/src/com/android/camera/
PreviewGestures.java
61
private int
mOrientation
;
93
mOrientation
= orientation;
247
switch (
mOrientation
) {
Completed in 897 milliseconds
1
2
3