/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/Camera2/src/com/android/camera/ui/ |
ZoomView.java | 51 private int mOrientation; 84 rotationMatrix.setRotate(mOrientation, 0, 0); 128 if ((mOrientation + 360) % 180 == 0) { 159 rotation.setRotate(mOrientation); 209 mOrientation = orientation;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
ScrollAdapterView.java | 161 private int mOrientation = HORIZONTAL; 537 mOrientation = orientation; 542 return mOrientation; 578 if (mOrientation == HORIZONTAL) { 682 (mOrientation == HORIZONTAL ? View.FOCUS_RIGHT : View.FOCUS_DOWN) : 683 (mOrientation == HORIZONTAL ? View.FOCUS_LEFT : View.FOCUS_UP); [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
FileImageRequest.java | 79 mOrientation = ImageUtils.getOrientation(getInputStreamForResource()); 81 getOrientationParams(mOrientation).invertDimensions) {
|
ImageRequest.java | 48 protected int mOrientation; 124 return new DecodedImageResource(getKey(), loadedBitmap, mOrientation); 150 mOrientation = ImageUtils.getOrientation(getInputStreamForResource()); 162 if (ExifInterface.getOrientationParams(mOrientation).invertDimensions) {
|
DecodedImageResource.java | 41 private final int mOrientation; 47 mOrientation = orientation; 104 return mOrientation;
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
WindowAlignment.java | 273 private int mOrientation = HORIZONTAL; 292 mOrientation = orientation; 293 if (mOrientation == HORIZONTAL) { 303 return mOrientation;
|
GridLayoutManager.java | 218 if (mOrientation == HORIZONTAL) { 331 if (mOrientation == HORIZONTAL) { 389 private int mOrientation = HORIZONTAL; 613 mOrientation = orientation; 620 if (mOrientation == HORIZONTAL) { 725 if (mOrientation == HORIZONTAL) { 733 if (mOrientation == HORIZONTAL) { 861 return mOrientation == HORIZONTAL || mNumRows > 1; 868 return mOrientation == VERTICAL || mNumRows > 1; 916 return (mOrientation == HORIZONTAL) ? getOpticalLeft(v) : getOpticalTop(v) [all...] |
/packages/apps/InCallUI/src/com/android/incallui/ |
ProximitySensor.java | 47 private int mOrientation = AccelerometerListener.ORIENTATION_UNKNOWN; 83 mOrientation = orientation; 101 mOrientation = AccelerometerListener.ORIENTATION_UNKNOWN; 222 (mOrientation == AccelerometerListener.ORIENTATION_HORIZONTAL);
|
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/ |
TargetControlPane.java | 85 private int mOrientation = 0; 161 mOrientation = orientation; 163 mCurrentOutput.setUiOrientation(mOrientation); 256 mCurrentOutput.setUiOrientation(mOrientation);
|
/frameworks/base/core/java/android/view/ |
OrientationEventListener.java | 34 private int mOrientation = ORIENTATION_UNKNOWN; 141 if (orientation != mOrientation) { 142 mOrientation = orientation;
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
ZoomControlBar.java | 63 if (mOrientation == 90) { 120 if ((orientation == 90) || (mOrientation == 90)) requestLayout(); 139 if (mOrientation == 90) {
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
StaggeredGridLayoutManagerTest.java | 82 mAdapter = new GridTestAdapter(config.mItemCount, config.mOrientation); 87 config.mOrientation); 186 if (config.mOrientation == HORIZONTAL) { 206 final int size = config.mOrientation == HORIZONTAL ? child.getWidth() 242 View child1 = mLayoutManager.findViewByPosition(config.mOrientation == VERTICAL ? 1 247 if (config.mOrientation == VERTICAL || !config.mReverseLayout) { 553 if (config.mOrientation == LinearLayoutManager.HORIZONTAL) { 582 if (config.mOrientation == HORIZONTAL) { [all...] |
GridLayoutManagerTest.java | 75 mGlm = new WrappedGridLayoutManager(getActivity(), config.mSpanCount, config.mOrientation, 177 if (config.mOrientation == HORIZONTAL) { 195 if (config.mOrientation == HORIZONTAL) { 208 final int size = config.mOrientation == HORIZONTAL ? child.getWidth() 228 if (oneLine && config.mOrientation != VERTICAL) { 256 final int secondChildPos = config.mOrientation == VERTICAL ? 1 263 if (config.mOrientation == VERTICAL || !config.mReverseLayout) { 322 final boolean vertical = config.mOrientation == GridLayoutManager.VERTICAL; 627 if (config.mOrientation == HORIZONTAL) { 643 if (config.mOrientation == HORIZONTAL) [all...] |
LinearLayoutManagerTest.java | 99 mLayoutManager = new WrappedLinearLayoutManager(getActivity(), config.mOrientation, 176 if (config.mOrientation == HORIZONTAL) { 192 if (config.mOrientation == HORIZONTAL) { 363 if (config.mOrientation == HORIZONTAL) { 422 .createOrientationHelper(mLayoutManager, config.mOrientation); 551 if (config.mOrientation == HORIZONTAL) { [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
MediaSource.java | 95 private int mOrientation = 0; 295 switch (mOrientation) { 319 Log.v(TAG, "OrientationHint = " + mOrientation); 412 if (mOrientation == 0 || mOrientation == 180) { 516 if (mOrientation == 0 || mOrientation == 180) {
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
GridLayoutManager.java | 122 if (mOrientation == HORIZONTAL) { 134 if (mOrientation == VERTICAL) { 153 if (mOrientation == HORIZONTAL) { 477 if (mOrientation == VERTICAL) { 498 if (mOrientation == VERTICAL) { 509 if (mOrientation == VERTICAL) { 529 if (mOrientation == VERTICAL) { 567 if (capBothSpecs || mOrientation == VERTICAL) { 571 if (capBothSpecs || mOrientation == HORIZONTAL) { 603 if (mOrientation == VERTICAL && isLayoutRTL()) { // start from last spa [all...] |
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/ |
FoldingLayout.java | 72 private Orientation mOrientation = Orientation.HORIZONTAL; 181 if (orientation != mOrientation) { 182 mOrientation = orientation; 206 return mOrientation; 218 prepareFold(mOrientation, mAnchorFactor, mNumberOfFolds); 246 mOrientation = orientation;
|
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) {
|
/frameworks/base/core/java/android/gesture/ |
GestureOverlayView.java | 86 private int mOrientation = ORIENTATION_VERTICAL; 173 mOrientation = a.getInt(R.styleable.GestureOverlayView_orientation, mOrientation); 201 return mOrientation; 205 mOrientation = orientation; 658 (mOrientation == ORIENTATION_VERTICAL ?
|
/packages/apps/Camera2/src/com/android/camera/ |
TextureViewHelper.java | 69 private int mOrientation = UNSET; 108 if (mWidth != width || mHeight != height || mOrientation != rotation) { 111 mOrientation = rotation; 358 mOrientation = CameraUtil.getDisplayRotation(); 359 matrix = getPreviewRotationalTransform(mOrientation, 365 matrix = info.getPreviewTransform(mOrientation, new RectF(0, 0, mWidth, mHeight),
|
/frameworks/support/v4/java/android/support/v4/print/ |
PrintHelper.java | 117 int mOrientation = ORIENTATION_LANDSCAPE; 134 public void setOrientation(int orientation) { mOrientation = orientation; } 137 public int getOrientation() { return mOrientation; }
|
/hardware/qcom/display/msm8084/liboverlay/ |
overlayMdpRot.cpp | 111 mOrientation = static_cast<utils::eTransform>(r); 116 if(mOrientation & utils::OVERLAY_TRANSFORM_ROT_90) 217 mOrientation = utils::OVERLAY_TRANSFORM_0;
|
/hardware/qcom/display/msm8226/liboverlay/ |
overlayMdpRot.cpp | 130 mOrientation = static_cast<utils::eTransform>(r); 135 if(mOrientation & utils::OVERLAY_TRANSFORM_ROT_90) 236 mOrientation = utils::OVERLAY_TRANSFORM_0;
|
/hardware/qcom/display/msm8960/liboverlay/ |
overlayMdssRot.cpp | 108 mOrientation = static_cast<utils::eTransform>(flags); 113 if(mOrientation & utils::OVERLAY_TRANSFORM_ROT_90) 239 mOrientation = utils::OVERLAY_TRANSFORM_0;
|