Searched refs:hasState (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/telecomm/java/android/telecom/ |
D | VideoProfile.java | 264 return !hasState(videoState, VideoProfile.STATE_TX_ENABLED) in isAudioOnly() 265 && !hasState(videoState, VideoProfile.STATE_RX_ENABLED); in isAudioOnly() 275 return hasState(videoState, VideoProfile.STATE_TX_ENABLED) in isVideo() 276 || hasState(videoState, VideoProfile.STATE_RX_ENABLED) in isVideo() 277 || hasState(videoState, VideoProfile.STATE_BIDIRECTIONAL); in isVideo() 287 return hasState(videoState, VideoProfile.STATE_TX_ENABLED); in isTransmissionEnabled() 297 return hasState(videoState, VideoProfile.STATE_RX_ENABLED); in isReceptionEnabled() 307 return hasState(videoState, VideoProfile.STATE_BIDIRECTIONAL); in isBidirectional() 317 return hasState(videoState, VideoProfile.STATE_PAUSED); in isPaused() 327 private static boolean hasState(@VideoState int videoState, @VideoState int state) { in hasState() method in VideoProfile
|
/frameworks/base/core/java/android/widget/ |
D | DatePickerCalendarDelegate.java | 201 if (color == null || color.hasState(R.attr.state_activated)) { in applyLegacyColorFixes() 207 if (color.hasState(R.attr.state_selected)) { in applyLegacyColorFixes()
|
D | TimePickerClockDelegate.java | 269 if (color == null || color.hasState(R.attr.state_activated)) { in applyLegacyColorFixes() 275 if (color.hasState(R.attr.state_selected)) { in applyLegacyColorFixes()
|
/frameworks/base/core/java/android/content/res/ |
D | ColorStateList.java | 600 public boolean hasState(int state) { in hasState() method in ColorStateList
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | TelephonyMetricsTest.java | 302 assertTrue(log.events[0].imsConnectionState.hasState()); in testWriteOnImsConnectionState() 316 assertTrue(log.callSessions[0].events[1].imsConnectionState.hasState()); in testWriteOnImsConnectionState()
|