Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java221 Context originalContext = ((MyMockContext)getContext()).mTestContext; in testRemovedAccountSync() local
223 AccountManagerService ams2 = createAccountManagerService(getContext(), originalContext); in testRemovedAccountSync()
233 int accountsNumber = readNumberOfAccountsFromDbFile(originalContext, ceDatabaseName); in testRemovedAccountSync()
238 accountsNumber = readNumberOfAccountsFromDbFile(originalContext, ceDatabaseName); in testRemovedAccountSync()
247 Context originalContext = ((MyMockContext) getContext()).mTestContext; in testPreNDatabaseMigration() local
248 PreNTestDatabaseHelper.createV4Database(originalContext, preNDatabaseName); in testPreNDatabaseMigration()
250 int n = readNumberOfAccountsFromDbFile(originalContext, preNDatabaseName); in testPreNDatabaseMigration()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAppCompatViewInflater.java83 final Context originalContext = context; in createView() local
143 if (view == null && originalContext != context) { in createView()
/frameworks/base/core/java/com/android/internal/widget/
DFloatingToolbar.java1704 private static Context applyDefaultTheme(Context originalContext) { in applyDefaultTheme() argument
1705 TypedArray a = originalContext.obtainStyledAttributes(new int[]{R.attr.isLightTheme}); in applyDefaultTheme()
1709 return new ContextThemeWrapper(originalContext, themeId); in applyDefaultTheme()
/frameworks/base/core/java/android/widget/
DEditor.java3320 private Context applyDefaultTheme(Context originalContext) { in applyDefaultTheme() argument
3321 TypedArray a = originalContext.obtainStyledAttributes( in applyDefaultTheme()
3327 return new ContextThemeWrapper(originalContext, themeId); in applyDefaultTheme()