/cts/tests/tests/dpi/src/android/dpi/cts/ |
OrientationActivity.java | 27 static final String EXTRA_ORIENTATION = "orientation"; 36 int orientation = getIntent().getIntExtra(EXTRA_ORIENTATION, -1); local 37 setRequestedOrientation(orientation);
|
/frameworks/av/camera/ |
CameraUtils.cpp | 42 ALOGE("%s: Can't find android.sensor.orientation in static metadata!", __FUNCTION__); 55 int orientation = entry.data.i32[0]; local 57 switch (orientation) { 71 ALOGE("%s: Invalid HAL android.sensor.orientation value: %d", 72 __FUNCTION__, orientation); 79 switch (orientation) { 97 ALOGE("%s: Invalid HAL android.sensor.orientation value: %d", 98 __FUNCTION__, orientation);
|
/hardware/ti/omap4-aah/kernel-headers-ti/linux/ |
bvsurfgeom.h | 27 int orientation; member in struct:bvsurfgeom
|
/external/glide/library/src/main/java/com/bumptech/glide/signature/ |
MediaStoreSignature.java | 16 private final int orientation; field in class:MediaStoreSignature 27 * @param orientation The orientation of the media store media. Ok to default to 0. See 28 * {@link android.provider.MediaStore.Images.ImageColumns#ORIENTATION}. 30 public MediaStoreSignature(String mimeType, long dateModified, int orientation) { 33 this.orientation = orientation; 50 if (orientation != that.orientation) { 64 result = 31 * result + orientation; [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowConfiguration.java | 19 public int orientation; field in class:ShadowConfiguration
|
/frameworks/base/core/java/android/hardware/display/ |
DisplayViewport.java | 39 public int orientation; field in class:DisplayViewport 58 orientation = viewport.orientation; 70 + ", orientation=" + orientation
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
RecentsAppWidgetHostView.java | 36 // Store the orientation in which the widget was inflated 50 * Updates the last orientation that this widget was inflated. 53 mPreviousOrientation = mContext.getResources().getConfiguration().orientation; 57 * @return whether the search widget was updated while Recents was in a different orientation 61 // Re-inflate is required if the orientation has changed since last inflated. 62 int orientation = mContext.getResources().getConfiguration().orientation; local 63 if (mPreviousOrientation != orientation) {
|
/frameworks/av/include/camera/ |
CameraBase.h | 35 * The orientation of the camera image. The value is the angle that the 37 * display in its natural orientation. It should be 0, 90, 180, or 270. 42 * right edge of the screen in natural orientation, the value should be 46 int orientation; member in struct:android::CameraInfo
|
/frameworks/native/include/ui/ |
DisplayInfo.h | 35 uint8_t orientation; member in struct:android::DisplayInfo
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
Exif.java | 94 // Get the tag and check if it is orientation. 98 int orientation = pack(jpeg, offset + 8, 2, littleEndian); local 99 switch (orientation) { 109 Log.i(TAG, "Unsupported orientation"); 117 Log.i(TAG, "Orientation not found");
|
/developers/build/prebuilts/gradle/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/camera/ |
CameraPreview.java | 96 int orientation = calculatePreviewOrientation(mCameraInfo, mDisplayOrientation); local 97 mCamera.setDisplayOrientation(orientation); 109 * Calculate the correct orientation for a {@link Camera} preview that is displayed on screen. 134 result = (info.orientation + degrees) % 360; 137 result = (info.orientation - degrees + 360) % 360;
|
/developers/build/prebuilts/gradle/RuntimePermissionsBasic/Application/src/main/java/com/example/android/basicpermissions/camera/ |
CameraPreview.java | 96 int orientation = calculatePreviewOrientation(mCameraInfo, mDisplayOrientation); local 97 mCamera.setDisplayOrientation(orientation); 109 * Calculate the correct orientation for a {@link Camera} preview that is displayed on screen. 134 result = (info.orientation + degrees) % 360; 137 result = (info.orientation - degrees + 360) % 360;
|
/developers/samples/android/system/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/camera/ |
CameraPreview.java | 96 int orientation = calculatePreviewOrientation(mCameraInfo, mDisplayOrientation); local 97 mCamera.setDisplayOrientation(orientation); 109 * Calculate the correct orientation for a {@link Camera} preview that is displayed on screen. 134 result = (info.orientation + degrees) % 360; 137 result = (info.orientation - degrees + 360) % 360;
|
/developers/samples/android/system/RuntimePermissionsBasic/Application/src/main/java/com/example/android/basicpermissions/camera/ |
CameraPreview.java | 96 int orientation = calculatePreviewOrientation(mCameraInfo, mDisplayOrientation); local 97 mCamera.setDisplayOrientation(orientation); 109 * Calculate the correct orientation for a {@link Camera} preview that is displayed on screen. 134 result = (info.orientation + degrees) % 360; 137 result = (info.orientation - degrees + 360) % 360;
|
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/camera/ |
CameraPreview.java | 96 int orientation = calculatePreviewOrientation(mCameraInfo, mDisplayOrientation); local 97 mCamera.setDisplayOrientation(orientation); 109 * Calculate the correct orientation for a {@link Camera} preview that is displayed on screen. 134 result = (info.orientation + degrees) % 360; 137 result = (info.orientation - degrees + 360) % 360;
|
/development/samples/browseable/RuntimePermissionsBasic/src/com.example.android.basicpermissions/camera/ |
CameraPreview.java | 96 int orientation = calculatePreviewOrientation(mCameraInfo, mDisplayOrientation); local 97 mCamera.setDisplayOrientation(orientation); 109 * Calculate the correct orientation for a {@link Camera} preview that is displayed on screen. 134 result = (info.orientation + degrees) % 360; 137 result = (info.orientation - degrees + 360) % 360;
|
/external/eigen/demos/opengl/ |
camera.h | 24 : orientation(o), position(pos) 29 orientation.slerp(alpha,other.orientation)); 32 Eigen::Quaternionf orientation; member in class:Frame 64 inline const Eigen::Quaternionf& orientation(void) const { return mFrame.orientation; } function in class:Camera
|
/frameworks/base/core/java/android/gesture/ |
OrientedBoundingBox.java | 31 public final float orientation; field in class:OrientedBoundingBox 37 orientation = angle; 61 matrix.setRotate(orientation);
|
/frameworks/base/core/jni/ |
android_content_res_Configuration.cpp | 41 jfieldID orientation; member in struct:android::__anon22494 66 out->orientation = env->GetIntField(clazz, gConfigurationClassInfo.orientation); 90 gConfigurationClassInfo.orientation = GetFieldIDOrDie(env, clazz, "orientation", "I");
|
/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
Exif.java | 158 // Get the tag and check if it is orientation. 162 final int orientation = pack(jpeg, offset + 8, 2, littleEndian); local 163 switch (orientation) { 173 Log.i(TAG, "Unsupported orientation");
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
Exif.java | 153 // Get the tag and check if it is orientation. 157 final int orientation = pack(jpeg, offset + 8, 2, littleEndian); local 158 switch (orientation) { 168 Log.i(TAG, "Unsupported orientation");
|
/packages/apps/Gallery/src/com/android/camera/ |
MovieView.java | 57 int orientation = intent.getIntExtra( local 60 if (orientation != getRequestedOrientation()) { 61 setRequestedOrientation(orientation);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
MtpBitmapFetch.java | 103 int orientation = Exif.getOrientation(imageBytes); local 104 return new BitmapWithMetadata(created, orientation);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
InfoDropTarget.java | 60 int orientation = getResources().getConfiguration().orientation; local 61 if (orientation == Configuration.ORIENTATION_LANDSCAPE) {
|
LauncherAppWidgetHostView.java | 52 // Store the orientation in which the widget was inflated 53 mPreviousOrientation = mContext.getResources().getConfiguration().orientation; 58 int orientation = mContext.getResources().getConfiguration().orientation; local 59 if (mPreviousOrientation != orientation) {
|