Home
last modified time | relevance | path

Searched refs:dataModel (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/widget/
DShareActionProvider.java166 … ActivityChooserModel dataModel = ActivityChooserModel.get(mContext, mShareHistoryFileName); in onCreateActionView() local
167 activityChooserView.setActivityChooserModel(dataModel); in onCreateActionView()
202 ActivityChooserModel dataModel = ActivityChooserModel.get(mContext, mShareHistoryFileName); in onPrepareSubMenu() local
205 final int expandedActivityCount = dataModel.getActivityCount(); in onPrepareSubMenu()
210 ResolveInfo activity = dataModel.getActivity(i); in onPrepareSubMenu()
222 ResolveInfo activity = dataModel.getActivity(i); in onPrepareSubMenu()
286 ActivityChooserModel dataModel = ActivityChooserModel.get(mContext, in setShareIntent() local
288 dataModel.setIntent(shareIntent); in setShareIntent()
297 ActivityChooserModel dataModel = ActivityChooserModel.get(mContext, in onMenuItemClick() local
300 Intent launchIntent = dataModel.chooseActivity(itemId); in onMenuItemClick()
[all …]
DActivityChooserView.java310 public void setActivityChooserModel(ActivityChooserModel dataModel) { in setActivityChooserModel() argument
311 mAdapter.setDataModel(dataModel); in setActivityChooserModel()
444 ActivityChooserModel dataModel = mAdapter.getDataModel(); in onAttachedToWindow() local
445 if (dataModel != null) { in onAttachedToWindow()
446 dataModel.registerObserver(mModelDataSetOberver); in onAttachedToWindow()
454 ActivityChooserModel dataModel = mAdapter.getDataModel(); in onDetachedFromWindow() local
455 if (dataModel != null) { in onDetachedFromWindow()
456 dataModel.unregisterObserver(mModelDataSetOberver); in onDetachedFromWindow()
704 public void setDataModel(ActivityChooserModel dataModel) { in setDataModel() argument
709 mDataModel = dataModel; in setDataModel()
[all …]
DActivityChooserModel.java111 public void setActivityChooserModel(ActivityChooserModel dataModel); in setActivityChooserModel() argument
346 ActivityChooserModel dataModel = sDataModelRegistry.get(historyFileName); in get() local
347 if (dataModel == null) { in get()
348 dataModel = new ActivityChooserModel(context, historyFileName); in get()
349 sDataModelRegistry.put(historyFileName, dataModel); in get()
351 return dataModel; in get()