Home
last modified time | relevance | path

Searched refs:getOrientation (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/ex/photoviewer/src/com/android/ex/photo/util/
DExif.java25 public static int getOrientation(byte[] jpeg) { in getOrientation() method in Exif
DImageUtils.java155 final int orientation = Exif.getOrientation(bitmapBytes); in decodeStream()
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DExif.java25 public static int getOrientation(byte[] jpeg) { in getOrientation() method in Exif
DImageUtils.java168 final int orientation = Exif.getOrientation(bitmapBytes); in decodeStream()
/frameworks/base/libs/androidfw/tests/
DInputEvent_test.cpp423 ASSERT_EQ(218, event->getOrientation(0)); in assertEqualsEventWithHistory()
424 ASSERT_EQ(228, event->getOrientation(1)); in assertEqualsEventWithHistory()
504 ASSERT_EQ(218, event.getOrientation(0)); in TEST_F()
573 ASSERT_NEAR(tanf(angle), tanf(event.getOrientation(i)), 0.1); in TEST_F()
DInputPublisherAndConsumer_test.cpp225 motionEvent->getOrientation(i)); in PublishAndConsumeMotionEvent()
/frameworks/native/services/surfaceflinger/
DTransform.h64 uint32_t getOrientation() const;
DTransform.cpp305 uint32_t Transform::getOrientation() const in getOrientation() function in android::Transform
312 return (getOrientation() & ROT_INVALID) ? false : true; in preserveRects()
DDisplayDevice.h106 int getOrientation() const { return mOrientation; } in getOrientation() function
DLayer.cpp273 const uint32_t finalTransform = tr.getOrientation(); in setGeometry()
778 orientation = planeTransform.getOrientation(); in updateTransformHint()
DDisplayDevice.cpp397 if (R.getOrientation() & Transform::ROT_90) { in updateGeometryTransform()
DLayerBase.cpp278 const uint32_t finalTransform = s.transform.getOrientation(); in setGeometry()
DSurfaceFlinger.cpp659 info->orientation = hw->getOrientation(); in getDisplayInfo()
1381 const int32_t layerOrientation = s.transform.getOrientation(); in computeVisibleRegions()
2385 hw->getOrientation(), hw->canDraw()); in dumpAllLocked()
/frameworks/av/services/camera/libcameraservice/
DCameraClient.h112 int getOrientation(int orientation, bool mirror);
DCameraClient.cpp58 mOrientation = getOrientation(0, mCameraFacing == CAMERA_FACING_FRONT); in CameraClient()
597 orientation = getOrientation(arg1, mCameraFacing == CAMERA_FACING_FRONT); in sendCommand()
938 int CameraClient::getOrientation(int degrees, bool mirror) { in getOrientation() function in android::CameraClient
/frameworks/base/core/java/android/view/
DDisplay.java468 public int getOrientation() { in getOrientation() method in Display
DMotionEvent.java1900 public final float getOrientation() { in getOrientation() method in MotionEvent
2109 public final float getOrientation(int pointerIndex) { in getOrientation() method in MotionEvent
/frameworks/base/core/java/android/webkit/
DDeviceOrientationService.java125 SensorManager.getOrientation(deviceRotationMatrix, rotationAngles); in getOrientationUsingGetRotationMatrix()
/frameworks/base/docs/html/guide/topics/sensors/
Dsensors_position.jd173 with the {@link android.hardware#getOrientation getOrientation()} method to compute orientation
249 use these matrices with the {@link android.hardware.SensorManager#getOrientation getOrientation()}
Dsensors_overview.jd748 earth. For more information, see the {@link android.hardware.SensorManager#getOrientation
749 getOrientation()} method, the {@link android.hardware.SensorManager#getRotationMatrix
801 android.hardware.SensorManager#getOrientation getOrientation()} method instead. Likewise, the
/frameworks/base/native/android/
Dinput.cpp179 return static_cast<const MotionEvent*>(motion_event)->getOrientation(pointer_index); in AMotionEvent_getOrientation()
/frameworks/base/include/androidfw/
DInput.h426 inline float getOrientation(size_t pointerIndex) const { in getOrientation() function
/frameworks/base/core/java/android/widget/
DTabHost.java308 switch (mTabWidget.getOrientation()) { in getTabWidgetLocation()
/frameworks/base/core/java/android/hardware/
DSensorManager.java1063 public static float[] getOrientation(float[] R, float values[]) { in getOrientation() method in SensorManager
/frameworks/base/core/java/android/gesture/
DGestureOverlayView.java194 public int getOrientation() { in getOrientation() method in GestureOverlayView

12