/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
ImagePersistTask.java | 81 int orientation = android.media.ExifInterface.ORIENTATION_UNDEFINED; local 88 orientation = orientationValue.intValue(); 99 if (ExifInterface.getOrientationParams(orientation).invertDimensions) { 123 // carrier, only store orientation since that's critical
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ThumbnailLoadTask.java | 111 final int orientation = getOrientation(thumbnailUri); local 142 if (originalBitmap != null && orientation != 0) { 144 matrix.postRotate(orientation); 176 LogUtils.i(LOG_TAG, "Unable to get orientation of thumbnail %s: %s %s", thumbnailUri,
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
ResourceUtils.java | 72 final int orientation = res.getConfiguration().orientation; local 73 final String key = overrideResId + "-" + orientation;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
LinearLayoutRule.java | 92 * Returns the current orientation, regardless of whether it has been defined in XML 94 * @param node The LinearLayout to look up the orientation for 95 * @return "horizontal" or "vertical" depending on the current orientation of the 99 String orientation = node.getStringAttr(ANDROID_URI, ATTR_ORIENTATION); local 100 if (orientation == null || orientation.length() == 0) { 101 orientation = VALUE_HORIZONTAL; 103 return orientation; 108 * @param node the node to check layout orientation for 118 * Returns true if this LinearLayout supports switching orientation [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
OrientationMenuAction.java | 170 ScreenOrientation orientation = configuration.getOrientation(state); local 171 setImageDescriptor(configuration.getOrientationImage(orientation, flip));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
LinearLayoutRuleTest.java | 171 // Check that the context menu manipulates the orientation attribute 176 node.putAttributeInfo(ANDROID_URI, "orientation", 187 assertEquals("Orientation", orientationAction.getTitle()); 196 String orientation = node.getStringAttr(ANDROID_URI, local 198 assertEquals(VALUE_VERTICAL, orientation); 201 orientation = node.getStringAttr(ANDROID_URI, ATTR_ORIENTATION); 202 assertEquals(VALUE_HORIZONTAL, orientation); 205 // Check that the context menu manipulates the orientation attribute 210 node.putAttributeInfo(ANDROID_URI, "orientation", 227 assertEquals("Orientation", contextMenu.get(1).getTitle()) [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
InputGameInterface.java | 80 final InputXY orientation = input.getOrientationSensor(); local 83 mTilt.clone(orientation); 111 mDirectionalPad.clone(orientation); 113 filterOrientationForMovement(orientation.getX()), 114 filterOrientationForMovement(orientation.getY())); 304 public void setUseOrientationForMovement(boolean orientation) { 305 mUseOrientationForMovement = orientation;
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
AnimatorInflaterTest.java | 101 assertNotSame("interpolater is orientation dependent, should change", 119 // y value changes in landscape orientation 160 int orientation = mActivity.getResources().getConfiguration().orientation; local 190 Log.e(TAG, "New activity orientation does not match. Canceling test"); 193 if (mActivity.getResources().getConfiguration().orientation == orientation) { 194 Log.e(TAG, "Screen orientation didn't change, test is canceled"); 215 * orientation 242 * Tests a state list animator which has different xml descriptions per orientation [all...] |
/external/ImageMagick/coders/ |
miff.c | 854 if (LocaleCompare(keyword,"orientation") == 0) 857 orientation; 859 orientation=ParseCommandOption(MagickOrientationOptions, 861 if (orientation < 0) 863 image->orientation=(OrientationType) orientation; 852 orientation; local [all...] |
cin.c | 161 orientation, 490 cin.image.orientation=(unsigned char) ReadBlobByte(image); 492 if (cin.image.orientation != (unsigned char) (~0)) 493 (void) FormatImageProperty(image,"dpx:image.orientation","%d", 494 cin.image.orientation); 495 switch (cin.image.orientation) 498 case 0: image->orientation=TopLeftOrientation; break; 499 case 1: image->orientation=TopRightOrientation; break; 500 case 2: image->orientation=BottomLeftOrientation; break; 501 case 3: image->orientation=BottomRightOrientation; break 159 orientation, member in struct:_CINImageInfo [all...] |
/external/freetype/src/base/ |
ftoutln.c | 827 /* outline is checked for orientation. This is */ 867 /* check the orientation of the contour */ 915 FT_Int orientation; local 926 orientation = FT_Outline_Get_Orientation( outline ); 927 if ( orientation == FT_ORIENTATION_NONE ) 988 /* shift components along lateral bisector in proper orientation */ 992 if ( orientation == FT_ORIENTATION_TRUETYPE ) 999 if ( orientation == FT_ORIENTATION_TRUETYPE ) 1057 /* We use the nonzero winding rule to find the orientation. */
|
/external/opencv/cv/src/ |
cvrotcalipers.cpp | 65 // points - convex hull vertices ( any orientation ) 108 float orientation = 0; local 148 /* find convex hull orientation */ 162 orientation = (convexity > 0) ? 1.f : (-1.f); 168 assert( orientation != 0 ); 170 base_a = orientation;
|
cvconvhull.cpp | 229 int orientation, int return_points ) 398 if( orientation == CV_COUNTER_CLOCKWISE ) 437 if( orientation != CV_COUNTER_CLOCKWISE ) 530 /* is orientation of hull different from contour one */ 607 /* recognize co-orientation of ptseq and its hull */ 739 int orientation = 0; local 787 /* find orientation */ 789 orientation |= (orient > 0) ? 1 : 2; 791 orientation |= (dydx0 > dxdy0) ? 1 : ((dydx0 < dxdy0) ? 2 : 3); 793 if( orientation == 3 [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
Camera2Source.java | 125 .addOutputPort("orientation", Signature.PORT_REQUIRED, 239 OutputPort orientationPort = getConnectedOutputPort("orientation"); 242 // FIXME: Hardcoded value because ORIENTATION returns null, Qualcomm 244 Integer orientation = mProperties.get(CameraCharacteristics.SENSOR_ORIENTATION); local 246 if (orientation != null) { 247 temp = orientation.floatValue();
|
/frameworks/native/libs/gui/include/gui/ |
LayerState.h | 155 uint32_t orientation; member in struct:android::DisplayState
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
BaseGridLayoutManagerTest.java | 64 for (int orientation : new int[]{VERTICAL, HORIZONTAL}) { 67 variations.add(new Config(spanCount, orientation, reverseLayout)); 119 public Config(int spanCount, int orientation, boolean reverseLayout) { 121 mOrientation = orientation; 125 Config orientation(int orientation) { method in class:BaseGridLayoutManagerTest.Config 126 mOrientation = orientation; 169 public WrappedGridLayoutManager(Context context, int spanCount, int orientation, 171 super(context, spanCount, orientation, reverseLayout); 189 public void setOrientation(int orientation) { [all...] |
/packages/apps/Camera2/src/com/android/camera/one/ |
OneCamera.java | 269 /** The device orientation so we can compute the right JPEG rotation. */ 270 public final int orientation; field in class:OneCamera.CaptureParameters 278 public CaptureParameters(String title, int orientation, Location location, File 281 this.orientation = orientation; 339 public PhotoCaptureParameters(String title, int orientation, Location location, File 342 super(title, orientation, location, debugDataFolder);
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
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/Messaging/src/com/android/messaging/util/ |
UiUtils.java | 172 return Factory.get().getApplicationContext().getResources().getConfiguration().orientation 267 final int orientation = activity.getResources().getConfiguration().orientation; local 270 // rotation tracks the rotation of the device from its natural orientation 271 // orientation tracks whether the screen is landscape or portrait. 272 // It is possible to have a rotation of 0 (device in its natural orientation) in portrait 276 if (orientation == Configuration.ORIENTATION_PORTRAIT) { 278 } else if (orientation == Configuration.ORIENTATION_LANDSCAPE) { 282 if (orientation == Configuration.ORIENTATION_PORTRAIT) { 284 } else if (orientation == Configuration.ORIENTATION_LANDSCAPE) [all...] |
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
PhotoCarousel.java | 189 int orientation = (width > height ? LANDSCAPE : PORTRAIT); local 192 destination.setTag(R.id.photo_orientation, Integer.valueOf(orientation)); 208 int orientation = ((Integer) photo.getTag(R.id.photo_orientation)).intValue(); local 215 } else if (orientation == mOrientation) {
|
PhotoSource.java | 53 public int orientation; field in class:PhotoSource.ImageData 216 if (data.orientation != 0) { 217 log(TAG, "rotated by " + data.orientation + ": fixing"); 219 matrix.setRotate(data.orientation, 225 if (data.orientation == 90 || data.orientation == 270) {
|
/pdk/apps/TestingCamera/src/com/android/testingcamera/ |
SnapshotDialogFragment.java | 217 String orientation = orientationStrings[orientationVal]; local 228 exifInfo.append("Orientation: "). 229 append(orientation).append("\n");
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
ExplodedRenderingHelper.java | 144 String orientation = getAttribute(view, "orientation", null); //$NON-NLS-1$ local 147 boolean horizontal = orientation == null ||
|
/development/apps/WidgetPreview/src/com/android/widgetpreview/ |
WidgetPreviewActivity.java | 227 int orientationCode = getResources().getConfiguration().orientation; 228 String orientation; local 229 if (getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE) { 230 orientation = "landscape"; 232 orientation = "portrait"; 234 orientation = "square"; 236 orientation = "undefined"; 238 return new File(path, name + "_ori_" + orientation + ".png");
|
/external/ImageMagick/MagickCore/ |
feature.c | 142 orientation; 383 pixel.orientation=0; 393 pixel.orientation=0; 396 pixel.orientation=1; 398 pixel.orientation=2; 403 pixel.orientation=0; 406 pixel.orientation=3; 408 pixel.orientation=2; 455 switch (pixel.orientation) 140 orientation; member in struct:_CannyInfo [all...] |