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
319
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/packages/apps/Camera2/src/com/android/camera/captureintent/event/
EventPictureCompressed.java
23
private final int
mOrientation
;
27
mOrientation
= orientation;
35
return
mOrientation
;
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
ImageResource.java
27
protected final int
mOrientation
;
31
mOrientation
= orientation;
61
return
mOrientation
;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
ItemAlignment.java
35
private int
mOrientation
;
38
mOrientation
= orientation;
45
return ItemAlignmentFacetHelper.getAlignmentPosition(itemView, this,
mOrientation
);
49
private int
mOrientation
= HORIZONTAL;
68
mOrientation
= orientation;
69
if (
mOrientation
== HORIZONTAL) {
79
return
mOrientation
;
WindowAlignment.java
273
private int
mOrientation
= HORIZONTAL;
292
mOrientation
= orientation;
293
if (
mOrientation
== HORIZONTAL) {
303
return
mOrientation
;
/packages/apps/Camera2/src/com/android/camera/ui/
RotateLayout.java
32
private int
mOrientation
;
57
switch (
mOrientation
) {
72
switch(
mOrientation
) {
88
switch (
mOrientation
) {
106
mChild.setRotation(-
mOrientation
);
118
if (
mOrientation
== orientation) return;
119
mOrientation
= orientation;
124
return
mOrientation
;
FaceView.java
45
private int
mOrientation
;
119
mOrientation
= orientation;
170
mMatrix.postRotate(
mOrientation
); // postRotate is clockwise
171
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/Dialer/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
.
79
mOrientation
= ORIENTATION_UNKNOWN;
102
if (
mOrientation
!= orientation) {
154
mOrientation
= mPendingOrientation;
157
(
mOrientation
== ORIENTATION_HORIZONTAL ? "horizontal"
158
: (
mOrientation
== ORIENTATION_VERTICAL ? "vertical"
162
mListener.orientationChanged(
mOrientation
);
/packages/apps/Camera2/src/com/android/camera/app/
OrientationManager.java
13
private final int
mOrientation
;
15
mOrientation
= orientation;
/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) ?
/frameworks/opt/bitmap/src/com/android/bitmap/
ReusableBitmap.java
30
private int
mOrientation
;
66
return
mOrientation
;
70
mOrientation
= orientation;
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/decorator/
DividerItemDecoration.java
41
private int
mOrientation
;
54
mOrientation
= orientation;
59
if (
mOrientation
== VERTICAL_LIST) {
102
if (
mOrientation
== VERTICAL_LIST) {
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
LinearLayoutManagerWrapContentWithAspectRatioTest.java
113
int testOrientation = mConfig.
mOrientation
== VERTICAL ? HORIZONTAL : VERTICAL;
155
assertThat("first child dependant size", getSize(itemView1, mConfig.
mOrientation
),
161
assertThat("second child dependant size", getSize(itemView2, mConfig.
mOrientation
),
167
assertThat("third child dependant size", getSize(itemView3, mConfig.
mOrientation
),
201
final int totalScrollSize = getSize(itemView1, mConfig.
mOrientation
)
202
+ getSize(itemView2, mConfig.
mOrientation
)
203
+ getSize(itemView3, mConfig.
mOrientation
);
205
getSize(mRecyclerView, mConfig.
mOrientation
), CoreMatchers.is(totalScrollSize));
211
LinearLayoutManager llm = new LinearLayoutManager(getActivity(), mConfig.
mOrientation
,
FocusSearchNavigationTest.java
65
private final int
mOrientation
;
69
mOrientation
= orientation;
95
linearLayout.setOrientation(
mOrientation
);
99
layout.setOrientation(
mOrientation
);
101
mRecyclerView.setAdapter(new FocusSearchAdapter(itemCount,
mOrientation
));
102
if (
mOrientation
== VERTICAL) {
238
private int
mOrientation
;
241
mOrientation
= orientation;
249
if (
mOrientation
== VERTICAL) {
GridLayoutManagerRtlTest.java
74
if (mOneLine && mConfig.
mOrientation
!= VERTICAL) {
99
if (mConfig.
mOrientation
== HORIZONTAL) {
120
final int secondChildPos = mConfig.
mOrientation
== VERTICAL ? 1
127
if (mConfig.
mOrientation
== VERTICAL || !mConfig.mReverseLayout) {
LinearLayoutManagerWrapContentTest.java
50
unspecifiedWithHintTest(mConfig.
mOrientation
== StaggeredGridLayoutManager.HORIZONTAL);
148
LinearLayoutManager llm = new LinearLayoutManager(getActivity(), mConfig.
mOrientation
,
156
if (mConfig.
mOrientation
== HORIZONTAL) {
168
if (mConfig.
mOrientation
== VERTICAL) {
StaggeredGridLayoutManagerWrapContentTest.java
38
int
mOrientation
= StaggeredGridLayoutManager.VERTICAL;
57
unspecifiedWithHintTest(
mOrientation
== StaggeredGridLayoutManager.HORIZONTAL);
81
mOrientation
= HORIZONTAL;
141
return new StaggeredGridLayoutManager(3,
mOrientation
);
/frameworks/base/graphics/java/android/graphics/drawable/
ClipDrawable.java
80
mState.
mOrientation
= orientation;
143
state.
mOrientation
= a.getInt(
144
R.styleable.ClipDrawable_clipOrientation, state.
mOrientation
);
186
if ((mState.
mOrientation
& HORIZONTAL) != 0) {
192
if ((mState.
mOrientation
& VERTICAL) != 0) {
216
int
mOrientation
= HORIZONTAL;
223
mOrientation
= orig.
mOrientation
;
/packages/apps/Camera2/src/com/android/camera/data/
FilmstripItemData.java
45
private final int
mOrientation
;
69
mOrientation
= orientation;
143
return
mOrientation
;
173
sb.append(
mOrientation
);
193
private int
mOrientation
= 0;
211
mOrientation
,
226
builder.
mOrientation
= data.getOrientation();
272
mOrientation
= orientation;
/frameworks/base/core/java/android/view/
OrientationEventListener.java
34
private int
mOrientation
= ORIENTATION_UNKNOWN;
141
if (orientation !=
mOrientation
) {
142
mOrientation
= orientation;
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTest/java/android/databinding/testapp/
BaseDataBinderTest.java
31
private int
mOrientation
;
41
mOrientation
= orientation;
47
getActivity().setRequestedOrientation(
mOrientation
);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
StateAdapter.java
35
private int
mOrientation
;
54
view.setOrientation(
mOrientation
);
77
mOrientation
= orientation;
Completed in 627 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>