Searched refs:orientation (Results 26 - 50 of 75) sorted by relevance

123

/frameworks/base/services/surfaceflinger/
H A DSurfaceFlinger.cpp233 dcblk->orientation = ISurfaceComposer::eOrientationDefault;
520 if (mCurrentState.orientation != mDrawingState.orientation) {
521 // the orientation has changed, recompute all visible regions
525 const int orientation = mCurrentState.orientation; local
528 plane.setOrientation(orientation);
533 dcblk->orientation = orientation;
1178 int orientation, uint32_
1177 setOrientation(DisplayID dpy, int orientation, uint32_t flags) argument
[all...]
H A DTransform.h39 explicit Transform(uint32_t orientation);
H A DTransform.cpp75 Transform::Transform(uint32_t orientation) { argument
76 set(orientation, 0, 0);
/frameworks/base/include/ui/
H A DInput.h161 float orientation; member in struct:android::PointerCoords
317 return getCurrentPointerCoords(pointerIndex).orientation;
367 return getHistoricalPointerCoords(pointerIndex, historicalIndex).orientation;
H A DInputReader.h94 int32_t* width, int32_t* height, int32_t* orientation) = 0;
553 int32_t orientation; member in struct:android::TouchInputMapper::PointerData
564 && orientation == other.orientation;
685 RawAbsoluteAxisInfo orientation; member in struct:android::TouchInputMapper::RawAxes
698 // The surface orientation and width and height set by configureSurfaceLocked().
702 // Translation and scaling factors, orientation-independent.
744 InputDeviceInfo::MotionRange orientation; member in struct:android::TouchInputMapper::LockedState::OrientedRanges
/frameworks/base/include/surfaceflinger/
H A DISurface.h111 uint32_t w, uint32_t h, int32_t format, int32_t orientation) = 0;
H A DISurfaceComposer.h110 /* Set display orientation. requires ACCESS_SURFACE_FLINGER permission */
111 virtual int setOrientation(DisplayID dpy, int orientation, uint32_t flags) = 0;
H A DSurfaceComposerClient.h126 //! Set the orientation of the given display
127 static int setOrientation(DisplayID dpy, int orientation, uint32_t flags);
/frameworks/base/core/java/android/content/res/
H A DCompatibilityInfo.java406 * @param orientation the orientation of the screen.
409 public static void updateCompatibleScreenFrame(DisplayMetrics dm, int orientation, argument
414 if (orientation == Configuration.ORIENTATION_LANDSCAPE) {
/frameworks/base/libs/surfaceflinger_client/
H A DSurfaceComposerClient.cpp228 info->orientation = dcblk->orientation;
260 return dcblk->orientation;
355 int orientation, uint32_t flags)
358 return sm->setOrientation(dpy, orientation, flags);
354 setOrientation(DisplayID dpy, int orientation, uint32_t flags) argument
/frameworks/base/core/jni/
H A Dandroid_view_MotionEvent.cpp142 *(destDataSamples++) = srcSamplePointerCoords->orientation;
200 samplePointerCoords[j].orientation = *(srcDataSamples++);
218 samplePointerCoords[j].orientation = *(srcDataSamples++);
H A Dandroid_hardware_Camera.cpp38 jfieldID orientation; member in struct:fields_t
309 env->SetIntField(info_obj, fields.orientation, cameraInfo.orientation);
584 jniThrowException(env, "java/lang/RuntimeException", "set display orientation failed");
692 { "android/hardware/Camera$CameraInfo", "orientation", "I", &fields.orientation },
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPatternUnlockScreen.java180 mCreationOrientation = configuration.orientation;
409 if (getResources().getConfiguration().orientation != mCreationOrientation) {
424 if (newConfig.orientation != mCreationOrientation) {
H A DSimUnlockScreen.java78 mCreationOrientation = configuration.orientation;
124 // erase the SIM unlock code, including orientation changes.
284 if (newConfig.orientation != mCreationOrientation) {
H A DLockScreen.java181 mCreationOrientation = configuration.orientation;
188 + " res orient=" + context.getResources().getConfiguration().orientation);
192 if (DBG) Log.v(TAG, "Creation orientation = " + mCreationOrientation);
620 if (newConfig.orientation != mCreationOrientation) {
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp159 // orientation
162 *value = config.orientation;
357 // orientation
367 //printf("not orientation: %s\n", part.string());
506 this->orientation = orient;
537 s += this->orientation;
585 if (this->orientation != "") {
587 s += orientation;
806 if (out) out->orientation = out->ORIENTATION_ANY;
809 if (out) out->orientation
[all...]
/frameworks/base/core/java/android/view/
H A DWindowManagerPolicy.java739 * Given an orientation constant
746 public int rotationForOrientationLw(int orientation, int lastRotation, argument
/frameworks/base/include/camera/
H A DCamera.h121 * The orientation of the camera image. The value is the angle that the
123 * the display in its natural orientation. It should be 0, 90, 180, or 270.
128 * right edge of the screen in natural orientation, the value should be
132 int orientation; member in struct:android::CameraInfo
/frameworks/base/native/include/android/
H A Dconfiguration.h174 * Set the current orientation in the configuration.
176 void AConfiguration_setOrientation(AConfiguration* config, int32_t orientation);
/frameworks/base/services/jni/
H A Dcom_android_server_InputManager.cpp171 void setDisplayOrientation(int32_t displayId, int32_t orientation);
184 int32_t* width, int32_t* height, int32_t* orientation);
314 void NativeInputManager::setDisplayOrientation(int32_t displayId, int32_t orientation) { argument
318 mDisplayOrientation = orientation;
406 int32_t* width, int32_t* height, int32_t* orientation) {
418 if (orientation) {
419 *orientation = mDisplayOrientation;
1023 jint displayId, jint orientation) {
1028 gNativeInputManager->setDisplayOrientation(displayId, orientation);
405 getDisplayInfo(int32_t displayId, int32_t* width, int32_t* height, int32_t* orientation) argument
1022 android_server_InputManager_nativeSetDisplayOrientation(JNIEnv* env, jclass clazz, jint displayId, jint orientation) argument
/frameworks/base/services/camera/libcameraservice/
H A DCameraService.cpp820 int orientation; local
826 // The orientation cannot be set during preview.
831 orientation = getOrientation(arg1, mCameraFacing == CAMERA_FACING_FRONT);
832 if (orientation == -1) return BAD_VALUE;
834 if (mOrientation != orientation) {
835 mOrientation = orientation;
/frameworks/base/libs/ui/tests/
H A DInputReader_test.cpp39 int32_t orientation; member in struct:android::FakeInputReaderPolicy::DisplayInfo
61 void setDisplayInfo(int32_t displayId, int32_t width, int32_t height, int32_t orientation) { argument
67 info.orientation = orientation;
108 int32_t* width, int32_t* height, int32_t* orientation) {
118 if (orientation) {
119 *orientation = info.orientation;
1344 float orientation) {
1353 ASSERT_NEAR(orientation, coord
107 getDisplayInfo(int32_t displayId, int32_t* width, int32_t* height, int32_t* orientation) argument
1341 assertPointerCoords(const PointerCoords& coords, float x, float y, float pressure, float size, float touchMajor, float touchMinor, float toolMajor, float toolMinor, float orientation) argument
2051 prepareDisplay(int32_t orientation) argument
2763 processOrientation( MultiTouchInputMapper* mapper, int32_t orientation) argument
3223 float orientation = float(rawOrientation) / RAW_ORIENTATION_MAX * M_PI_2; local
[all...]
H A DInputPublisherAndConsumer_test.cpp167 samplePointerCoords.editTop().orientation = 3.5 * i + j;
259 EXPECT_EQ(samplePointerCoords[offset].orientation,
279 EXPECT_EQ(samplePointerCoords[offset].orientation, motionEvent->getOrientation(i));
/frameworks/base/core/java/android/gesture/
H A DGestureOverlayView.java198 public void setOrientation(int orientation) { argument
199 mOrientation = orientation;
643 float angle = Math.abs(box.orientation);
/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java297 ps.mCoords.touchMinor, ps.mCoords.orientation, mPaint);
302 ps.mCoords.toolMinor, ps.mCoords.orientation, mPaint);
318 .append(" Orientation=").append((float)(coords.orientation * 180 / Math.PI), 1)

Completed in 409 milliseconds

123