Home
last modified time | relevance | path

Searched refs:mSelector (Results 1 – 10 of 10) sorted by relevance

/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteDiscoveryFragment.java40 private MediaRouteSelector mSelector; field in MediaRouteDiscoveryFragment
67 return mSelector; in getRouteSelector()
82 if (!mSelector.equals(selector)) { in setRouteSelector()
83 mSelector = selector; in setRouteSelector()
94 mRouter.addCallback(mSelector, mCallback, in setRouteSelector()
101 if (mSelector == null) { in ensureRouteSelector()
104 mSelector = MediaRouteSelector.fromBundle(args.getBundle(ARGUMENT_SELECTOR)); in ensureRouteSelector()
106 if (mSelector == null) { in ensureRouteSelector()
107 mSelector = MediaRouteSelector.EMPTY; in ensureRouteSelector()
147 mRouter.addCallback(mSelector, mCallback, onPrepareCallbackFlags()); in onStart()
DMediaRouteChooserDialogFragment.java34 private MediaRouteSelector mSelector; field in MediaRouteChooserDialogFragment
47 return mSelector; in getRouteSelector()
51 if (mSelector == null) { in ensureRouteSelector()
54 mSelector = MediaRouteSelector.fromBundle(args.getBundle(ARGUMENT_SELECTOR)); in ensureRouteSelector()
56 if (mSelector == null) { in ensureRouteSelector()
57 mSelector = MediaRouteSelector.EMPTY; in ensureRouteSelector()
74 if (!mSelector.equals(selector)) { in setRouteSelector()
75 mSelector = selector; in setRouteSelector()
DMediaRouteActionProvider.java132 private MediaRouteSelector mSelector = MediaRouteSelector.EMPTY; field in MediaRouteActionProvider
154 return mSelector; in getRouteSelector()
168 if (!mSelector.equals(selector)) { in setRouteSelector()
176 if (!mSelector.isEmpty()) { in setRouteSelector()
182 mSelector = selector; in setRouteSelector()
211 mButton.setRouteSelector(mSelector); in onCreateMediaRouteButton()
245 return mRouter.isRouteAvailable(mSelector, in isVisible()
DMediaRouteButton.java89 private MediaRouteSelector mSelector = MediaRouteSelector.EMPTY; field in MediaRouteButton
147 return mSelector; in getRouteSelector()
161 if (!mSelector.equals(selector)) { in setRouteSelector()
163 if (!mSelector.isEmpty()) { in setRouteSelector()
170 mSelector = selector; in setRouteSelector()
205 if (route.isDefault() || !route.matchesSelector(mSelector)) { in showDialog()
211 f.setRouteSelector(mSelector); in showDialog()
402 if (!mSelector.isEmpty()) { in onAttachedToWindow()
403 mRouter.addCallback(mSelector, mCallback); in onAttachedToWindow()
411 if (!mSelector.isEmpty()) { in onDetachedFromWindow()
[all …]
DMediaRouteChooserDialog.java51 private MediaRouteSelector mSelector = MediaRouteSelector.EMPTY; field in MediaRouteChooserDialog
74 return mSelector; in getRouteSelector()
87 if (!mSelector.equals(selector)) { in setRouteSelector()
88 mSelector = selector; in setRouteSelector()
126 mRouter.addCallback(mSelector, mCallback, MediaRouter.CALLBACK_FLAG_PERFORM_ACTIVE_SCAN); in onAttachedToWindow()
159 if (!route.isDefault() && route.matchesSelector(mSelector)) { in update()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteDiscoveryRequest.java32 private MediaRouteSelector mSelector; field in MediaRouteDiscoveryRequest
46 mSelector = selector; in MediaRouteDiscoveryRequest()
60 return mSelector; in getSelector()
64 if (mSelector == null) { in ensureSelector()
65 mSelector = MediaRouteSelector.fromBundle(mBundle.getBundle(KEY_SELECTOR)); in ensureSelector()
66 if (mSelector == null) { in ensureSelector()
67 mSelector = MediaRouteSelector.EMPTY; in ensureSelector()
86 return mSelector.isValid(); in isValid()
DMediaRouter.java436 if (!record.mSelector.contains(selector)) { in addCallback()
437 record.mSelector = new MediaRouteSelector.Builder(record.mSelector) in addCallback()
1271 public MediaRouteSelector mSelector; field in MediaRouter.CallbackRecord
1277 mSelector = MediaRouteSelector.EMPTY; in CallbackRecord()
1282 || route.matchesSelector(mSelector); in filterRouteEvent()
1465 builder.addSelector(callback.mSelector); in updateDiscoveryRequest()
/frameworks/base/core/java/android/content/
DIntent.java3548 private Intent mSelector; field in Intent
3578 if (o.mSelector != null) { in Intent()
3579 this.mSelector = new Intent(o.mSelector); in Intent()
4260 return mSelector; in getSelector()
5224 mSelector = selector; in setSelector()
6085 if (packageName != null && mSelector != null) { in setPackage()
6313 if (mSelector == null) { in fillIn()
6320 if (other.mSelector != null && (flags&FILL_IN_SELECTOR) != 0) { in fillIn()
6322 mSelector = new Intent(other.mSelector); in fillIn()
6653 if (mSelector != null) { in toShortString()
[all …]
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
DUiObject.java67 private final UiSelector mSelector; field in UiObject
78 mSelector = selector; in UiObject()
90 return new UiSelector(mSelector); in getSelector()
/frameworks/base/core/java/android/widget/
DAbsListView.java292 Drawable mSelector; field in AbsListView
1972 if (mSelector == null) { in onMeasure()
2434 final Drawable selector = mSelector; in drawSelector()
2465 if (mSelector != null) { in setSelector()
2466 mSelector.setCallback(null); in setSelector()
2467 unscheduleDrawable(mSelector); in setSelector()
2469 mSelector = sel; in setSelector()
2487 return mSelector; in getSelector()
2499 Drawable selector = mSelector; in keyPressed()
2538 if (mSelector != null) { in updateSelectorState()
[all …]