Home
last modified time | relevance | path

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

/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/
DResourceHelper.java40 Context packageContext = context.createPackageContext(packageName, 0); in getThemeColor() local
43 packageContext.setTheme(applicationInfo.theme); in getThemeColor()
44 Resources.Theme theme = packageContext.getTheme(); in getThemeColor()
/frameworks/base/core/java/android/content/
DIntent.java4899 public Intent(Context packageContext, Class<?> cls) { in Intent() argument
4900 mComponent = new ComponentName(packageContext, cls); in Intent()
4927 Context packageContext, Class<?> cls) { in Intent() argument
4930 mComponent = new ComponentName(packageContext, cls); in Intent()
7966 public Intent setClassName(Context packageContext, String className) { in setClassName() argument
7967 mComponent = new ComponentName(packageContext, className); in setClassName()
8005 public Intent setClass(Context packageContext, Class<?> cls) { in setClass() argument
8006 mComponent = new ComponentName(packageContext, cls); in setClass()
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java212 public static void setDefaultLauncher(Instrumentation instrumentation, Context packageContext) { in setDefaultLauncher() argument
213 setDefaultLauncher(instrumentation, packageContext.getPackageName() in setDefaultLauncher()