/hardware/akm/AK8975_FS/libsensors/ |
AkmSensor.cpp | 56 mPendingEvents[Orientation ].version = sizeof(sensors_event_t); 57 mPendingEvents[Orientation ].sensor = ID_O; 58 mPendingEvents[Orientation ].type = SENSOR_TYPE_ORIENTATION; 59 mPendingEvents[Orientation ].orientation.status = SENSOR_STATUS_ACCURACY_HIGH; 90 case Orientation: 154 case Orientation: 267 return Orientation; 308 mPendingMask |= 1<<Orientation; 309 mPendingEvents[Orientation].orientation.azimuth = value * CONVERT_O [all...] |
AkmSensor.h | 42 Orientation,
|
/frameworks/support/design/tests/src/android/support/design/testutils/ |
TestDrawable.java | 35 super(Orientation.TOP_BOTTOM, new int[] { color, color });
|
/external/libcups/filter/ |
common.c | 28 int Orientation = 0, /* 0 = portrait, 1 = landscape, etc. */ 89 Orientation = 1; 91 Orientation = 3; 94 else if ((val = cupsGetOption("orientation-requested", num_options, options)) != NULL) 97 * Map IPP orientation values to 0 to 3: 105 Orientation = atoi(val) - 3; 106 if (Orientation >= 2) 107 Orientation ^= 1; 112 switch (Orientation & 3) 131 switch (Orientation & 3 [all...] |
common.h | 39 extern int Orientation, /* 0 = portrait, 1 = landscape, etc. */
|
pstops.c | 696 * Reset orientation of document? 701 if (orient != Orientation) 707 Orientation = (4 - Orientation + orient) & 3; 709 Orientation = orient; 1167 WriteLabels(Orientation); 1205 WriteLabels(Orientation); [all...] |
/hardware/libhardware/modules/camera/3_4/metadata/ |
metadata_reader_mock.h | 33 MOCK_CONST_METHOD1(Orientation, int(int*));
|
metadata_reader.h | 57 virtual int Orientation(int* orientation) const;
|
metadata_reader_test.cpp | 103 for (int32_t orientation : valid_orientations_) { 105 metadata_.get(), orientation_tag_, orientation), 109 int actual = orientation + 1; 110 EXPECT_EQ(dut_->Orientation(&actual), 0); 111 EXPECT_EQ(actual, orientation); 117 for (int32_t orientation : valid_orientations_) { 119 metadata_.get(), orientation_tag_, orientation + 1), 123 EXPECT_EQ(dut_->Orientation(&actual), -EINVAL); 126 for (int32_t orientation : valid_orientations_) { 128 metadata_.get(), orientation_tag_, orientation - 1) [all...] |
metadata_reader.cpp | 62 int MetadataReader::Orientation(int* orientation) const { 67 ALOGE("%s: Failed to get orientation from static metadata.", __func__); 71 // Orientation must be 0, 90, 180, or 270. 75 "%s: Invalid orientation %d " 82 *orientation = static_cast<int>(metadata_orientation);
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/ |
ExifInterface.java | 266 * <li>TOP_LEFT is the normal orientation. 276 interface Orientation { 287 /** Wrapper class to define some orientation parameters. */ 295 public static OrientationParams getOrientationParams(int orientation) { 297 switch (orientation) { 298 case Orientation.TOP_RIGHT: // Flip horizontal 301 case Orientation.BOTTOM_RIGHT: // Flip vertical 304 case Orientation.BOTTOM_LEFT: // Rotate 180 307 case Orientation.RIGHT_BOTTOM: // Rotate 270 311 case Orientation.RIGHT_TOP: // Rotate 9 [all...] |
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
eventhistory.h | 27 QVariant headerData(int section, Qt::Orientation orientation,
|
eventhistory.cpp | 47 QVariant EventListModel::headerData(int section, Qt::Orientation orientation, 53 if (orientation == Qt::Horizontal) {
|
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/ |
FoldingLayoutActivity.java | 45 import com.example.android.foldinglayout.FoldingLayout.Orientation; 51 * The number of folds, orientation (vertical or horizontal) of the fold, and the 84 private Orientation mOrientation = Orientation.HORIZONTAL; 284 mOrientation = (mOrientation == Orientation.HORIZONTAL) ? Orientation.VERTICAL : 285 Orientation.HORIZONTAL; 286 item.setTitle((mOrientation == Orientation.HORIZONTAL) ? R.string.vertical : 383 if (mOrientation == Orientation.VERTICAL) {
|
FoldingLayout.java | 35 * orientation of the fold can be specified. Each of these parameters can 55 public static enum Orientation { 72 private Orientation mOrientation = Orientation.HORIZONTAL; 180 public void setOrientation(Orientation orientation) { 181 if (orientation != mOrientation) { 182 mOrientation = orientation; 205 public Orientation getOrientation() { 224 * This method is called in order to update the fold's orientation, ancho [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/ |
ImageLoader.java | 58 public static final int ORI_NORMAL = ExifInterface.Orientation.TOP_LEFT; 59 public static final int ORI_ROTATE_90 = ExifInterface.Orientation.RIGHT_TOP; 60 public static final int ORI_ROTATE_180 = ExifInterface.Orientation.BOTTOM_LEFT; 61 public static final int ORI_ROTATE_270 = ExifInterface.Orientation.RIGHT_BOTTOM; 62 public static final int ORI_FLIP_HOR = ExifInterface.Orientation.TOP_RIGHT; 63 public static final int ORI_FLIP_VERT = ExifInterface.Orientation.BOTTOM_RIGHT; 64 public static final int ORI_TRANSPOSE = ExifInterface.Orientation.LEFT_TOP; 65 public static final int ORI_TRANSVERSE = ExifInterface.Orientation.LEFT_BOTTOM; 96 * Returns the image's orientation flag. Defaults to ORI_NORMAL if no valid 97 * orientation was found 165 int orientation = tagval; local 188 int orientation = getMetadataOrientation(context, uri); local 475 int orientation = getMetadataOrientation(context, sourceUri); local [all...] |
/frameworks/support/core-utils/java/android/support/v4/print/ |
PrintHelper.java | 77 * Print the image in landscape orientation (default). 82 * Print the image in portrait orientation. 108 private @interface Orientation {} 135 void setOrientation(int orientation); 151 @Orientation int mOrientation = ORIENTATION_LANDSCAPE; 176 public void setOrientation(@Orientation int orientation) { 177 mOrientation = orientation; 180 @Orientation 208 * Whether the PrintActivity respects the suggested orientation [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
RoundRects.java | 47 mDrawable = new GradientDrawable(GradientDrawable.Orientation.TL_BR,
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
OrientedBitmapDrawable.java | 31 * A drawable that draws a bitmap in a flipped or rotated orientation without having to adjust the 41 public static BitmapDrawable create(final int orientation, Resources res, Bitmap bitmap) { 42 if (orientation <= ExifInterface.Orientation.TOP_LEFT) { 47 return new OrientedBitmapDrawable(orientation, res, bitmap); 51 private OrientedBitmapDrawable(final int orientation, Resources res, Bitmap bitmap) { 53 mOrientationParams = ExifInterface.getOrientationParams(orientation);
|
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
ExifInterface.java | 370 * <li>TOP_LEFT is the normal orientation.</li> 380 public static interface Orientation { [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
GradientDrawable.java | 181 public enum Orientation { 201 this(new GradientState(Orientation.TOP_BOTTOM, null), null); 205 * Create a new gradient drawable given an orientation and an array 208 public GradientDrawable(Orientation orientation, @ColorInt int[] colors) { 209 this(new GradientState(orientation, colors), null); 568 * gradient's axis of orientation (see {@link #getOrientation()}) 624 * Returns the orientation of the gradient defined in this drawable. 626 * @return the orientation of the gradient defined in this drawable 627 * @see #setOrientation(Orientation) [all...] |
/external/libcups/cups/ |
raster.h | 228 typedef enum cups_orient_e /**** Orientation attribute values ****/ 272 cups_orient_t Orientation; /* Orientation value (@link cups_orient_t@) */ 321 cups_orient_t Orientation; /* Orientation value (@link cups_orient_t@) */
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
GradientDrawableTest.java | 38 import android.graphics.drawable.GradientDrawable.Orientation; 70 new GradientDrawable(GradientDrawable.Orientation.BL_TR, color); 110 Orientation orientation; local 112 orientation = Orientation.BL_TR; 113 gradientDrawable.setOrientation(orientation); 114 assertEquals("Orientation set/get are symmetric", 115 orientation, gradientDrawable.getOrientation());
|
/development/apps/NinePatchLab/src/com/android/ninepatch/ |
NinePatchLab.java | 63 return new GradientDrawable(GradientDrawable.Orientation.TR_BL,
|
/device/google/contexthub/util/nanotool/ |
contexthub.h | 53 Orientation,
|