Searched refs:dataModel (Results 1 – 3 of 3) sorted by relevance
166 … ActivityChooserModel dataModel = ActivityChooserModel.get(mContext, mShareHistoryFileName); in onCreateActionView() local167 activityChooserView.setActivityChooserModel(dataModel); in onCreateActionView()202 ActivityChooserModel dataModel = ActivityChooserModel.get(mContext, mShareHistoryFileName); in onPrepareSubMenu() local205 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() local288 dataModel.setIntent(shareIntent); in setShareIntent()297 ActivityChooserModel dataModel = ActivityChooserModel.get(mContext, in onMenuItemClick() local300 Intent launchIntent = dataModel.chooseActivity(itemId); in onMenuItemClick()[all …]
310 public void setActivityChooserModel(ActivityChooserModel dataModel) { in setActivityChooserModel() argument311 mAdapter.setDataModel(dataModel); in setActivityChooserModel()444 ActivityChooserModel dataModel = mAdapter.getDataModel(); in onAttachedToWindow() local445 if (dataModel != null) { in onAttachedToWindow()446 dataModel.registerObserver(mModelDataSetOberver); in onAttachedToWindow()454 ActivityChooserModel dataModel = mAdapter.getDataModel(); in onDetachedFromWindow() local455 if (dataModel != null) { in onDetachedFromWindow()456 dataModel.unregisterObserver(mModelDataSetOberver); in onDetachedFromWindow()704 public void setDataModel(ActivityChooserModel dataModel) { in setDataModel() argument709 mDataModel = dataModel; in setDataModel()[all …]
111 public void setActivityChooserModel(ActivityChooserModel dataModel); in setActivityChooserModel() argument346 ActivityChooserModel dataModel = sDataModelRegistry.get(historyFileName); in get() local347 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()