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.java4891 public Intent(Context packageContext, Class<?> cls) { in Intent() argument
4892 mComponent = new ComponentName(packageContext, cls); in Intent()
4919 Context packageContext, Class<?> cls) { in Intent() argument
4922 mComponent = new ComponentName(packageContext, cls); in Intent()
7958 public Intent setClassName(Context packageContext, String className) { in setClassName() argument
7959 mComponent = new ComponentName(packageContext, className); in setClassName()
7997 public Intent setClass(Context packageContext, Class<?> cls) { in setClass() argument
7998 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()