Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/policy/
DDecorContext.java50 public DecorContext(Context context, Context activityContext) { in DecorContext() argument
51 super(context.createDisplayContext(activityContext.getDisplay()), null); in DecorContext()
52 mActivityContext = new WeakReference<>(activityContext); in DecorContext()
53 mActivityResources = activityContext.getResources(); in DecorContext()
73 Context activityContext = mActivityContext.get(); in getSystemService() local
74 if (activityContext != null) { in getSystemService()
75 mContentCaptureManager = (ContentCaptureManager) activityContext in getSystemService()
86 Context activityContext = mActivityContext.get(); in getResources() local
89 if (activityContext != null) { in getResources()
90 mActivityResources = activityContext.getResources(); in getResources()
[all …]
/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()