Home
last modified time | relevance | path

Searched refs:getDataModel (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/widget/
DActivityChooserView.java373 if (mAdapter.getDataModel() == null) { in showPopupUnchecked()
440 ActivityChooserModel dataModel = mAdapter.getDataModel(); in onAttachedToWindow()
450 ActivityChooserModel dataModel = mAdapter.getDataModel(); in onDetachedFromWindow()
486 public ActivityChooserModel getDataModel() { in getDataModel() method in ActivityChooserView
487 return mAdapter.getDataModel(); in getDataModel()
596 mAdapter.getDataModel().setDefaultActivity(position); in onItemClick()
602 Intent launchIntent = mAdapter.getDataModel().chooseActivity(position); in onItemClick()
605 ResolveInfo resolveInfo = mAdapter.getDataModel().getActivity(position); in onItemClick()
620 final int index = mAdapter.getDataModel().getActivityIndex(defaultActivity); in onClick()
621 Intent launchIntent = mAdapter.getDataModel().chooseActivity(index); in onClick()
[all …]
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DActivityChooserView.java365 if (mAdapter.getDataModel() == null) { in showPopupUnchecked()
432 ActivityChooserModel dataModel = mAdapter.getDataModel(); in onAttachedToWindow()
442 ActivityChooserModel dataModel = mAdapter.getDataModel(); in onDetachedFromWindow()
478 public ActivityChooserModel getDataModel() { in getDataModel() method in ActivityChooserView
479 return mAdapter.getDataModel(); in getDataModel()
592 mAdapter.getDataModel().setDefaultActivity(position); in onItemClick()
598 Intent launchIntent = mAdapter.getDataModel().chooseActivity(position); in onItemClick()
616 final int index = mAdapter.getDataModel().getActivityIndex(defaultActivity); in onClick()
617 Intent launchIntent = mAdapter.getDataModel().chooseActivity(index); in onClick()
689 ActivityChooserModel oldDataModel = mAdapter.getDataModel(); in setDataModel()
[all …]