/packages/apps/Launcher2/src/com/android/launcher2/ |
DeleteDropTarget.java | 84 int orientation = getResources().getConfiguration().orientation; local 85 if (orientation == Configuration.ORIENTATION_LANDSCAPE) {
|
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/ |
VideoChatTestActivity.java | 68 logMessage("Display Orientation " + getDisplayOrientation()); 83 return info.orientation; 93 logMessage("Orientation " + getCameraOrientation(id)); 290 result = (info.orientation + displayOrientationDegrees) % 360; 293 result = (info.orientation - displayOrientationDegrees + 360) % 360;
|
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/v1/ |
CameraRecordingStream.java | 84 * @param orientation Recording orientation in degree (0,90,180,270) 88 Context ctx, Size size, boolean useMediaCodec, int bitRate, int orientation, 99 (mOrientation != orientation); 104 mOrientation = orientation;
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
GradientDrawableTest.java | 34 import android.graphics.drawable.GradientDrawable.Orientation; 52 new GradientDrawable(GradientDrawable.Orientation.BL_TR, color); 92 Orientation orientation; local 94 orientation = Orientation.BL_TR; 95 gradientDrawable.setOrientation(orientation); 96 assertEquals("Orientation set/get are symmetric", 97 orientation, gradientDrawable.getOrientation());
|
/development/ndk/platforms/android-9/include/android/ |
configuration.h | 174 * Set the current orientation in the configuration. 176 void AConfiguration_setOrientation(AConfiguration* config, int32_t orientation);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
FragmentLayout.java | 65 if (getResources().getConfiguration().orientation
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
FragmentLayoutSupport.java | 66 if (getResources().getConfiguration().orientation
|
/development/samples/Support7Demos/src/com/example/android/supportv7/view/ |
GridLayout3.java | 55 if ((configuration.orientation == Configuration.ORIENTATION_PORTRAIT)) {
|
/device/generic/goldfish/sensors/ |
sensors_qemu.c | 81 SENSOR_(ORIENTATION,"orientation") \ 304 /* "orientation:<azimuth>:<pitch>:<roll>" is sent when orientation 306 if (sscanf(buff, "orientation:%g:%g:%g", params+0, params+1, params+2) 309 events[ID_ORIENTATION].orientation.azimuth = params[0]; 310 events[ID_ORIENTATION].orientation.pitch = params[1]; 311 events[ID_ORIENTATION].orientation.roll = params[2]; 312 events[ID_ORIENTATION].orientation.status = 588 { .name = "Goldfish Orientation sensor" [all...] |
/external/deqp/framework/platform/android/ |
tcuAndroidUtil.cpp | 186 void setRequestedOrientation (JNIEnv* env, jobject activity, ScreenOrientation orientation) 191 env->CallVoidMethod(activity, setOrientationId, (int)orientation); 506 // \note Assume landscape orientation for comparison 578 void setRequestedOrientation (ANativeActivity* activity, ScreenOrientation orientation) 582 setRequestedOrientation(env.getEnv(), activity->clazz, orientation);
|
/external/dng_sdk/source/ |
dng_image.h | 273 /// Rotate image to reflect given orientation change. 274 /// \param orientation Directive to rotate image in a certain way. 276 virtual void Rotate (const dng_orientation &orientation);
|
/external/opencv/cv/src/ |
cvmotempl.cpp | 160 CvArr* orientation, 173 CvMat orientstub, *orient = (CvMat*)orientation; 196 "MHI and orientation must be single-channel floating-point images" ); 202 CV_ERROR( CV_StsInplaceNotSupported, "orientation image must be different from MHI" ); 233 /* make orientation zero where the gradient is very small */ 283 cvCalcGlobalOrientation( const void* orientation, const void* maskimg, const void* mhiimg, 296 CvMat orientstub, *orient = (CvMat*)orientation; 316 "MHI and orientation must be single-channel floating-point images" ); 325 CV_ERROR( CV_StsInplaceNotSupported, "orientation image must be different from MHI" ); 327 // calculate histogram of different orientation value [all...] |
/external/piex/src/ |
tiff_parser.h | 155 // Returns true if Exif orientation for the image can be obtained. False 158 std::uint32_t* orientation);
|
/external/skia/debugger/QT/ |
SkCanvasWidget.cpp | 92 if (Qt::Horizontal == event->orientation()) {
|
/frameworks/av/services/camera/libcameraservice/api1/ |
CameraClient.h | 125 int getOrientation(int orientation, bool mirror); 135 int mOrientation; // Current display orientation
|
/frameworks/base/cmds/screencap/ |
screencap.cpp | 162 uint8_t displayOrientation = configs[activeConfig].orientation;
|
/frameworks/base/libs/input/ |
PointerController.h | 110 void setDisplayViewport(int32_t width, int32_t height, int32_t orientation);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
RotationLockTile.java | 116 return context.getResources().getConfiguration().orientation
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
Divider.java | 76 final boolean landscape = configuration.orientation == ORIENTATION_LANDSCAPE;
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
TextureViewActivity.java | 143 return (info.orientation - degrees + 360) % 360;
|
/frameworks/base/tools/aapt2/ |
ConfigDescription.cpp | 194 if (out) out->orientation = out->ORIENTATION_ANY; 197 if (out) out->orientation = out->ORIENTATION_PORT; 200 if (out) out->orientation = out->ORIENTATION_LAND; 203 if (out) out->orientation = out->ORIENTATION_SQUARE;
|
/hardware/qcom/display/msm8960/liboverlay/ |
overlay.h | 67 void setTransform(const int orientation, utils::eDest dest);
|
/hardware/ti/omap4-aah/camera/ |
CameraHal_Module.cpp | 783 int orientation = 0; local 822 orientation = atoi(valstr); 831 info->orientation = orientation;
|
/hardware/ti/omap4-aah/camera/inc/V4LCameraAdapter/ |
V4LCameraAdapter.h | 132 virtual void onOrientationEvent(uint32_t orientation, uint32_t tilt);
|
/packages/apps/Camera2/src/com/android/camera/one/v1/ |
OneCameraCharacteristicsImpl.java | 78 return mCameraInfo.orientation;
|