HomeSort by relevance Sort by last modified time
    Searched refs:orientation (Results 251 - 275 of 681) sorted by null

<<11121314151617181920>>

  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/
BitmapImage.cpp 86 // Since we don't have a decoder, we can't figure out the image orientation.
311 ImageOrientation orientation = DefaultImageOrientation;
313 orientation = frameOrientationAtIndex(m_currentFrame);
316 if (orientation != DefaultImageOrientation) {
323 ctxt->concatCTM(orientation.transformFromDefault(normDstRect.size()));
325 if (orientation.usesWidthAsHeight()) {
326 // The destination rect will have it's width and height already reversed for the orientation of
  /frameworks/native/services/surfaceflinger/
DisplayDevice.cpp 127 // initialize the display orientation transform.
367 int orientation, int w, int h, Transform* tr)
370 switch (orientation) {
390 void DisplayDevice::setProjection(int orientation,
399 DisplayDevice::orientationToTransfrom(orientation, w, h, &R);
414 // viewport is always specified in the logical orientation
440 // The viewport and frame are both in the logical orientation.
442 // physical translation and finally rotate to the physical orientation.
454 mOrientation = orientation;
  /packages/apps/Camera2/src/com/android/camera/ui/
CameraControls.java 61 int orientation = getResources().getConfiguration().orientation; local
92 center(mShutter, l, t, r, b, orientation, rotation, shutter);
93 center(mBackgroundView, l, t, r, b, orientation, rotation, new Rect());
107 private void center(View v, int l, int t, int r, int b, int orientation, int rotation, Rect result) {
  /packages/apps/VideoEditor/src/com/android/videoeditor/util/
ImageUtils.java 131 final int orientation = exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, local
135 Log.d(TAG, "Exif orientation: " + orientation);
140 switch (orientation) {
161 * Rotates an image according to the specified {@code orientation}.
166 * @param orientation The rotation angle
169 private static void rotateAndScaleImage(String inputFilename, int orientation, File outputFile)
202 mtx.postRotate(orientation);
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
CameraStreamer.java 131 public void onUpdateCameraOrientation(int orientation) {
132 if (orientation % 180 != 0) {
306 public void onUpdateCameraOrientation(int orientation) {
307 super.onUpdateCameraOrientation(orientation);
308 mRunner.mCamera.setDisplayOrientation(orientation);
633 public void onUpdateCameraOrientation(int orientation) {
634 super.onUpdateCameraOrientation(orientation);
636 switch (orientation) {
651 switch (orientation) {
803 /** The camera and screen orientation. *
    [all...]
  /packages/apps/Camera2/src/com/android/camera/
PhotoModule.java 149 // The degrees of the device rotated clockwise from its natural orientation.
263 // Set the display orientation if display rotation has changed.
583 // Delay the toast for one second to wait for orientation.
715 int orientation = Exif.getOrientation(exif); local
721 if ((mJpegRotation + orientation) % 180 == 0) {
760 orientation, exif, mOnMediaSavedListener, mContentResolver);
763 mUI.animateCapture(jpegData, orientation, mMirror);
767 mUI.showCapturedImageForReview(jpegData, orientation, mMirror);
885 int orientation; local
886 // We need to be consistent with the framework orientation (i.e. th
1023 int orientation = Exif.getOrientation(exif); local
1938 float[] orientation = new float[3]; local
    [all...]
  /frameworks/base/services/input/
InputReader.cpp 103 static int32_t rotateValueUsingRotationMap(int32_t value, int32_t orientation,
105 if (orientation != DISPLAY_ORIENTATION_0) {
108 return map[i][orientation];
126 static int32_t rotateKeyCode(int32_t keyCode, int32_t orientation) {
127 return rotateValueUsingRotationMap(keyCode, orientation,
131 static void rotateDelta(int32_t orientation, float* deltaX, float* deltaY) {
133 switch (orientation) {
4191 float orientation; local
    [all...]
PointerController.cpp 310 void PointerController::setDisplayViewport(int32_t width, int32_t height, int32_t orientation) {
314 if (orientation == DISPLAY_ORIENTATION_90
315 || orientation == DISPLAY_ORIENTATION_270) {
337 if (mLocked.displayOrientation != orientation) {
364 switch (orientation) {
385 mLocked.displayOrientation = orientation;
  /external/chromium_org/ash/system/tray/
tray_background_view.cc 159 int orientation = kImageHorizontal; local
163 orientation = kImageVertical;
173 const gfx::ImageSkia* leading = leading_images_[orientation][state];
174 const gfx::ImageSkia* middle = middle_images_[orientation][state];
175 const gfx::ImageSkia* trailing = trailing_images_[orientation][state];
181 if (orientation == kImageHorizontal) {
  /frameworks/av/cmds/screenrecord/
screenrecord.cpp 123 static bool isDeviceRotated(int orientation) {
124 return orientation != DISPLAY_ORIENTATION_0 &&
125 orientation != DISPLAY_ORIENTATION_180;
209 bool deviceRotated = isDeviceRotated(mainDpyInfo.orientation);
228 // "pre-rotate" it by flipping width/height, so that the orientation
448 printf("Main display is %dx%d @%.2ffps (orientation=%u)\n",
450 mainDpyInfo.orientation);
453 bool rotated = isDeviceRotated(mainDpyInfo.orientation);
  /packages/apps/Mms/src/com/android/mms/ui/
UriImage.java 282 int orientation = getOrientation(context, uri); local
290 ", orientation=" + orientation);
417 if (!resultTooBig && orientation != 0) {
420 b = UriImage.rotateBitmap(b, orientation);
492 * Returns the number of degrees to rotate the picture, based on the orientation tag in
493 * the exif data or the orientation column in the database. If there's no tag or column,
504 // file for the orientation because there is no column in the db for the orientation.
514 int orientation local
    [all...]
  /device/asus/grouper/audio/
audio_hw.c 106 int orientation; member in struct:audio_device
200 if (adev->orientation == ORIENTATION_LANDSCAPE)
1079 int orientation; local
    [all...]
  /frameworks/base/core/java/android/hardware/
LegacySensorManager.java 223 return false; // don't need to re-register the orientation sensor
234 return false; // can't unregister the orientation sensor just yet
287 float[] values, int orientation) {
314 if ((orientation & Surface.ROTATION_90) != 0) {
331 if ((orientation & Surface.ROTATION_180) != 0) {
  /frameworks/base/core/java/android/view/
SurfaceControl.java 69 IBinder displayToken, int orientation,
466 int orientation, Rect layerStackRect, Rect displayRect) {
476 nativeSetDisplayProjection(displayToken, orientation,
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
CustomBar.java 64 protected CustomBar(Context context, Density density, int orientation, String layoutPath,
67 setOrientation(orientation);
68 if (orientation == LinearLayout.HORIZONTAL) {
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
ResourceUtils.java 71 final int orientation = res.getConfiguration().orientation; local
72 final String key = overrideResId + "-" + orientation;
  /device/lge/mako/camera/mm-camera-interface/
mm_omx_jpeg_encoder.c 332 int orientation; local
378 before hand. The orientation is set in the exif tag and
379 decoder will decode it will the right orientation. need to add double
382 /*Get the orientation tag values depending on rotation*/
385 orientation = 1; /*Normal*/
388 orientation = 6; /*Rotated 90 CCW*/
391 orientation = 3; /*Rotated 180*/
394 orientation = 8; /*Rotated 90 CW*/
397 orientation = 1;
404 tag.tag_entry.data._short = orientation;
439 int orientation; local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/
ScrollView.cpp 111 PassRefPtr<Scrollbar> ScrollView::createScrollbar(ScrollbarOrientation orientation)
113 return Scrollbar::createNativeScrollbar(this, orientation, RegularScrollbar);
282 int ScrollView::scrollSize(ScrollbarOrientation orientation) const
284 Scrollbar* scrollbar = ((orientation == HorizontalScrollbar) ? m_horizontalScrollbar : m_verticalScrollbar).get();
290 return orientation == HorizontalScrollbar ? scrollSize.width() : scrollSize.height();
804 bool ScrollView::userInputScrollable(ScrollbarOrientation orientation) const
806 ScrollbarMode mode = (orientation == HorizontalScrollbar) ?
    [all...]
  /cts/tests/tests/mediastress/src/android/mediastress/cts/
NativeMediaActivity.java 70 Log.w(TAG, "configuration changed " + newConfig.orientation);
  /development/samples/ApiDemos/src/com/example/android/apis/view/
GridLayout3.java 44 if ((configuration.orientation == Configuration.ORIENTATION_PORTRAIT)) {
  /device/asus/flo/camera/
QCameraParameters.h 242 void setOrientation(int orientation);
  /device/generic/goldfish/sensors/
sensors_qemu.c 76 SENSOR_(ORIENTATION,"orientation") \
331 /* "orientation:<azimuth>:<pitch>:<roll>" is sent when orientation changes */
332 if (sscanf(buff, "orientation:%g:%g:%g", params+0, params+1, params+2) == 3) {
334 data->sensors[ID_ORIENTATION].orientation.azimuth = params[0];
335 data->sensors[ID_ORIENTATION].orientation.pitch = params[1];
336 data->sensors[ID_ORIENTATION].orientation.roll = params[2];
337 data->sensors[ID_ORIENTATION].orientation.status = SENSOR_STATUS_ACCURACY_HIGH;
510 { .name = "Goldfish Orientation sensor"
    [all...]
  /device/lge/mako/camera/
QCameraParameters.h 242 void setOrientation(int orientation);
  /external/chromium_org/content/browser/renderer_host/pepper/
pepper_print_settings_manager.cc 75 settings.orientation = PP_PRINTORIENTATION_NORMAL;
  /external/chromium_org/skia/ext/
image_operations.cc 367 const SkFontHost::LCDOrientation orientation = local
373 switch (orientation) {
415 switch (orientation) {
431 switch (orientation) {

Completed in 1086 milliseconds

<<11121314151617181920>>