/hardware/samsung_slsi/exynos5/librotator/ |
exynos_rotator.c | 71 int rotation; member in struct:rotator_info 263 int rotation) 270 if (rotation == 90 || rotation == 270) { 478 // rotation value; 487 if (info->rotation != value) { 488 ALOGV("%s::rotation is different..", __func__); 507 if (exynos_v4l2_s_ctrl(fd, V4L2_CID_ROTATE, info->rotation) < 0) { 758 int rotation) 771 int new_rotation = rotation % 360 [all...] |
/external/chromium_org/components/policy/core/common/cloud/ |
user_cloud_policy_store.cc | 262 // rotation - make sure we request a new key from the server on our 265 DLOG(WARNING) << "Verification key rotation detected"; 268 // we've done our first key rotation). 308 // If we're doing a key rotation, clear the public key version so a future 373 // Action: Validate signature on policy blob but don't allow key rotation. 380 // Action: Validate as normal, and allow key rotation. 395 // Loading from cache, so don't allow key rotation. 406 // policy fetch, or we're doing a key rotation), so this new policy fetch 411 // rotation - the verification key will prevent invalid policy from being
|
/external/chromium_org/pdf/pdfium/ |
pdfium_page.cc | 106 base::Value* PDFiumPage::GetAccessibleContentAsValue(int rotation) { 121 GetTextBoxAsValue(height, left, top, right, bottom, rotation)); 134 int rotation) { 155 PageToScreen(pp::Point(), 1.0, left, top, right, bottom, rotation)); 243 int rotation, 251 rotation, point2.x(), point2.y(), &new_x, &new_y); local 439 int rotation) { 450 rotation, left, top, &new_left, &new_top); 457 rotation, right, bottom, &new_right, &new_bottom);
|
/external/chromium_org/third_party/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/ |
VideoCaptureAndroid.java | 99 // Request frame rotation post-capture. 313 // Sets the rotation of the preview render window. 316 private synchronized void setPreviewRotation(final int rotation) { 323 setPreviewRotationOnCameraThread(rotation, result); 333 int rotation, Exchanger<IOException> result) { 334 Log.v(TAG, "setPreviewRotation:" + rotation); 339 // the image horizontally before doing the rotation. 340 resultRotation = ( 360 - rotation ) % 360; // Compensate for the mirror. 343 resultRotation = rotation;
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
UiDevice.java | 123 * The returned display size is adjusted per screen rotation. Also this will return the actual 635 * Returns the current rotation of the display, as defined in {@link Surface} 645 * Disables the sensors and freezes the device rotation at its 646 * current rotation state. 656 * Re-enables the sensors and un-freezes the device rotation allowing its contents 657 * to rotate with the device physical rotation. During a test execution, it is best to 667 * Simulates orienting the device to the left and also freezes rotation 670 * If you want to un-freeze the rotation and re-enable the sensors 682 * Simulates orienting the device to the right and also freezes rotation 685 * If you want to un-freeze the rotation and re-enable the sensor [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
WallpaperCropActivity.java | 312 int rotation = getRotationFromExif(filePath); local 314 this, filePath, null, rotation, 0, 0, true, false, null); 333 int rotation = getRotationFromExif(res, resId); local 348 crop, rotation, outSize.x, outSize.y, true, false, onEndCrop); 471 RectF cropBounds, int rotation, int outWidth, int outHeight, 475 init(cropBounds, rotation, 480 RectF cropBounds, int rotation, int outWidth, int outHeight, 483 init(cropBounds, rotation, 488 RectF cropBounds, int rotation, int outWidth, int outHeight, 492 init(cropBounds, rotation, [all...] |
/frameworks/rs/scriptc/ |
rs_matrix.rsh | 175 * Load a rotation matrix. 177 * This function creates a rotation matrix. The axis of rotation is the 186 * @param rot How much rotation to do, in degrees. 187 * @param x The x component of the vector that is the axis of rotation. 188 * @param y The y component of the vector that is the axis of rotation. 189 * @param z The z component of the vector that is the axis of rotation. 286 * Multiply the matrix \e m with a rotation matrix. 288 * This function modifies a transformation matrix to first do a rotation. 289 * The axis of rotation is the <em>(x, y, z)</em> vector [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
WallpaperCropActivity.java | 312 int rotation = getRotationFromExif(this, uri); local 314 this, uri, null, rotation, 0, 0, true, false, null); 334 int rotation = getRotationFromExif(res, resId); local 352 crop, rotation, outSize.x, outSize.y, true, false, onEndCrop); 478 RectF cropBounds, int rotation, int outWidth, int outHeight, 482 init(cropBounds, rotation, 487 RectF cropBounds, int rotation, int outWidth, int outHeight, 490 init(cropBounds, rotation, 495 RectF cropBounds, int rotation, int outWidth, int outHeight, 499 init(cropBounds, rotation, [all...] |
/prebuilts/sdk/renderscript/include/ |
rs_matrix.rsh | 175 * Load a rotation matrix. 177 * This function creates a rotation matrix. The axis of rotation is the 186 * @param rot How much rotation to do, in degrees. 187 * @param x The x component of the vector that is the axis of rotation. 188 * @param y The y component of the vector that is the axis of rotation. 189 * @param z The z component of the vector that is the axis of rotation. 286 * Multiply the matrix \e m with a rotation matrix. 288 * This function modifies a transformation matrix to first do a rotation. 289 * The axis of rotation is the <em>(x, y, z)</em> vector [all...] |
/external/chromium_org/third_party/skia/tests/ |
MatrixTest.cpp | 387 // scales zero, only skews (rotation) 463 // rotation only 478 // rotation then uniform scale 484 // uniform scale then rotation 490 // rotation then uniform scale+reflection 502 // rotation then anisotropic scale 508 // rotation then anisotropic scale 514 // anisotropic scale then rotation 520 // anisotropic scale then rotation 526 // rotation, uniform scale, then different rotatio [all...] |
/external/pixman/demos/ |
scale.c | 193 double rotation; local 208 rotation = gtk_adjustment_get_value (app->rotate_adjustment); 220 rotation = (rotation / 360.0) * 2 * M_PI; 221 pixman_f_transform_rotate (&ftransform, NULL, cos (rotation), sin (rotation));
|
/frameworks/base/core/java/android/hardware/ |
LegacySensorManager.java | 57 public void onRotationChanged(int rotation) { 58 LegacySensorManager.onRotationChanged(rotation); 193 static void onRotationChanged(int rotation) { 195 sRotation = rotation; 315 // handles 90 and 270 rotation 335 // handles 180 (flip) and 270 (flip + 90) rotation
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
CropView.java | 113 public void initialize(Bitmap image, RectF newCropBounds, RectF newPhotoBounds, int rotation) { 119 || mRotation != rotation) { 120 mRotation = rotation; 125 mRotation = rotation; 274 private int decode(int movingEdges, float rotation) { 275 int rot = CropMath.constrainedRotation(rotation);
|
/docs/source.android.com/src/devices/sensors/ |
sensor-types.jd | 151 <p>A gyroscope sensor reports the rate of rotation of the device around the 3 153 <p>Rotation is positive in the counterclockwise direction (right-hand rule). That 155 device positioned on the origin would report positive rotation if the device 157 mathematical definition of positive rotation and does not agree with the 238 <li><a href="#game_rotation_vector">Game rotation vector</a>, based on an 248 <li> For example, the power consumption of a game rotation vector is probably equal 251 <li> As another example, the drift of a game rotation vector will depend as much on 261 you may implement the rotation vector, linear acceleration and gravity sensors 271 <td><p><a href="#game_rotation_vector">Game rotation vector</a></p></td> 277 <td><p><a href="#geomagnetic_rotation_vector">Geomagnetic rotation [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
ScreenRotationAnimation.java | 67 // animation applies a transformation while the rotation is in progress. 78 // It starts running once the new rotation UI elements are ready to be 98 // to switch to a new rotation before finishing the previous one. 208 // Screenshot does NOT include rotation! 327 public static void createRotationMatrix(int rotation, int width, int height, 329 switch (rotation) { 349 private void setRotationInTransaction(int rotation) { 350 mCurRotation = rotation; 354 // with the current screen rotation. 355 int delta = deltaRotation(rotation, Surface.ROTATION_0) [all...] |
/external/llvm/lib/Transforms/Scalar/ |
LoopRotation.cpp | 1 //===- LoopRotation.cpp - Loop Rotation Pass ------------------------------===// 10 // This file implements Loop Rotation Pass. 37 DefaultRotationThreshold("rotation-max-header-size", cl::init(16), cl::Hidden, 38 cl::desc("The default maximum header size for automatic loop rotation")); 103 // upward. Rotation may not be needed if the loop tail can be folded into the 236 /// rotation will not work anyway, but simplifyLoopLatch will put the loop in 289 /// now an exiting branch. This rotation would have happened had the latch not 292 /// rotation. LoopRotate should be repeatable and converge to a canonical 309 // suitable for loop rotation transformations. 337 // Now, this loop is suitable for rotation [all...] |
/frameworks/base/core/java/android/view/ |
Display.java | 438 * The size is adjusted based on the current rotation of the display. 477 * each rotation. For example, the status bar is always at the top of the 483 * stable UI through rotation. The sizes here take into account all standard 561 * Returns the rotation of the screen from its "natural" orientation. 563 * (no rotation), {@link Surface#ROTATION_90 Surface.ROTATION_90}, 570 * the direction it was turned. The angle is the rotation of the drawn 572 * rotation of the device. For example, if the device is rotated 90 577 @Surface.Rotation 581 return mDisplayInfo.rotation; 590 @Surface.Rotation [all...] |
RenderNode.java | 538 * Sets the rotation value for the display list around the Z axis. 540 * @param rotation The rotation value of the display list, in degrees 545 public boolean setRotation(float rotation) { 546 return nSetRotation(mNativeRenderNode, rotation); 550 * Returns the rotation value for this display list around the Z axis, in degrees. 559 * Sets the rotation value for the display list around the X axis. 561 * @param rotationX The rotation value of the display list, in degrees 571 * Returns the rotation value for this display list around the X axis, in degrees. 580 * Sets the rotation value for the display list around the Y axis [all...] |
/device/asus/flo/camera/QCamera2/stack/common/ |
mm_jpeg_interface.h | 140 /* rotation informaiton */ 141 int rotation; member in struct:__anon2775
|
/external/chromium_org/athena/screen/ |
screen_accelerator_handler.cc | 75 gfx::Display::Rotation current_rotation = 76 gfx::Screen::GetNativeScreen()->GetPrimaryDisplay().rotation();
|
/external/chromium_org/cc/animation/ |
transform_operations.h | 26 // a rotation followed by skew, it can be blended intelligently with another 27 // transform made up of a rotation followed by a skew. Blending is possible if
|
/external/chromium_org/media/base/ |
yuv_convert.h | 41 ROTATE_0, // Rotation off. 90 // Supports rotation and mirroring.
|
/external/chromium_org/media/video/capture/linux/ |
video_capture_device_linux.cc | 186 void VideoCaptureDeviceLinux::SetRotation(int rotation) { 191 base::Unretained(this), rotation)); 195 rotation_ = rotation; 199 void VideoCaptureDeviceLinux::SetRotationOnV4L2Thread(int rotation) { 201 DCHECK(rotation >= 0 && rotation < 360 && rotation % 90 == 0); 202 rotation_ = rotation;
|
/external/chromium_org/third_party/angle/samples/angle/post_sub_buffer/ |
PostSubBuffer.cpp | 80 // Set an initial rotation 162 // Current rotation
|
/external/chromium_org/third_party/angle/samples/angle/simple_vertex_shader/ |
SimpleVertexShader.cpp | 72 // Set an initial rotation 139 // Current rotation
|