Searched refs:rotation (Results 1 - 25 of 221) sorted by relevance

123456789

/external/valgrind/main/memcheck/tests/
H A Dbug287260.c5 signed int rotation : 10; member in struct:__anon33051
13 r.rotation = 45;
14 fprintf (stderr, "%d\n", r.rotation);
/external/chromium_org/athena/system/
H A Dorientation_controller.cc45 gfx::Display::Rotation rotation; local
47 rotation = gfx::Display::ROTATE_270;
49 rotation = gfx::Display::ROTATE_90;
51 rotation = gfx::Display::ROTATE_180;
53 rotation = gfx::Display::ROTATE_0;
55 // No rotation as gravity threshold was not hit.
59 if (rotation == current_rotation_)
62 current_rotation_ = rotation;
63 ScreenManager::Get()->SetRotation(rotation);
/external/opencv/cv/src/
H A Dcvposit.cpp114 CvMatr32f rotation, CvVect32f translation )
135 if( !rotation )
165 float tmp = objectVectors[i] * rotation[6] /*[2][0]*/ +
166 objectVectors[N + i] * rotation[7] /*[2][1]*/ +
167 objectVectors[2 * N + i] * rotation[8] /*[2][2]*/;
189 rotation[3*i+j] /*[i][j]*/ = 0;
192 rotation[3*i+j] /*[i][j]*/ += invMatrix[j * N + k] * imgVectors[i * N + k];
197 inorm = rotation[0] /*[0][0]*/ * rotation[0] /*[0][0]*/ +
198 rotation[
112 icvPOSIT( CvPOSITObject *pObject, CvPoint2D32f *imagePoints, float focalLength, CvTermCriteria criteria, CvMatr32f rotation, CvVect32f translation ) argument
352 cvPOSIT( CvPOSITObject * pObject, CvPoint2D32f * imagePoints, double focalLength, CvTermCriteria criteria, CvMatr32f rotation, CvVect32f translation ) argument
[all...]
/external/qemu/android/
H A Dkeycode.c15 android_keycode_rotate( AndroidKeyCode code, int rotation )
26 index = (index + rotation) & 3;
H A Dframebuffer.h26 * note the 'rotation' field: it can take values 0, 1, 2 or 3 and corresponds
27 * to a rotation that must be performed to the pixels stored in the framebuffer
28 * *before* displaying them a value of 1 corresponds to a rotation of
53 int rotation; /* rotation to be applied when displaying */ member in struct:QFrameBuffer
79 int rotation,
104 * framebuffer's internal rotation has changed. This is the rotation
110 typedef void (*QFrameBufferRotateFunc)( void* opaque, int rotation );
173 qframebuffer_rotate( QFrameBuffer* qfbuff, int rotation );
[all...]
H A Dopengles.h46 int android_showOpenglesWindow(void* window, int x, int y, int width, int height, float rotation);
/external/chromium_org/ui/base/cursor/
H A Dcursor_util.h23 gfx::Display::Rotation rotation,
30 gfx::Display::Rotation rotation,
35 gfx::Display::Rotation rotation,
H A Dcursor_loader.h22 gfx::Display::Rotation rotation() const { function in class:ui::CursorLoader
26 void set_rotation(gfx::Display::Rotation rotation) { argument
27 rotation_ = rotation;
68 // The current rotation of the mouse cursor icon.
H A Dcursor_util.cc19 gfx::Display::Rotation rotation,
22 switch (rotation) {
64 gfx::Display::Rotation rotation,
74 scale / image_rep.scale(), rotation, bitmap, hotspot);
80 gfx::Display::Rotation rotation,
83 // TODO(oshima|tdanderson): Support rotation and fractional scale factor.
18 ScaleAndRotateCursorBitmapAndHotpoint(float scale, gfx::Display::Rotation rotation, SkBitmap* bitmap, gfx::Point* hotpoint) argument
62 GetImageCursorBitmap(int resource_id, float scale, gfx::Display::Rotation rotation, gfx::Point* hotspot, SkBitmap* bitmap) argument
78 GetAnimatedCursorBitmaps(int resource_id, float scale, gfx::Display::Rotation rotation, gfx::Point* hotspot, std::vector<SkBitmap>* bitmaps) argument
H A Dimage_cursors.cc86 return cursor_loader_->rotation();
93 } else if (cursor_loader_->rotation() == display.rotation() &&
98 cursor_loader_->set_rotation(display.rotation());
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/bullet/
H A Dscenes.js23 body.rotation = {};
24 body.rotation.x = ( Math.random() * 360 ) * Math.PI / 180;
25 body.rotation.y = ( Math.random() * 360 ) * Math.PI / 180;
26 body.rotation.z = ( Math.random() * 360 ) * Math.PI / 180;
51 body.rotation = {};
52 body.rotation.x = ( Math.random() * 360 ) * Math.PI / 180;
53 body.rotation.y = ( Math.random() * 360 ) * Math.PI / 180;
54 body.rotation.z = ( Math.random() * 360 ) * Math.PI / 180;
94 body.rotation = {};
95 body.rotation
[all...]
/external/qemu/android/skin/
H A Dimage.h34 SkinRotation rotation; /* rotation */ member in struct:SkinImageDesc
72 /* get the rotation of a given image. this decrements the reference count
75 extern SkinImage* skin_image_rotate( SkinImage* source, SkinRotation rotation );
86 SkinRotation rotation,
H A Dimage.c53 rotate_image( void* data, unsigned width, unsigned height, SkinRotation rotation )
61 switch (rotation & 3)
182 h += desc->rotation*1573;
193 return (a->rotation == b->rotation &&
390 node->desc.path, node->desc.rotation, node->w*node->h );
475 if (desc->rotation == SKIN_ROTATION_0 &&
488 desc0.rotation = SKIN_ROTATION_0;
497 if (desc->rotation == SKIN_ROTATION_90 ||
498 desc->rotation
663 skin_image_clone_full( SkinImage* source, SkinRotation rotation, int blend ) argument
[all...]
/external/deqp/framework/platform/android/
H A DtcuAndroidUtil.hpp49 ScreenOrientation mapScreenRotation (ScreenRotation rotation);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowDisplay.java25 private int rotation = Surface.ROTATION_0; field in class:ShadowDisplay
61 return rotation;
125 public void setRotation(int rotation) { argument
126 this.rotation = rotation;
/external/chromium_org/media/base/android/java/src/org/chromium/media/
H A DVideoCaptureTango.java111 int rotation = getDeviceOrientation();
112 if (rotation != mDeviceOrientation) {
113 mDeviceOrientation = rotation;
116 rotation = 360 - rotation;
118 rotation = (mCameraOrientation + rotation) % 360;
171 mFrameBuffer.capacity(), rotation);
/external/chromium_org/ui/gfx/
H A Ddisplay.h74 Rotation rotation() const { return rotation_; } function in class:gfx::Display
75 void set_rotation(Rotation rotation) { rotation_ = rotation; } argument
77 void SetRotationAsDegree(int rotation);
/external/chromium_org/third_party/libjingle/source/talk/media/base/
H A Dvideocommon.cc159 int rotation,
162 if (rotation == 90 || rotation == 270) {
171 ASSERT(rotation == 0 || rotation == 90 || rotation == 180 || rotation == 270);
156 ComputeCrop(int cropped_format_width, int cropped_format_height, int frame_width, int frame_height, int pixel_width, int pixel_height, int rotation, int* cropped_width, int* cropped_height) argument
/external/chromium_org/mojo/examples/sample_app/
H A Dspinning_cube.cc253 ESMatrix rotation; local
270 rotation.m[0][0] = (one_minus_cos * xx) + cos_angle;
271 rotation.m[0][1] = (one_minus_cos * xy) - zs;
272 rotation.m[0][2] = (one_minus_cos * zx) + ys;
273 rotation.m[0][3] = 0.0F;
275 rotation.m[1][0] = (one_minus_cos * xy) + zs;
276 rotation.m[1][1] = (one_minus_cos * yy) + cos_angle;
277 rotation.m[1][2] = (one_minus_cos * yz) - xs;
278 rotation.m[1][3] = 0.0F;
280 rotation
[all...]
/external/chromium_org/ppapi/examples/compositor/
H A Dspinning_cube.cc237 ESMatrix rotation; local
254 rotation.m[0][0] = (one_minus_cos * xx) + cos_angle;
255 rotation.m[0][1] = (one_minus_cos * xy) - zs;
256 rotation.m[0][2] = (one_minus_cos * zx) + ys;
257 rotation.m[0][3] = 0.0F;
259 rotation.m[1][0] = (one_minus_cos * xy) + zs;
260 rotation.m[1][1] = (one_minus_cos * yy) + cos_angle;
261 rotation.m[1][2] = (one_minus_cos * yz) - xs;
262 rotation.m[1][3] = 0.0F;
264 rotation
[all...]
/external/chromium_org/ppapi/examples/gles2_spinning_cube/
H A Dspinning_cube.cc253 ESMatrix rotation; local
270 rotation.m[0][0] = (one_minus_cos * xx) + cos_angle;
271 rotation.m[0][1] = (one_minus_cos * xy) - zs;
272 rotation.m[0][2] = (one_minus_cos * zx) + ys;
273 rotation.m[0][3] = 0.0F;
275 rotation.m[1][0] = (one_minus_cos * xy) + zs;
276 rotation.m[1][1] = (one_minus_cos * yy) + cos_angle;
277 rotation.m[1][2] = (one_minus_cos * yz) - xs;
278 rotation.m[1][3] = 0.0F;
280 rotation
[all...]
/external/chromium_org/extensions/browser/api/system_display/
H A Ddisplay_info_provider.cc20 int RotationToDegrees(gfx::Display::Rotation rotation) { argument
21 switch (rotation) {
46 unit->rotation = RotationToDegrees(display.rotation());
/external/chromium_org/pdf/pdfium/
H A Dpdfium_page.h46 base::Value* GetAccessibleContentAsValue(int rotation);
66 Area GetCharIndex(const pp::Point& point, int rotation, int* char_index,
82 int rotation);
110 double right, double bottom, int rotation);
H A Dpdfium_range.h34 int rotation);
/external/chromium_org/third_party/webrtc/modules/video_capture/
H A Dvideo_capture_impl.cc46 VideoCaptureRotation* rotation) {
49 *rotation = kCameraRotate0;
52 *rotation = kCameraRotate90;
55 *rotation = kCameraRotate180;
58 *rotation = kCameraRotate270;
66 int32_t VideoCaptureImpl::RotationInDegrees(VideoCaptureRotation rotation, argument
68 switch (rotation) {
343 int32_t VideoCaptureImpl::SetCaptureRotation(VideoCaptureRotation rotation) { argument
346 switch (rotation){
45 RotationFromDegrees(int degrees, VideoCaptureRotation* rotation) argument

Completed in 508 milliseconds

123456789