Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DSearchableInfo.java284 public Context getProviderContext(Context context, Context activityContext) { in getProviderContext() argument
287 return activityContext; in getProviderContext()
314 private SearchableInfo(Context activityContext, AttributeSet attr, final ComponentName cName) { in SearchableInfo() argument
317 TypedArray a = activityContext.obtainStyledAttributes(attr, in SearchableInfo()
369 PackageManager pm = activityContext.getPackageManager(); in SearchableInfo()
407 ActionKeyInfo(Context activityContext, AttributeSet attr) { in ActionKeyInfo() argument
408 TypedArray a = activityContext.obtainStyledAttributes(attr, in ActionKeyInfo()
575 Context activityContext = createActivityContext(context, cName); in getActivityMetaData() local
576 if (activityContext == null) return null; in getActivityMetaData()
588 result = new SearchableInfo(activityContext, attr, cName); in getActivityMetaData()
[all …]
/frameworks/base/test-runner/src/android/test/
DActivityUnitTestCase.java200 public void setActivityContext(Context activityContext) { in setActivityContext() argument
201 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()