HomeSort by relevance Sort by last modified time
    Searched refs:ORIENTATION (Results 1 - 25 of 26) sorted by null

1 2

  /external/qemu/android/
hw-sensors.h 44 SENSOR_(ORIENTATION,"orientation") \
57 /* COARSE ORIENTATION VALUES */
63 /* change the coarse orientation value */
  /cts/tests/tests/content/src/android/content/res/cts/
ConfigTest.java 44 ORIENTATION,
114 case ORIENTATION:
115 mConfig.orientation = value;
181 config.mConfig.orientation = Configuration.ORIENTATION_PORTRAIT;
321 config.setProperty(Properties.ORIENTATION, Configuration.ORIENTATION_LANDSCAPE);
328 config.setProperty(Properties.ORIENTATION, Configuration.ORIENTATION_SQUARE);
525 config.setProperty(Properties.ORIENTATION, Configuration.ORIENTATION_LANDSCAPE);
532 config.setProperty(Properties.ORIENTATION, Configuration.ORIENTATION_SQUARE);
575 config.setProperty(Properties.ORIENTATION, Configuration.ORIENTATION_LANDSCAPE);
739 config.setProperty(Properties.ORIENTATION, Configuration.ORIENTATION_LANDSCAPE)
    [all...]
  /packages/apps/Gallery/src/com/android/camera/gallery/
