Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DSearchableInfo.java280 public Context getProviderContext(Context context, Context activityContext) { in getProviderContext() argument
283 return activityContext; in getProviderContext()
309 private SearchableInfo(Context activityContext, AttributeSet attr, final ComponentName cName) { in SearchableInfo() argument
312 TypedArray a = activityContext.obtainStyledAttributes(attr, in SearchableInfo()
364 PackageManager pm = activityContext.getPackageManager(); in SearchableInfo()
401 ActionKeyInfo(Context activityContext, AttributeSet attr) { in ActionKeyInfo() argument
402 TypedArray a = activityContext.obtainStyledAttributes(attr, in ActionKeyInfo()
565 Context activityContext = createActivityContext(context, cName); in getActivityMetaData() local
566 if (activityContext == null) return null; in getActivityMetaData()
578 result = new SearchableInfo(activityContext, attr, cName); in getActivityMetaData()
[all …]
/frameworks/base/test-runner/src/android/test/
DActivityUnitTestCase.java191 public void setActivityContext(Context activityContext) { in setActivityContext() argument
192 mActivityContext = activityContext; in setActivityContext()
/frameworks/base/core/java/android/widget/
DSuggestionsAdapter.java110 final Context activityContext = mSearchable.getActivityContext(mContext); in SuggestionsAdapter() local
111 mProviderContext = mSearchable.getProviderContext(mContext, activityContext); in SuggestionsAdapter()