Home
last modified time | relevance | path

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

/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/spherical/
DSphericalGLSurfaceView.java75 private boolean useSensorRotation; field in SphericalGLSurfaceView
110 useSensorRotation = true; in SphericalGLSurfaceView()
153 public void setUseSensorRotation(boolean useSensorRotation) { in setUseSensorRotation() argument
154 this.useSensorRotation = useSensorRotation; in setUseSensorRotation()
192 boolean enabled = useSensorRotation && isStarted; in updateOrientationListenerRegistration()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DPlayerView.java315 private boolean useSensorRotation; field in PlayerView
375 useSensorRotation = true; in PlayerView()
399 useSensorRotation = in PlayerView()
400 a.getBoolean(R.styleable.PlayerView_use_sensor_rotation, useSensorRotation); in PlayerView()
433 sphericalGLSurfaceView.setUseSensorRotation(useSensorRotation); in PlayerView()
765 public void setUseSensorRotation(boolean useSensorRotation) { in setUseSensorRotation() argument
766 if (this.useSensorRotation != useSensorRotation) { in setUseSensorRotation()
767 this.useSensorRotation = useSensorRotation; in setUseSensorRotation()
769 ((SphericalGLSurfaceView) surfaceView).setUseSensorRotation(useSensorRotation); in setUseSensorRotation()