• Home
  • Raw
  • Download

Lines Matching refs:videoState

131     public VideoProfile(@VideoState int videoState) {  in VideoProfile()  argument
132 this(videoState, QUALITY_DEFAULT); in VideoProfile()
141 public VideoProfile(@VideoState int videoState, @VideoQuality int quality) { in VideoProfile() argument
142 mVideoState = videoState; in VideoProfile()
237 public static String videoStateToString(@VideoState int videoState) { in videoStateToString() argument
241 if (videoState == STATE_AUDIO_ONLY) { in videoStateToString()
244 if (isTransmissionEnabled(videoState)) { in videoStateToString()
248 if (isReceptionEnabled(videoState)) { in videoStateToString()
252 if (isPaused(videoState)) { in videoStateToString()
269 public static boolean isAudioOnly(@VideoState int videoState) { in isAudioOnly() argument
270 return !hasState(videoState, VideoProfile.STATE_TX_ENABLED) in isAudioOnly()
271 && !hasState(videoState, VideoProfile.STATE_RX_ENABLED); in isAudioOnly()
280 public static boolean isVideo(@VideoState int videoState) { in isVideo() argument
281 return hasState(videoState, VideoProfile.STATE_TX_ENABLED) in isVideo()
282 || hasState(videoState, VideoProfile.STATE_RX_ENABLED) in isVideo()
283 || hasState(videoState, VideoProfile.STATE_BIDIRECTIONAL); in isVideo()
292 public static boolean isTransmissionEnabled(@VideoState int videoState) { in isTransmissionEnabled() argument
293 return hasState(videoState, VideoProfile.STATE_TX_ENABLED); in isTransmissionEnabled()
302 public static boolean isReceptionEnabled(@VideoState int videoState) { in isReceptionEnabled() argument
303 return hasState(videoState, VideoProfile.STATE_RX_ENABLED); in isReceptionEnabled()
312 public static boolean isBidirectional(@VideoState int videoState) { in isBidirectional() argument
313 return hasState(videoState, VideoProfile.STATE_BIDIRECTIONAL); in isBidirectional()
322 public static boolean isPaused(@VideoState int videoState) { in isPaused() argument
323 return hasState(videoState, VideoProfile.STATE_PAUSED); in isPaused()
333 private static boolean hasState(@VideoState int videoState, @VideoState int state) { in hasState() argument
334 return (videoState & state) == state; in hasState()