Home
last modified time | relevance | path

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

/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteDiscoveryFragment.java44 private MediaRouteSelector mSelector; field in MediaRouteDiscoveryFragment
71 return mSelector; in getRouteSelector()
86 if (!mSelector.equals(selector)) { in setRouteSelector()
87 mSelector = selector; in setRouteSelector()
98 mRouter.addCallback(mSelector, mCallback, onPrepareCallbackFlags()); in setRouteSelector()
104 if (mSelector == null) { in ensureRouteSelector()
107 mSelector = MediaRouteSelector.fromBundle(args.getBundle(ARGUMENT_SELECTOR)); in ensureRouteSelector()
109 if (mSelector == null) { in ensureRouteSelector()
110 mSelector = MediaRouteSelector.EMPTY; in ensureRouteSelector()
150 mRouter.addCallback(mSelector, mCallback, onPrepareCallbackFlags()); in onStart()
DMediaRouteChooserDialogFragment.java37 private MediaRouteSelector mSelector; field in MediaRouteChooserDialogFragment
56 return mSelector; in getRouteSelector()
60 if (mSelector == null) { in ensureRouteSelector()
63 mSelector = MediaRouteSelector.fromBundle(args.getBundle(ARGUMENT_SELECTOR)); in ensureRouteSelector()
65 if (mSelector == null) { in ensureRouteSelector()
66 mSelector = MediaRouteSelector.EMPTY; in ensureRouteSelector()
83 if (!mSelector.equals(selector)) { in setRouteSelector()
84 mSelector = selector; in setRouteSelector()
DMediaRouteActionProvider.java134 private MediaRouteSelector mSelector = MediaRouteSelector.EMPTY; field in MediaRouteActionProvider
158 return mSelector; in getRouteSelector()
172 if (!mSelector.equals(selector)) { in setRouteSelector()
180 if (!mSelector.isEmpty()) { in setRouteSelector()
186 mSelector = selector; in setRouteSelector()
255 mButton.setRouteSelector(mSelector); in onCreateActionView()
278 return mRouter.isRouteAvailable(mSelector, in isVisible()
DMediaRouteButton.java89 private MediaRouteSelector mSelector = MediaRouteSelector.EMPTY; field in MediaRouteButton
166 return mSelector; in getRouteSelector()
180 if (!mSelector.equals(selector)) { in setRouteSelector()
182 if (!mSelector.isEmpty()) { in setRouteSelector()
189 mSelector = selector; in setRouteSelector()
248 if (route.isDefaultOrBluetooth() || !route.matchesSelector(mSelector)) { in showDialog()
255 f.setRouteSelector(mSelector); in showDialog()
390 if (!mSelector.isEmpty()) { in onAttachedToWindow()
391 mRouter.addCallback(mSelector, mCallback); in onAttachedToWindow()
399 if (!mSelector.isEmpty()) { in onDetachedFromWindow()
[all …]
DMediaRouteChooserDialog.java73 private MediaRouteSelector mSelector = MediaRouteSelector.EMPTY; field in MediaRouteChooserDialog
109 return mSelector; in getRouteSelector()
122 if (!mSelector.equals(selector)) { in setRouteSelector()
123 mSelector = selector; in setRouteSelector()
165 && route.matchesSelector(mSelector); in onFilterRoute()
208 mRouter.addCallback(mSelector, mCallback, MediaRouter.CALLBACK_FLAG_PERFORM_ACTIVE_SCAN); in onAttachedToWindow()
/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.java605 if (!record.mSelector.contains(selector)) { in addCallback()
606 record.mSelector = new MediaRouteSelector.Builder(record.mSelector) in addCallback()
1899 public MediaRouteSelector mSelector; field in MediaRouter.CallbackRecord
1905 mSelector = MediaRouteSelector.EMPTY; in CallbackRecord()
1910 || route.matchesSelector(mSelector); in filterRouteEvent()
2150 builder.addSelector(callback.mSelector); in updateDiscoveryRequest()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DListViewCompat.java62 private GateKeeperDrawable mSelector; field in ListViewCompat
85 mSelector = sel != null ? new GateKeeperDrawable(sel) : null; in setSelector()
86 super.setSelector(mSelector); in setSelector()
359 if (mSelector != null) { in setSelectorEnabled()
360 mSelector.setEnabled(enabled); in setSelectorEnabled()
/frameworks/base/core/java/android/content/
DIntent.java5569 private Intent mSelector; field in Intent
5604 if (o.mSelector != null) { in Intent()
5605 this.mSelector = new Intent(o.mSelector); in Intent()
6812 return mSelector; in getSelector()
7844 mSelector = selector; in setSelector()
8708 if (packageName != null && mSelector != null) { in setPackage()
8956 if (mSelector == null) { in fillIn()
8963 if (other.mSelector != null && (flags&FILL_IN_SELECTOR) != 0) { in fillIn()
8965 mSelector = new Intent(other.mSelector); in fillIn()
9252 if (mSelector != null) { in toShortString()
[all …]
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DSampleMediaRouterActivity.java87 private MediaRouteSelector mSelector; field in SampleMediaRouterActivity
223 mSelector = new MediaRouteSelector.Builder() in onCreate()
243 fragment.setRouteSelector(mSelector); in onCreate()
533 mediaRouteActionProvider.setRouteSelector(mSelector); in onCreateOptionsMenu()
/frameworks/base/core/java/android/widget/
DAbsListView.java313 Drawable mSelector; field in AbsListView
2133 if (mSelector == null) { in onMeasure()
2566 if (mSelector != null && mSelectorPosition != position && position != INVALID_POSITION) { in positionSelectorLikeFocus()
2605 final Drawable selector = mSelector; in positionSelector()
2755 final Drawable selector = mSelector; in drawSelector()
2786 if (mSelector != null) { in setSelector()
2787 mSelector.setCallback(null); in setSelector()
2788 unscheduleDrawable(mSelector); in setSelector()
2790 mSelector = sel; in setSelector()
2808 return mSelector; in getSelector()
[all …]
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiObject.java70 private final UiSelector mSelector; field in UiObject
81 mSelector = selector; in UiObject()
93 return new UiSelector(mSelector); in getSelector()