OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mOrientation
(Results
1 - 25
of
86
) sorted by null
1
2
3
4
/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
;
ZoomView.java
50
private int
mOrientation
;
62
rotationMatrix.setRotate(
mOrientation
, 0, 0);
107
if ((
mOrientation
+ 360) % 180 == 0) {
134
rotation.setRotate(
mOrientation
);
169
mOrientation
= orientation;
FaceView.java
47
private int
mOrientation
;
130
mOrientation
= orientation;
204
mMatrix.postRotate(
mOrientation
); // postRotate is clockwise
205
canvas.rotate(-
mOrientation
); // rotate is counter-clockwise (for canvas)
/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
...]
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)
/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/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) ?
/packages/apps/UnifiedEmail/src/com/android/bitmap/
ReusableBitmap.java
30
private int
mOrientation
;
66
return
mOrientation
;
70
mOrientation
= orientation;
/frameworks/base/graphics/java/android/graphics/drawable/
ClipDrawable.java
67
mClipState.
mOrientation
= orientation;
105
mClipState.
mOrientation
= orientation;
209
if ((mClipState.
mOrientation
& HORIZONTAL) != 0) {
214
if ((mClipState.
mOrientation
& VERTICAL) != 0) {
257
int
mOrientation
;
272
mOrientation
= orig.
mOrientation
;
/frameworks/base/core/java/android/view/
OrientationEventListener.java
34
private int
mOrientation
= ORIENTATION_UNKNOWN;
141
if (orientation !=
mOrientation
) {
142
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
; }
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
StateAdapter.java
35
private int
mOrientation
;
54
view.setOrientation(
mOrientation
);
77
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) +
/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
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
CategoryAdapter.java
39
private int
mOrientation
;
96
view.setOrientation(
mOrientation
);
102
if (
mOrientation
== CategoryView.HORIZONTAL) {
109
&&
mOrientation
== CategoryView.VERTICAL) {
194
mOrientation
= orientation;
IconView.java
45
private int
mOrientation
= HORIZONTAL;
91
if (
mOrientation
== HORIZONTAL) {
127
return
mOrientation
;
131
mOrientation
= orientation;
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/
FoldingLayoutActivity.java
84
private Orientation
mOrientation
= Orientation.HORIZONTAL;
284
mOrientation
= (
mOrientation
== Orientation.HORIZONTAL) ? Orientation.VERTICAL :
286
item.setTitle((
mOrientation
== Orientation.HORIZONTAL) ? R.string.vertical :
289
mFoldLayout.setOrientation(
mOrientation
);
383
if (
mOrientation
== Orientation.VERTICAL) {
/hardware/qcom/display/msm8960/liboverlay/
overlayMdpRot.cpp
114
mOrientation
= static_cast<utils::eTransform>(r);
119
if(
mOrientation
& utils::OVERLAY_TRANSFORM_ROT_90)
140
if(
mOrientation
& utils::OVERLAY_TRANSFORM_ROT_90)
221
mOrientation
= utils::OVERLAY_TRANSFORM_0;
Completed in 6430 milliseconds
1
2
3
4