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
47
) sorted by null
1
2
/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/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;
SecondLevelIndicatorControlBar.java
41
int
mOrientation
= 0;
65
if (
mOrientation
!= 0) setOrientation(
mOrientation
);
167
mOrientation
= orientation;
ZoomControl.java
44
protected int
mOrientation
;
211
mOrientation
= orientation;
/external/webkit/Source/WebCore/platform/graphics/android/fonts/
FontPlatformData.h
70
FontOrientation orientation() const { return
mOrientation
; }
71
void setOrientation(FontOrientation orientation) {
mOrientation
= orientation; }
123
FontOrientation
mOrientation
;
/packages/apps/Camera/src/com/android/camera/ui/
RotateLayout.java
29
private int
mOrientation
;
53
switch (
mOrientation
) {
68
switch(
mOrientation
) {
84
switch (
mOrientation
) {
102
mChild.setRotation(-
mOrientation
);
114
if (
mOrientation
== orientation) return;
115
mOrientation
= orientation;
ZoomControl.java
35
protected int
mOrientation
;
124
mOrientation
= orientation;
FaceView.java
40
private int
mOrientation
;
73
mOrientation
= orientation;
132
mMatrix.postRotate(
mOrientation
); // postRotate is clockwise
133
canvas.rotate(-
mOrientation
); // rotate is counter-clockwise (for canvas)
/frameworks/av/services/camera/libcameraservice/
CameraService.h
188
int
mOrientation
; // Current display orientation
/frameworks/base/core/java/android/webkit/
PluginFullScreenHolder.java
40
private final int
mOrientation
;
50
mOrientation
= orientation;
85
client.onShowCustomView(mLayout,
mOrientation
, mCallback);
/packages/apps/Gallery2/src/com/android/gallery3d/app/
OrientationManager.java
47
private int
mOrientation
= OrientationEventListener.ORIENTATION_UNKNOWN;
126
if (
mOrientation
== OrientationEventListener.ORIENTATION_UNKNOWN) {
131
(
mOrientation
+ getDisplayRotation(mActivity)) % 360;
167
mOrientation
= roundOrientation(orientation,
mOrientation
);
/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
);
/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;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
KeyboardId.java
62
public final int
mOrientation
;
80
mOrientation
= orientation;
97
id.
mOrientation
,
118
return other.
mOrientation
==
mOrientation
189
(
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;
/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) {
247
int
mOrientation
;
261
mOrientation
= orig.
mOrientation
;
/frameworks/native/libs/gui/
SurfaceComposerClient.cpp
94
int
mOrientation
;
98
mOrientation
(ISurfaceComposer::eOrientationUnchanged),
152
orientation =
mOrientation
;
153
mOrientation
= ISurfaceComposer::eOrientationUnchanged;
287
mOrientation
= orientation;
/frameworks/native/services/surfaceflinger/
LayerBase.h
239
int32_t getOrientation() const { return
mOrientation
; }
269
int32_t
mOrientation
;
SurfaceFlinger.h
118
int getOrientation() const { return
mOrientation
; }
134
int
mOrientation
;
/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/Calendar/src/com/android/calendar/selectcalendars/
SelectCalendarsSimpleAdapter.java
58
private int
mOrientation
;
85
mOrientation
= context.getResources().getConfiguration().orientation;
293
bg |= (position == 0 &&
mOrientation
== Configuration.ORIENTATION_LANDSCAPE) ? IS_TOP : 0;
Completed in 417 milliseconds
1
2