Searched refs:mOrientation (Results 1 - 6 of 6) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/app/
H A DScreenOrientation.java32 Spinner mOrientation; field in class:ScreenOrientation
60 mOrientation = (Spinner)findViewById(R.id.orientation);
64 mOrientation.setAdapter(adapter);
65 mOrientation.setOnItemSelectedListener(
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/decorator/
H A DDividerItemDecoration.java41 private int mOrientation; field in class:DividerItemDecoration
54 mOrientation = orientation;
59 if (mOrientation == VERTICAL_LIST) {
102 if (mOrientation == VERTICAL_LIST) {
/development/samples/Home/src/com/example/android/home/
H A DApplicationsStackLayout.java74 private int mOrientation = VERTICAL; field in class:ApplicationsStackLayout
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/
H A DCompassActivity.java54 private float[] mOrientation = new float[3]; field in class:CompassActivity
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) +
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/
H A DFoldingLayoutActivity.java84 private Orientation mOrientation = Orientation.HORIZONTAL; field in class:FoldingLayoutActivity
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) {
H A DFoldingLayout.java72 private Orientation mOrientation = Orientation.HORIZONTAL; field in class:FoldingLayout
181 if (orientation != mOrientation) {
182 mOrientation = orientation;
206 return mOrientation;
218 prepareFold(mOrientation, mAnchorFactor, mNumberOfFolds);
246 mOrientation = orientation;

Completed in 179 milliseconds