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.java113 void rotateDisplay(int displayId, int rotationDegrees) { in rotateDisplay() argument
116 holder.rotateDisplay(rotationDegrees, /* resize= */ false); in rotateDisplay()
210 void rotateDisplay(int rotationDegrees, boolean resize) { in rotateDisplay() argument
211 if (mTextureView.getRotation() == rotationDegrees) { in rotateDisplay()
214 Log.i(TAG, "Rotating display " + mDisplayId + " to " + rotationDegrees); in rotateDisplay()
215 mRotateButton.setEnabled(rotationDegrees == 0 || resize in rotateDisplay()
223 final int postRotationWidth = (resize || rotationDegrees % 180 != 0) in rotateDisplay()
228 .rotation(rotationDegrees) in rotateDisplay()
/development/samples/VirtualDeviceManager/host/src/com/example/android/vdmdemo/host/
DRemoteDisplay.java345 int rotationDegrees = displayRotationToDegrees(mRotation); in onDisplayChanged() local
346 Log.v(TAG, "Notify client for rotation event: " + rotationDegrees); in onDisplayChanged()
352 .setRotationDegrees(rotationDegrees)) in onDisplayChanged()