Searched refs:mOrientation (Results 1 – 5 of 5) sorted by relevance
32 Spinner mOrientation; field in ScreenOrientation60 mOrientation = (Spinner)findViewById(R.id.orientation); in onCreate()64 mOrientation.setAdapter(adapter); in onCreate()65 mOrientation.setOnItemSelectedListener( in onCreate()
54 private float[] mOrientation = new float[3]; field in CompassActivity228 SensorManager.getOrientation(mR, mOrientation); in onSensorChanged()234 Log.d("Compass", "yaw: " + (int)(mOrientation[0]*rad2deg) + in onSensorChanged()235 " pitch: " + (int)(mOrientation[1]*rad2deg) + in onSensorChanged()236 " roll: " + (int)(mOrientation[2]*rad2deg) + in onSensorChanged()
74 private int mOrientation = VERTICAL; field in ApplicationsStackLayout97 mOrientation = a.getInt(R.styleable.ApplicationsStackLayout_stackOrientation, VERTICAL); in ApplicationsStackLayout()127 return mOrientation; in getOrientation()138 if (mOrientation == VERTICAL) { in onDraw()148 if (mOrientation == VERTICAL) { in onDraw()187 if (mOrientation == VERTICAL) { in onLayout()247 final boolean isVertical = mOrientation == VERTICAL; in stackApplications()
84 private Orientation mOrientation = Orientation.HORIZONTAL; field in FoldingLayoutActivity284 mOrientation = (mOrientation == Orientation.HORIZONTAL) ? Orientation.VERTICAL : in onOptionsItemSelected()286 item.setTitle((mOrientation == Orientation.HORIZONTAL) ? R.string.vertical : in onOptionsItemSelected()289 mFoldLayout.setOrientation(mOrientation); in onOptionsItemSelected()383 if (mOrientation == Orientation.VERTICAL) { in onScroll()
72 private Orientation mOrientation = Orientation.HORIZONTAL; field in FoldingLayout181 if (orientation != mOrientation) { in setOrientation()182 mOrientation = orientation; in setOrientation()206 return mOrientation; in getOrientation()218 prepareFold(mOrientation, mAnchorFactor, mNumberOfFolds); in updateFold()246 mOrientation = orientation; in prepareFold()