Searched refs:originalContext (Results 1 – 5 of 5) sorted by relevance
91 final Context originalContext = InstrumentationRegistry.getContext(); in setUp() local92 when(mContext.getApplicationInfo()).thenReturn(originalContext.getApplicationInfo()); in setUp()
83 final Context originalContext = context; in createView() local143 if (view == null && originalContext != context) { in createView()
1765 private static Context applyDefaultTheme(Context originalContext) { in applyDefaultTheme() argument1766 TypedArray a = originalContext.obtainStyledAttributes(new int[]{R.attr.isLightTheme}); in applyDefaultTheme()1770 return new ContextThemeWrapper(originalContext, themeId); in applyDefaultTheme()
336 Context originalContext = ((MyMockContext)getContext()).mTestContext; in testRemovedAccountSync() local348 int accountsNumber = readNumberOfAccountsFromDbFile(originalContext, ceDatabaseName); in testRemovedAccountSync()356 accountsNumber = readNumberOfAccountsFromDbFile(originalContext, ceDatabaseName); in testRemovedAccountSync()363 Context originalContext = ((MyMockContext) getContext()).mTestContext; in testPreNDatabaseMigration() local364 PreNTestDatabaseHelper.createV4Database(originalContext, preNDatabaseName); in testPreNDatabaseMigration()366 int n = readNumberOfAccountsFromDbFile(originalContext, preNDatabaseName); in testPreNDatabaseMigration()
3422 private Context applyDefaultTheme(Context originalContext) { in applyDefaultTheme() argument3423 TypedArray a = originalContext.obtainStyledAttributes( in applyDefaultTheme()3429 return new ContextThemeWrapper(originalContext, themeId); in applyDefaultTheme()