Searched refs:originalContext (Results 1 – 4 of 4) sorted by relevance
221 Context originalContext = ((MyMockContext)getContext()).mTestContext; in testRemovedAccountSync() local223 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() local248 PreNTestDatabaseHelper.createV4Database(originalContext, preNDatabaseName); in testPreNDatabaseMigration()250 int n = readNumberOfAccountsFromDbFile(originalContext, preNDatabaseName); in testPreNDatabaseMigration()
83 final Context originalContext = context; in createView() local143 if (view == null && originalContext != context) { in createView()
1704 private static Context applyDefaultTheme(Context originalContext) { in applyDefaultTheme() argument1705 TypedArray a = originalContext.obtainStyledAttributes(new int[]{R.attr.isLightTheme}); in applyDefaultTheme()1709 return new ContextThemeWrapper(originalContext, themeId); in applyDefaultTheme()
3320 private Context applyDefaultTheme(Context originalContext) { in applyDefaultTheme() argument3321 TypedArray a = originalContext.obtainStyledAttributes( in applyDefaultTheme()3327 return new ContextThemeWrapper(originalContext, themeId); in applyDefaultTheme()