Home
last modified time | relevance | path

Searched refs:rotationDegrees (Results 1 – 2 of 2) sorted by relevance

/development/samples/VirtualDeviceManager/client/src/com/example/android/vdmdemo/client/
DDisplayAdapter.java111 void rotateDisplay(int displayId, int rotationDegrees) { in rotateDisplay() argument
114 holder.rotateDisplay(rotationDegrees, /* resize= */ false); in rotateDisplay()
207 void rotateDisplay(int rotationDegrees, boolean resize) { in rotateDisplay() argument
208 if (mTextureView.getRotation() == rotationDegrees) { in rotateDisplay()
211 Log.i(TAG, "Rotating display " + mDisplayId + " to " + rotationDegrees); in rotateDisplay()
212 mRotateButton.setEnabled(rotationDegrees == 0 || resize); in rotateDisplay()
219 final int postRotationWidth = (resize || rotationDegrees % 180 != 0) in rotateDisplay()
224 .rotation(rotationDegrees) in rotateDisplay()
/development/samples/VirtualDeviceManager/host/src/com/example/android/vdmdemo/host/
DRemoteDisplay.java241 int rotationDegrees = displayRotationToDegrees(mRotation); in onDisplayChanged() local
242 Log.v(TAG, "Notify client for rotation event: " + rotationDegrees); in onDisplayChanged()
248 .setRotationDegrees(rotationDegrees)) in onDisplayChanged()