/external/chromium_org/ui/aura/test/ |
test_screen.cc | 21 bool IsRotationPortrait(gfx::Display::Rotation rotation) { 22 return rotation == gfx::Display::ROTATE_90 || 23 rotation == gfx::Display::ROTATE_270; 58 void TestScreen::SetDisplayRotation(gfx::Display::Rotation rotation) { 61 if (IsRotationPortrait(rotation) != IsRotationPortrait(display_.rotation())) { 65 display_.set_rotation(rotation); 85 switch (display_.rotation()) { [all...] |
/frameworks/base/core/java/android/view/animation/ |
RotateAnimation.java | 24 * An animation that controls the rotation of an object. This rotation takes 26 * the rotation, where (0,0) is the top left point. If not specified, (0,0) is 27 * the default rotation point. 77 * @param fromDegrees Rotation offset to apply at the start of the 80 * @param toDegrees Rotation offset to apply at the end of the animation. 92 * @param fromDegrees Rotation offset to apply at the start of the 95 * @param toDegrees Rotation offset to apply at the end of the animation. 118 * @param fromDegrees Rotation offset to apply at the start of the 121 * @param toDegrees Rotation offset to apply at the end of the animation [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Camera.java | 59 * Applies a rotation transform around the X axis. 61 * @param deg The angle of rotation around the X axis, in degrees 70 * Applies a rotation transform around the Y axis. 72 * @param deg The angle of rotation around the Y axis, in degrees 81 * Applies a rotation transform around the Z axis. 83 * @param deg The angle of rotation around the Z axis, in degrees 92 * Applies a rotation transform around all three axis. 94 * @param x The angle of rotation around the X axis, in degrees 95 * @param y The angle of rotation around the Y axis, in degrees 96 * @param z The angle of rotation around the Z axis, in degree [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
GpuVideoTrackDecoder.java | 146 protected void copyFrameDataTo(FrameImage2D outputVideoFrame, int rotation) { 156 if (rotation != 0) { 157 float[] targetCoords = getRotationCoords(rotation); 159 if (needSwapDimension(rotation)) { 198 * Get the quad coords for rotation. 199 * @param rotation applied to the frame, value is one of 201 * @return coords the calculated quad coords for the given rotation 203 private static float[] getRotationCoords(int rotation) { 204 switch(rotation) { 214 throw new IllegalArgumentException("Unsupported rotation angle.") [all...] |
CpuVideoTrackDecoder.java | 102 protected void copyFrameDataTo(FrameImage2D outputVideoFrame, int rotation) { 106 if (needSwapDimension(rotation)) { 117 if (rotation == MediaDecoder.ROTATE_NONE) { 123 // TODO: This could be optimized by including the rotation in the color conversion. 125 copyRotate(mUnrotatedBytes, outBytes, rotation); 131 * Copy the input data to the output data applying the specified rotation. 135 * @param rotation The rotation to apply 137 private void copyRotate(ByteBuffer input, ByteBuffer output, int rotation) { 141 switch (rotation) { [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
WindowOrientationListener.java | 139 * Sets the current rotation. 141 * @param rotation The current rotation. 143 public void setCurrentRotation(int rotation) { 145 mCurrentRotation = rotation; 150 * Gets the proposed rotation. 152 * This method only returns a rotation if the orientation listener is certain 153 * of its proposal. If the rotation is indeterminate, returns -1. 155 * @return The proposed rotation, or -1 if unknown. 176 * Called when the rotation view of the device has changed [all...] |
/external/ceres-solver/internal/ceres/ |
rotation_test.cc | 37 #include "ceres/rotation.h" 198 TEST(Rotation, ZeroAngleAxisToQuaternion) { 208 TEST(Rotation, SmallAngleAxisToQuaternion) { 220 TEST(Rotation, TinyAngleAxisToQuaternion) { 231 // Transforms a rotation by pi/2 around X to a quaternion. 232 TEST(Rotation, XRotationToQuaternion) { 242 TEST(Rotation, UnitQuaternionToAngleAxis) { 251 TEST(Rotation, YRotationQuaternionToAngleAxis) { 261 TEST(Rotation, ZRotationQuaternionToAngleAxis) { 270 TEST(Rotation, SmallQuaternionToAngleAxis) [all...] |
/external/chromium_org/extensions/browser/api/system_display/ |
display_info_provider.cc | 19 // Converts Rotation enum to integer. 20 int RotationToDegrees(gfx::Display::Rotation rotation) { 21 switch (rotation) { 46 unit->rotation = RotationToDegrees(display.rotation());
|
/development/perftests/panorama/feature_stab/db_vlvm/ |
db_utilities_rotation.h | 30 * \defgroup LMRotation (LM) Rotation Utilities (quaternions, orthonormal) 34 Takes a unit quaternion and gives its corresponding rotation matrix. 35 \param R rotation matrix (out)
|
/external/chromium_org/third_party/skia/src/core/ |
SkMatrixUtils.h | 43 /** Decomposes the upper-left 2x2 of the matrix into a rotation (represented by 44 the cosine and sine of the rotation angle), followed by a non-uniform scale, 45 followed by another rotation. If there is a reflection, one of the scale
|
/external/skia/src/core/ |
SkMatrixUtils.h | 43 /** Decomposes the upper-left 2x2 of the matrix into a rotation (represented by 44 the cosine and sine of the rotation angle), followed by a non-uniform scale, 45 followed by another rotation. If there is a reflection, one of the scale
|
/frameworks/base/core/java/android/transition/ |
Rotate.java | 25 * This transition captures the rotation property of targets before and after 32 private static final String PROPNAME_ROTATION = "android:rotate:rotation"; 55 return ObjectAnimator.ofFloat(view, View.ROTATION,
|
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
db_utilities_rotation.h | 30 * \defgroup LMRotation (LM) Rotation Utilities (quaternions, orthonormal) 34 Takes a unit quaternion and gives its corresponding rotation matrix. 35 \param R rotation matrix (out)
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
db_utilities_rotation.h | 30 * \defgroup LMRotation (LM) Rotation Utilities (quaternions, orthonormal) 34 Takes a unit quaternion and gives its corresponding rotation matrix. 35 \param R rotation matrix (out)
|
/development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/ |
CardView.java | 134 PropertyValuesHolder rotation = PropertyValuesHolder.ofFloat(View.ROTATION_Y, local 142 ObjectAnimator cardAnimator = ObjectAnimator.ofPropertyValuesHolder(this, rotation, 250 * Returns a rotation animation which rotates this card by some degree about 258 int rotation = cardFromTop * ROTATION_PER_CARD; 261 rotation = -rotation; 265 rotation = 0; 268 return ObjectAnimator.ofFloat(this, View.ROTATION, rotation); 272 * Returns a full rotation animator which rotates this card by 360 degree [all...] |
/external/eigen/Eigen/ |
Jacobi | 15 * In addition to listed classes, it defines the two following MatrixBase methods to apply a Jacobi or Givens rotation:
|
/external/libunwind/src/ia64/ |
regs.h | 28 /* Apply rotation to a general register. REG must be in the range 0-127. */ 43 preg = reg + rrb_gr; /* apply rotation */ 52 /* Apply rotation to a floating-point register. The number REG must 66 preg = reg + rrb_fr; /* apply rotation */
|
/external/qemu/android/ |
framebuffer.c | 79 int rotation, 84 rotation &= 3; 194 qframebuffer_rotate( QFrameBuffer* qfbuff, int rotation ) 198 if ((rotation ^ qfbuff->rotation) & 1) { 199 /* swap width and height if new rotation requires it */ 209 qfbuff->rotation = rotation; 212 extra->fb_rotate( extra->fb_opaque, rotation );
|
/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/ |
clouds.rs | 95 static float rotation[5]; 135 rotate(gVSConstants->layer0, rotation[0]); 136 rotate(gVSConstants->layer1, rotation[1]); 137 rotate(gVSConstants->layer2, rotation[2]); 138 rotate(gVSConstants->layer3, rotation[3]); 139 rotate(gVSConstants->layer4, rotation[4]); 181 rotation[0] += 0.100f * timedelta; 182 rotation[1] += 0.102f * timedelta; 183 rotation[2] += 0.106f * timedelta; 184 rotation[3] += 0.114f * timedelta [all...] |
/frameworks/base/docs/html/guide/topics/sensors/ |
sensors_motion.jd | 2 page.tags=sensorevent,accelerometer,gyroscope,gravity,rotation,stepcounter 14 <li><a href="#sensors-motion-rotate">Using the Rotation Vector Sensor</a></li> 51 rotation vector sensors). For example, on some devices the software-based sensors derive their data 57 <p>Motion sensors are useful for monitoring device movement, such as tilt, shake, rotation, or 71 acceleration force data for the three coordinate axes, and the gyroscope returns rate of rotation 116 <td>Rate of rotation around the x axis.</td> 121 <td>Rate of rotation around the y axis.</td> 125 <td>Rate of rotation around the z axis.</td> 130 <td>Rate of rotation (without drift compensation) around the x axis.</td> 135 <td>Rate of rotation (without drift compensation) around the y axis.</td [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
webrtcvideoframe.cc | 116 int64 elapsed_time, int64 time_stamp, int rotation) { 118 pixel_height, elapsed_time, time_stamp, rotation); 125 frame->time_stamp, frame->rotation); 129 if (CanonicalFourCC(frame->fourcc) != FOURCC_I420 || frame->rotation != 0 || 142 frame->rotation); 159 size_t pixel_height, int64 elapsed_time, int64 time_stamp, int rotation) { 164 elapsed_time, time_stamp, rotation); 278 int64 time_stamp, int rotation) { 290 rotation_ = rotation; 304 int64 elapsed_time, int64 time_stamp, int rotation) { [all...] |
/hardware/intel/img/psb_video/src/android/ |
psb_output_android.c | 291 int rotation = 0, widi = 0; 293 int srf_rotate; /* primary surface rotation */ 329 /* need to handle VA rotation, and set WM rotate to 0 330 * for Android, MIPI0/HDMI has the same WM rotation always 372 psb_android_surfaceflinger_status(android_isurface, &output->sf_composition, &rotation, &widi); 389 /* only care local rotation */ 390 delta_rotation = Rotation2Angle(driver_data->mipi0_rotation) - Rotation2Angle(rotation); 393 drv_debug_msg(VIDEO_DEBUG_GENERAL, "New rotation degree %d of MIPI0 WM, Need to recalc rotation\n", rotation); [all...] |
/external/chromium_org/athena/system/ |
orientation_controller.h | 37 // The last configured rotation. 38 gfx::Display::Rotation current_rotation_;
|
/external/chromium_org/media/base/android/java/src/org/chromium/media/ |
VideoCaptureAndroid.java | 186 int rotation = getDeviceOrientation(); local 187 if (rotation != mDeviceOrientation) { 188 mDeviceOrientation = rotation; 191 rotation = 360 - rotation; 193 rotation = (mCameraOrientation + rotation) % 360; 195 data, mExpectedFrameSize, rotation);
|
VideoCaptureTango.java | 111 int rotation = getDeviceOrientation(); local 112 if (rotation != mDeviceOrientation) { 113 mDeviceOrientation = rotation; 116 rotation = 360 - rotation; 118 rotation = (mCameraOrientation + rotation) % 360; 171 mFrameBuffer.capacity(), rotation);
|