/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
FixedRotationFilter.java | 39 private int mRotation = 0; 62 if (mRotation == 0) { 80 switch (((int)Math.round(mRotation / 90f)) % 4) {
|
/packages/apps/Gallery/src/com/android/camera/ |
RotateBitmap.java | 25 private int mRotation; 29 mRotation = 0; 34 mRotation = rotation % 360; 38 mRotation = rotation; 42 return mRotation; 56 if (mRotation != 0) { 63 matrix.postRotate(mRotation); 70 return (mRotation / 90) % 2 != 0;
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
Image.java | 43 private int mRotation; 51 mRotation = rotation; 56 return mRotation; 60 if (mRotation == degrees) return; 61 mRotation = degrees; 63 values.put(ImageColumns.ORIENTATION, mRotation);
|
/cts/tests/tests/graphics2/src/android/graphics2/cts/ |
TextureViewCameraActivity.java | 47 private float mRotation = 0f; 104 mRotation += SCREEN_ROTATION_RATE; 105 transformMatrix.setRotate(mRotation, mWidth/2, mHeight/2);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/ |
BitmapRegionTileSource.java | 63 private final int mRotation; 87 mRotation = rotation; 149 return mRotation;
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
SceneGraphRS.java | 37 int mRotation; 47 mRotation = 0; 79 mRotation -= dx; 80 if (mRotation > 360) { 81 mRotation -= 360; 83 if (mRotation < 0) { 84 mRotation += 360; 87 mScript.set_gRotate(-(float)mRotation);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
FilterRotateRepresentation.java | 34 Rotation mRotation; 86 return mRotation; 90 switch(mRotation) { 92 mRotation = Rotation.NINETY; 95 mRotation = Rotation.ONE_EIGHTY; 98 mRotation = Rotation.TWO_SEVENTY; 101 mRotation = Rotation.ZERO; 107 mRotation = r.mRotation; 114 mRotation = rotation [all...] |
/packages/apps/Gallery2/src/com/android/photos/ |
BitmapRegionTileSource.java | 59 private final int mRotation; 69 mRotation = rotation; 121 return mRotation;
|
/packages/apps/Gallery2/src/com/android/photos/shims/ |
BitmapJobDrawable.java | 43 private int mRotation = 0; 63 mRotation = mItem.getRotation(); 90 canvas.rotate(mRotation, bounds.centerX(), bounds.centerY());
|
/packages/apps/Launcher3/src/com/android/photos/ |
BitmapRegionTileSource.java | 63 private final int mRotation; 87 mRotation = rotation; 149 return mRotation;
|
/packages/apps/Camera2/src/com/android/camera/crop/ |
CropObject.java | 27 private float mRotation = 0; 84 mRotation = angle % 360; 85 mBoundedRect.setRotation(mRotation);
|
CropView.java | 53 private int mRotation = 0; 118 || mRotation != rotation) { 119 mRotation = rotation; 124 mRotation = rotation; 191 mRotation = 0; 232 if (((mRotation < 0) ? -mRotation : mRotation) % 180 == 90) { 313 mRotation)) { 373 mScreenCropBounds, mCropObj.isFixedAspect(), decode(mCropObj.getSelectState(), mRotation)); [all...] |
CropActivity.java | 365 int mRotation = 0; 394 mRotation = (rotation < 0) ? -rotation : rotation; 395 mRotation %= 360; 396 mRotation = 90 * (int) (mRotation / 90); // now mRotation is a multiple of 90 426 m.setRotate(mRotation); 446 if (mRotation > 0) { 448 m.setRotate(mRotation); 516 if (mRotation > 0) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
UriImage.java | 57 private int mRotation; 102 mRotation = Exif.getOrientation(is); 124 mRotation = Exif.getOrientation(is); 296 return mRotation;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
CropObject.java | 29 private float mRotation = 0; 86 mRotation = angle % 360; 87 mBoundedRect.setRotation(mRotation);
|
CropView.java | 54 private int mRotation = 0; 119 || mRotation != rotation) { 120 mRotation = rotation; 125 mRotation = rotation; 192 mRotation = 0; 233 if (((mRotation < 0) ? -mRotation : mRotation) % 180 == 90) { 314 mRotation)) { 374 mScreenCropBounds, mCropObj.isFixedAspect(), decode(mCropObj.getSelectState(), mRotation)); [all...] |
CropActivity.java | 368 int mRotation = 0; 397 mRotation = (rotation < 0) ? -rotation : rotation; 398 mRotation %= 360; 399 mRotation = 90 * (int) (mRotation / 90); // now mRotation is a multiple of 90 429 m.setRotate(mRotation); 449 if (mRotation > 0) { 451 m.setRotate(mRotation); 519 if (mRotation > 0) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
IWindowManagerImpl.java | 51 private final int mRotation; 58 mRotation = rotation; 72 return mRotation;
|
/frameworks/base/libs/hwui/ |
DisplayList.h | 221 if (rotation != mRotation) { 222 mRotation = rotation; 224 if (mRotation == 0.0f) { 233 return mRotation; 513 float mRotation, mRotationX, mRotationY;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
TiledImageRenderer.java | 111 protected int mRotation; 196 if (mRotation != rotation) { 197 mRotation = rotation; 277 getRange(range, mCenterX, mCenterY, mLevel, mScale, mRotation); 293 getRange(range[i - fromLevel], mCenterX, mCenterY, i, mRotation); 297 if (mRotation % 90 != 0) { 421 int rotation = mRotation;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
WallpaperCropActivity.java | 378 int mRotation; 427 mRotation = rotation; 516 if (mRotation > 0) { 517 rotateMatrix.setRotate(mRotation); 518 inverseRotateMatrix.setRotate(-mRotation); 597 if (mOutWidth > 0 && mOutHeight > 0 || mRotation > 0) { 612 if (mRotation == 0) { 618 m2.setRotate(mRotation);
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
PhotoView.java | 150 private float mRotation; 826 mMatrix.postRotate(-mRotation, getWidth() / 2, getHeight() / 2); 842 mMatrix.postRotate(mRotation, getWidth() / 2, getHeight() / 2); [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
TileImageView.java | 114 protected int mRotation; 188 layoutTiles(mCenterX, mCenterY, mScale, mRotation); 196 if (changeSize) layoutTiles(mCenterX, mCenterY, mScale, mRotation); 341 if (mRotation % 180 == 0) { 357 && mScale == scale && mRotation == rotation) return false; 361 mRotation = rotation; 401 layoutTiles(mCenterX, mCenterY, mScale, mRotation); 413 int rotation = mRotation;
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
TiledImageRenderer.java | 111 protected int mRotation; 196 if (mRotation != rotation) { 197 mRotation = rotation; 277 getRange(range, mCenterX, mCenterY, mLevel, mScale, mRotation); 293 getRange(range[i - fromLevel], mCenterX, mCenterY, i, mRotation); 297 if (mRotation % 90 != 0) { 421 int rotation = mRotation;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
WallpaperCropActivity.java | 378 int mRotation; 427 mRotation = rotation; 516 if (mRotation > 0) { 517 rotateMatrix.setRotate(mRotation); 518 inverseRotateMatrix.setRotate(-mRotation); 597 if (mOutWidth > 0 && mOutHeight > 0 || mRotation > 0) { 612 if (mRotation == 0) { 618 m2.setRotate(mRotation);
|