ImageList.java 100 Media.ORIENTATION,
128 int orientation = cursor.getInt(INDEX_ORIENTATION); local
136 orientation);
Image.java 63 values.put(ImageColumns.ORIENTATION, mRotation);
110 int orientation = ExifInterface.ORIENTATION_NORMAL; local
113 orientation = ExifInterface.ORIENTATION_NORMAL;
116 orientation = ExifInterface.ORIENTATION_ROTATE_90;
119 orientation = ExifInterface.ORIENTATION_ROTATE_180;
122 orientation = ExifInterface.ORIENTATION_ROTATE_270;
127 Integer.toString(orientation));
130 Log.e(TAG, "unable to save exif data with new orientation "
136 * Save the rotated image by updating the Exif "Orientation" tag.
  /cts/tests/tests/provider/src/android/provider/cts/
MediaStore_Images_MediaTest.java 199 values.put(Media.ORIENTATION, 0);
229 assertEquals(0, c.getInt(c.getColumnIndex(Media.ORIENTATION)));
250 values.put(Media.ORIENTATION, 90);
272 assertEquals(90, c.getInt(c.getColumnIndex(Media.ORIENTATION)));
  /packages/apps/Camera/src/com/android/camera/
Storage.java 53 Location location, int orientation, byte[] jpeg, int width, int height) {
76 values.put(ImageColumns.ORIENTATION, orientation);
Thumbnail.java 59 public Thumbnail(Uri uri, Bitmap bitmap, int orientation) {
61 mBitmap = rotateImage(bitmap, orientation);
81 private static Bitmap rotateImage(Bitmap bitmap, int orientation) {
82 if (orientation != 0) {
85 m.setRotate(orientation, bitmap.getWidth() * 0.5f,
176 return createThumbnail(lastMedia.uri, bitmap, lastMedia.orientation);
182 public Media(long id, int orientation, long dateTaken, Uri uri) {
184 this.orientation = orientation;
190 public final int orientation; field in class:Thumbnail.Media
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/
SaveCopyTask.java 144 values.put(Images.Media.ORIENTATION, 0);
BitmapUtils.java 51 ImageColumns.ORIENTATION
128 int orientation = 0; local
133 orientation = cursor.getInt(INDEX_ORIENTATION);
136 // Ignore error for no orientation column; just use the default orientation value 0.
142 return orientation;
197 * Gets decoded bitmap that keeps orientation as well.
202 // Rotate the decoded bitmap according to its orientation if it's necessary.
204 int orientation = getOrientation(uri); local
205 if (orientation != 0)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
LocalImage.java 74 ImageColumns.ORIENTATION, // 9
251 private static String getExifOrientation(int orientation) {
252 switch (orientation) {
262 throw new AssertionError("invalid: " + orientation);
289 values.put(Images.Media.ORIENTATION, rotation);
  /packages/apps/Gallery2/src/com/android/gallery3d/provider/
GalleryProvider.java 58 ImageColumns.ORIENTATION};
185 } else if (ImageColumns.ORIENTATION.equals(column)) {
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
CropImage.java 385 values.put(Images.Media.ORIENTATION, 0);
424 values.put(Images.Media.ORIENTATION, 0);
457 values.put(Images.Media.ORIENTATION, 0);
    [all...]
  /development/tools/emulator/system/sensors/
sensors_qemu.c 76 SENSOR_(ORIENTATION,"orientation") \
334 /* "orientation:<azimuth>:<pitch>:<roll>" is sent when orientation changes */
335 if (sscanf(buff, "orientation:%g:%g:%g", params+0, params+1, params+2) == 3) {
337 data->sensors[ID_ORIENTATION].orientation.azimuth = params[0];
338 data->sensors[ID_ORIENTATION].orientation.pitch = params[1];
339 data->sensors[ID_ORIENTATION].orientation.roll = params[2];
511 { .name = "Goldfish Orientation sensor",
  /packages/apps/Gallery/src/com/android/camera/
ImageManager.java 200 // picture. The degree is a one element array which returns the orientation
241 values.put(Images.Media.ORIENTATION, degree[0]);
261 int orientation = exif.getAttributeInt( local
263 if (orientation != -1) {
264 // We only recognize a subset of orientation tag values.
265 switch(orientation) {
  /sdk/emulator/sensors/
sensors_qemu.c 76 SENSOR_(ORIENTATION,"orientation") \
334 /* "orientation:<azimuth>:<pitch>:<roll>" is sent when orientation changes */
335 if (sscanf(buff, "orientation:%g:%g:%g", params+0, params+1, params+2) == 3) {
337 data->sensors[ID_ORIENTATION].orientation.azimuth = params[0];
338 data->sensors[ID_ORIENTATION].orientation.pitch = params[1];
339 data->sensors[ID_ORIENTATION].orientation.roll = params[2];
511 { .name = "Goldfish Orientation sensor",
  /development/sdk/prebuilt/v7/gridlayout/libs/
android-support-v7-gridlayout.jar 
  /frameworks/base/core/java/android/widget/
GridLayout.java 73 * {@link GridLayout#setOrientation(int) orientation},
152 * The horizontal orientation.
157 * The vertical orientation.
223 private static final int ORIENTATION = R.styleable.GridLayout_orientation;
236 int orientation = DEFAULT_ORIENTATION; field in class:GridLayout
256 setOrientation(a.getInt(ORIENTATION, DEFAULT_ORIENTATION));
284 * Returns the current orientation.
293 return orientation;
297 * Orientation is used only to generate default row/column indices when
302 * @param orientation either {@link #HORIZONTAL} or {@link #VERTICAL
    [all...]
  /frameworks/base/core/java/android/provider/
MediaStore.java 124 * The name of the Intent-extra used to control the orientation of a ViewImage or a MovieView.
651 * The orientation for the image expressed as degrees.
655 public static final String ORIENTATION = "orientation";
    [all...]
  /frameworks/base/media/java/android/media/
MediaScanner.java 822 int orientation = exif.getAttributeInt(
824 if (orientation != -1) {
825 // We only recognize a subset of orientation tag values.
827 switch(orientation) {
    [all...]
  /frameworks/base/services/input/tests/
InputReader_test.cpp 138 void setDisplayInfo(int32_t displayId, int32_t width, int32_t height, int32_t orientation) {
140 mConfig.setDisplayInfo(displayId, false /*external*/, width, height, orientation);
141 mConfig.setDisplayInfo(displayId, true /*external*/, width, height, orientation);
3140 float orientation = atan2f(-sinf(tiltXAngle), sinf(tiltYAngle)); local
4393 float orientation = float(rawOrientation) \/ RAW_ORIENTATION_MAX * M_PI_2; local
    [all...]
  /prebuilt/common/groovy/
groovy-all-1.7.0.jar 
  /prebuilt/sdk/12/
android.jar 
  /prebuilt/sdk/14/
android.jar 
  /prebuilt/sdk/15/
android.jar 
  /prebuilt/sdk/4/
android.jar 

Completed in 1678 milliseconds

1 2