/packages/apps/Gallery2/src/com/android/photos/views/ |
TiledImageView.java | 66 int rotation; field in class:TiledImageView.ImageRendererWrapper 161 mRenderer.rotation = source != null ? source.getRotation() : 0; 250 final int rotation = mRenderer.source.getRotation(); local 251 final boolean swap = !(rotation % 180 == 0); 264 if (rotation == 90 || rotation == 180) { 269 if (rotation == 180 || rotation == 270) { 289 mRenderer.image.setModel(mRenderer.source, mRenderer.rotation); 304 mRenderer.image.setModel(mRenderer.source, mRenderer.rotation); [all...] |
/packages/apps/Launcher3/src/com/android/photos/views/ |
TiledImageView.java | 66 public int rotation; field in class:TiledImageView.ImageRendererWrapper 161 mRenderer.rotation = source != null ? source.getRotation() : 0; 250 final int rotation = mRenderer.source.getRotation(); local 251 final boolean swap = !(rotation % 180 == 0); 264 if (rotation == 90 || rotation == 180) { 269 if (rotation == 180 || rotation == 270) { 289 mRenderer.image.setModel(mRenderer.source, mRenderer.rotation); 304 mRenderer.image.setModel(mRenderer.source, mRenderer.rotation); [all...] |
/frameworks/base/core/java/android/view/ |
WindowManagerPolicy.java | 467 /** When not otherwise specified by the activity's screenOrientation, rotation should be 470 /** When not otherwise specified by the activity's screenOrientation, rotation is set by 592 public int getNonDecorDisplayWidth(int fullWidth, int fullHeight, int rotation); 599 public int getNonDecorDisplayHeight(int fullWidth, int fullHeight, int rotation); 607 public int getConfigDisplayWidth(int fullWidth, int fullHeight, int rotation); 615 public int getConfigDisplayHeight(int fullWidth, int fullHeight, int rotation); 714 * Determine the animation to run for a rotation transition based on the 730 * @param forceDefault For rotation animations only, if true ignore the [all...] |
DisplayInfo.java | 138 * The rotation of the display relative to its natural orientation. 147 public int rotation; field in class:DisplayInfo 246 && rotation == other.rotation 278 rotation = other.rotation; 305 rotation = source.readInt(); 333 dest.writeInt(rotation); 366 return rotation == Surface.ROTATION_0 || rotation == Surface.ROTATION_180 [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
CpuVideoTrackDecoder.java | 101 protected void copyFrameDataTo(FrameImage2D outputVideoFrame, int rotation) { 105 if (needSwapDimension(rotation)) { 116 if (rotation == MediaDecoder.ROTATE_NONE) { 122 // TODO: This could be optimized by including the rotation in the color conversion. 124 copyRotate(mUnrotatedBytes, outBytes, rotation); 130 * Copy the input data to the output data applying the specified rotation. 134 * @param rotation The rotation to apply 136 private void copyRotate(ByteBuffer input, ByteBuffer output, int rotation) { 140 switch (rotation) { [all...] |
/external/chromium_org/ui/gfx/ |
interpolated_transform_unittest.cc | 40 gfx::Transform rotation; local 41 rotation.Rotate(i); 43 CheckApproximatelyEqual(rotation, interpolated); 45 CheckApproximatelyEqual(rotation, interpolated); 137 scoped_ptr<ui::InterpolatedTransform> rotation( 161 rotation->SetChild(translation.release()); 162 to_return->SetChild(rotation.release()); 206 scoped_ptr<ui::InterpolatedTransform> rotation( 213 rotation.release()));
|
/external/chromium_org/ash/rotator/ |
screen_rotation.cc | 44 // No rotation required, use the identity transform. 80 scoped_ptr<ui::InterpolatedTransform> rotation( 103 rotation->SetChild(translation.release()); 104 interpolated_transform_->SetChild(rotation.release());
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
LocalImage.java | 103 public int rotation; field in class:LocalImage 143 rotation = cursor.getInt(INDEX_ORIENTATION); 165 rotation = uh.update(rotation, cursor.getInt(INDEX_ORIENTATION)); 280 int rotation = (this.rotation + degrees) % 360; local 281 if (rotation < 0) rotation += 360; 286 ExifInterface.getOrientationValueForRotation(rotation)); 303 values.put(Images.Media.ORIENTATION, rotation); [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/ |
Camera.java | 130 protected Quaternion rotation; field in class:Camera 223 rotation = new Quaternion(); 270 cam.rotation = rotation.clone(); 297 rotation.set(cam.rotation); 590 * <code>getRotation</code> retrieves the rotation quaternion of the camera. 592 * @return the rotation of the camera. 595 return rotation; 606 return rotation.getRotationColumn(2) [all...] |
/external/chromium_org/media/video/capture/android/ |
video_capture_device_android.h | 44 jint rotation,
|
/external/chromium_org/media/video/capture/win/ |
video_capture_device_mf_win.h | 62 int rotation,
|
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
webrtcvideoframe.h | 76 int64 elapsed_time, int64 time_stamp, int rotation); 85 int64 time_stamp, int rotation); 96 int rotation); 131 int64 time_stamp, int rotation);
|
webrtcvideoframe.cc | 97 int64 elapsed_time, int64 time_stamp, int rotation) { 99 pixel_height, elapsed_time, time_stamp, rotation); 106 frame->time_stamp, frame->rotation); 121 size_t pixel_height, int64 elapsed_time, int64 time_stamp, int rotation) { 126 elapsed_time, time_stamp, rotation); 244 int64 time_stamp, int rotation) { 256 rotation_ = rotation; 285 int64 elapsed_time, int64 time_stamp, int rotation) { 302 if (rotation == 90 || rotation == 270) { // If rotated swap width, height [all...] |
/external/chromium_org/ui/base/cursor/ |
cursor_loader_x11.h | 64 gfx::Display::Rotation rotation,
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/ |
PhysicsRigidBody.java | 160 * Sets the physics object rotation 161 * @param rotation the rotation of the actual physics object 163 public void setPhysicsRotation(Matrix3f rotation) { 165 Converter.convert(rotation, tempTrans.basis); 171 * Sets the physics object rotation 172 * @param rotation the rotation of the actual physics object 174 public void setPhysicsRotation(Quaternion rotation) { 176 Converter.convert(rotation, tempTrans.basis) [all...] |
/external/qemu/android/skin/ |
keyboard.h | 44 SkinRotation rotation );
|
/frameworks/base/core/java/android/app/ |
UiAutomation.java | 78 /** Rotation constant: Unfreeze rotation (rotating the device changes its rotation state). */ 81 /** Rotation constant: Freeze rotation to its current state. */ 84 /** Rotation constant: Freeze rotation to 0 degrees (natural orientation) */ 87 /** Rotation constant: Freeze rotation to 90 degrees . */ 90 /** Rotation constant: Freeze rotation to 180 degrees . * 571 final int rotation = display.getRotation(); local [all...] |
/frameworks/testing/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/ |
DumpCommand.java | 96 int rotation = display.getRotation(); local 99 AccessibilityNodeInfoDumper.dumpWindowToFile(info, dumpFile, rotation, size.x, size.y);
|
/frameworks/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/ |
DumpCommand.java | 96 int rotation = display.getRotation(); local 99 AccessibilityNodeInfoDumper.dumpWindowToFile(info, dumpFile, rotation, size.x, size.y);
|
/packages/apps/Launcher3/src/com/android/photos/ |
BitmapRegionTileSource.java | 71 public BitmapRegionTileSource(Context context, String path, int previewSize, int rotation) { 72 this(null, context, path, null, 0, previewSize, rotation); 75 public BitmapRegionTileSource(Context context, Uri uri, int previewSize, int rotation) { 76 this(null, context, null, uri, 0, previewSize, rotation); 80 Context context, int resId, int previewSize, int rotation) { 81 this(res, context, null, null, resId, previewSize, rotation); 85 Context context, String path, Uri uri, int resId, int previewSize, int rotation) { 87 mRotation = rotation;
|
/external/chromium_org/content/browser/renderer_host/media/ |
video_capture_buffer_pool.cc | 130 int rotation) { 158 if (buffer->rotation != rotation) { 159 // TODO(nick): Generalize the |rotation| mechanism. 161 buffer->rotation = rotation; 178 : rotation(0),
|
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/objects/ |
PhysicsGhostObject.java | 117 * Sets the physics object rotation 118 * @param rotation the rotation of the actual physics object 120 public void setPhysicsRotation(Matrix3f rotation) { 121 setPhysicsRotation(objectId, rotation); 124 private native void setPhysicsRotation(long objectId, Matrix3f rotation); 127 * Sets the physics object rotation 128 * @param rotation the rotation of the actual physics object 130 public void setPhysicsRotation(Quaternion rotation) { [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/objects/ |
ObjectHelper.java | 310 Quaternion rotation = localMatrix.toRotationQuat();
local 318 y = rotation.getY();
319 float z = rotation.getZ();
320 rotation.set(rotation.getX(), z, -y, rotation.getW());
328 Transform t = new Transform(translation, rotation);
367 Quaternion rotation = result.toRotationQuat();
local 374 y = rotation.getY();
375 float z = rotation.getZ(); [all...] |
/external/chromium_org/media/base/ |
video_util_unittest.cc | 247 int rotation; member in struct:media::__anon10810::VideoRotationTestData 314 int rotation = GetParam().rotation; local 315 EXPECT_TRUE((rotation >= 0) && (rotation < 360) && (rotation % 90 == 0)); 322 GetParam().height, rotation,
|
video_util.cc | 162 int rotation, // Clockwise. 167 (rotation >= 0) && (rotation < 360) && (rotation % 90 == 0)); 170 if (rotation == 180 || rotation == 270) { 171 rotation -= 180; 186 if (rotation == 0) { 191 // Rotation 180. 211 } else if (rotation == 90) [all...] |