Searched refs:useSensorRotation (Results 1 – 2 of 2) sorted by relevance
75 private boolean useSensorRotation; field in SphericalGLSurfaceView110 useSensorRotation = true; in SphericalGLSurfaceView()153 public void setUseSensorRotation(boolean useSensorRotation) { in setUseSensorRotation() argument154 this.useSensorRotation = useSensorRotation; in setUseSensorRotation()192 boolean enabled = useSensorRotation && isStarted; in updateOrientationListenerRegistration()
315 private boolean useSensorRotation; field in PlayerView375 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() argument766 if (this.useSensorRotation != useSensorRotation) { in setUseSensorRotation()767 this.useSensorRotation = useSensorRotation; in setUseSensorRotation()769 ((SphericalGLSurfaceView) surfaceView).setUseSensorRotation(useSensorRotation); in setUseSensorRotation()