Home
last modified time | relevance | path

Searched refs:orientation (Results 1 – 14 of 14) sorted by relevance

/pdk/apps/TestingCamera2/src/com/android/testingcamera2/
DPaneTracker.java93 public void notifyOrientationChange(int orientation) { in notifyOrientationChange() argument
95 pane.onOrientationChange(orientation); in notifyOrientationChange()
DTargetSubPane.java38 public abstract void setUiOrientation(int orientation); in setUiOrientation() argument
DSurfaceViewSubPane.java116 public void setUiOrientation(int orientation) { in setUiOrientation() argument
117 mCurrentUiOrientation = orientation; in setUiOrientation()
DTestingCamera21.java106 if (newConfig.orientation == Configuration.ORIENTATION_LANDSCAPE) { in onConfigurationChanged()
109 } else if (newConfig.orientation == Configuration.ORIENTATION_PORTRAIT) { in onConfigurationChanged()
DTargetControlPane.java160 public void onOrientationChange(int orientation) { in onOrientationChange() argument
161 mOrientation = orientation; in onOrientationChange()
DControlPane.java196 public void onOrientationChange(int orientation) { in onOrientationChange() argument
DTextureViewSubPane.java103 public void setUiOrientation(int orientation) { in setUiOrientation() argument
DImageReaderSubPane.java176 public void setUiOrientation(int orientation) { in setUiOrientation() argument
177 mCurrentUiOrientation = orientation; in setUiOrientation()
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/v1/
DTestingCamera2.java219 public void onOrientationChanged(int orientation) { in onCreate()
220 if (orientation == ORIENTATION_UNKNOWN) { in onCreate()
221 orientation = 0; in onCreate()
223 mCameraOps.updateOrientation(orientation); in onCreate()
306 newConfig.orientation)); in onConfigurationChanged()
315 newConfig.orientation)); in maybeUpdateConfiguration()
318 if (mLastOrientation != newConfig.orientation) { in maybeUpdateConfiguration()
319 mLastOrientation = newConfig.orientation; in maybeUpdateConfiguration()
DCameraRecordingStream.java88 Context ctx, Size size, boolean useMediaCodec, int bitRate, int orientation, in configure() argument
99 (mOrientation != orientation); in configure()
104 mOrientation = orientation; in configure()
DCameraOps.java364 public void updateOrientation(int orientation) { in updateOrientation() argument
365 mDeviceOrientation = orientation; in updateOrientation()
570 int orientation = ((int)Math.round(mDeviceOrientation/90.0)*90) % 360; in getOrientationHint() local
578 return (sensorOrientation + orientation) % 360; in getOrientationHint()
/pdk/apps/TestingCamera/src/com/android/testingcamera/
DInfoDialogFragment.java55 b.append(cameraInfo.orientation); in updateInfo()
DSnapshotDialogFragment.java217 String orientation = orientationStrings[orientationVal]; in updateExif() local
229 append(orientation).append("\n"); in updateExif()
DTestingCamera.java349 public void onOrientationChanged(int orientation) { in onOrientationChanged() argument
496 result = (info.orientation + degrees) % 360; in setCameraDisplayOrientation()
499 result = (info.orientation - degrees + 360) % 360; in setCameraDisplayOrientation()
503 info.orientation, rotation, in setCameraDisplayOrientation()