Home
last modified time | relevance | path

Searched refs:getActivity (Results 1 – 25 of 1208) sorted by relevance

12345678910>>...49

/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/javatests/src/org/chromium/chrome/browser/compositor/overlays/strip/
H A DTabStripTest.java244 mActivityTestRule.getActivity().getActivityTab().getId()); in testCloseTabWithTwoTabs()
358 mActivityTestRule.getActivity().setRequestedOrientation( in testTabMenuDismissedOnOrientationChange()
369 mActivityTestRule.getActivity().setRequestedOrientation( in testTabMenuDismissedOnOrientationChange()
378 mActivityTestRule.getActivity().setRequestedOrientation( in testTabMenuDismissedOnOrientationChange()
887 mActivityTestRule.getActivity(), new Runnable() { in selectTab()
894 mActivityTestRule.getActivity()); in selectTab()
906 mActivityTestRule.getActivity(), new Runnable() { in closeTab()
913 mActivityTestRule.getActivity()); in closeTab()
926 mActivityTestRule.getActivity(), new Runnable() { in longPressCloseTab()
933 mActivityTestRule.getActivity()); in longPressCloseTab()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/javatests/src/org/chromium/chrome/browser/tasks/
H A DReturnToChromeTest.java188 if (!mActivityTestRule.getActivity().isTablet()) { in testTabSwitcherModeNotTriggeredWithinThreshold_NTP()
197 if (!mActivityTestRule.getActivity().isTablet()) { in testTabSwitcherModeNotTriggeredWithinThreshold_NTP()
224 if (!mActivityTestRule.getActivity().isTablet()) { in testTabSwitcherModeTriggeredWithinThreshold_NoTab()
230 if (!mActivityTestRule.getActivity().isTablet()) { in testTabSwitcherModeTriggeredWithinThreshold_NoTab()
258 if (!mActivityTestRule.getActivity().isTablet()) { in testTabSwitcherModeTriggeredWithinThreshold_NTP()
265 if (!mActivityTestRule.getActivity().isTablet()) { in testTabSwitcherModeTriggeredWithinThreshold_NTP()
360 if (!mActivityTestRule.getActivity().isTablet()) { in testTabSwitcherModeTriggeredBeyondThreshold()
366 if (!mActivityTestRule.getActivity().isTablet()) { in testTabSwitcherModeTriggeredBeyondThreshold()
428 if (!mActivityTestRule.getActivity().isTablet()) { in testTabSwitcherModeTriggeredBeyondThreshold_WarmStart()
491 if (!mActivityTestRule.getActivity().isTablet()) { in testTabSwitcherModeTriggeredBeyondThreshold_NoTabs()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/javatests/src/org/chromium/chrome/browser/
H A DTabsOpenedFromExternalAppTest.java193 final Tab originalTab = testRule.getActivity().getActivityTab(); in launchUrlFromExternalApp()
417 mActivityTestRule.getActivity().hasWindowFocus()); in testNoNewTabForSameApp()
419 () -> mActivityTestRule.getActivity().onBackPressed()); in testNoNewTabForSameApp()
464 mActivityTestRule.getActivity().hasWindowFocus()); in testNewTabForUnknownApp()
466 () -> mActivityTestRule.getActivity().onBackPressed()); in testNewTabForUnknownApp()
505 mActivityTestRule.getActivity().hasWindowFocus()); in testNewTabWithNewTabExtra()
507 () -> mActivityTestRule.getActivity().onBackPressed()); in testNewTabWithNewTabExtra()
539 mActivityTestRule.getActivity().hasWindowFocus()); in testNoNewTabForSameAppOnStart()
634 Tab tab = mActivityTestRule.getActivity().getActivityTab(); in testNewTabWhenPageEdited()
714 mActivityTestRule.getActivity(), 0.5f); in testBackgroundSvelteTabIsSelectedAfterClosingExternalTab()
[all …]
H A DTabsTest.java181 mActivityTestRule.getActivity().setRequestedOrientation( in tearDown()
210 int tabCount = mActivityTestRule.getActivity() in testSpawnPopupOnBackgroundTab()
301 mActivityTestRule.getActivity(), mActivityTestRule.getActivity().getTabsView()); in assertWaitForKeyboardStatus()
547 mActivityTestRule.getActivity().setRequestedOrientation( in testTabSwitcherPortraitCloseButton()
567 mActivityTestRule.getActivity().setRequestedOrientation( in testTabSwitcherLandscapeCloseButton()
890 mActivityTestRule.getActivity().setRequestedOrientation( in testTabSelectionPortrait()
1069 mActivityTestRule.getActivity(), () -> { in swipeToCloseTab()
1082 return !mActivityTestRule.getActivity() in swipeToCloseTab()
1378 () -> mActivityTestRule.getActivity() in testNewTabButton()
1559 View toolbarRoot = mActivityTestRule.getActivity() in performToolbarSideSwipe()
[all …]
H A DNavigateTest.java189 mActivityTestRule.getActivity().setRequestedOrientation( in testNavigateLandscape()
195 mActivityTestRule.getActivity().setRequestedOrientation( in testNavigateLandscape()
234 Tab tab = mActivityTestRule.getActivity().getActivityTab(); in testOpenLink()
257 final Tab tab = mActivityTestRule.getActivity().getActivityTab(); in testRequestDesktopSiteSettingPers()
266 mActivityTestRule.getActivity() in testRequestDesktopSiteSettingPers()
289 final Tab tab = mActivityTestRule.getActivity().getActivityTab(); in testRequestDesktopSiteClientHints()
322 final Tab tab = mActivityTestRule.getActivity().getActivityTab(); in testRequestDesktopSiteCriticalClientHints()
356 Tab tab = mActivityTestRule.getActivity().getActivityTab(); in testTabObserverOnPageLoadStarted()
427 int index = mActivityTestRule.getActivity() in testIntentFallbackRedirection()
433 String previousNavigationUrl = mActivityTestRule.getActivity() in testIntentFallbackRedirection()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/javatests/src/org/chromium/chrome/browser/fullscreen/
H A DFullscreenManagerTest.java150 Tab tab = mActivityTestRule.getActivity().getActivityTab(); in testTogglePersistentFullscreen()
157 tab, true, mActivityTestRule.getActivity()); in testTogglePersistentFullscreen()
160 tab, false, mActivityTestRule.getActivity()); in testTogglePersistentFullscreen()
169 Tab tab = mActivityTestRule.getActivity().getActivityTab(); in testDelayedPersistentFullscreen()
190 mActivityTestRule.getActivity() in getPersistentFullscreenMode()
210 tab, true, mActivityTestRule.getActivity()); in testPersistentFullscreenChangingUiFlags()
238 Tab tab = mActivityTestRule.getActivity().getActivityTab(); in testExitPersistentFullscreenAllowsManualFullscreen()
307 Tab tab = mActivityTestRule.getActivity().getActivityTab(); in testHideBrowserControlsAfterFlingBoosting()
371 mActivityTestRule.getActivity() in testHidingBrowserControlsRemovesSurfaceFlingerOverlay()
450 Tab tab = mActivityTestRule.getActivity().getActivityTab(); in testControlsShownOnUnresponsiveRenderer()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/javatests/src/org/chromium/chrome/browser/accessibility_tab_switcher/
H A DOverviewListLayoutTest.java76 int actualCount = mActivityTestRule.getActivity() in verifyTabModelCount()
180 final TabModel model = mActivityTestRule.getActivity().getCurrentTabModel(); in testCanCloseWithCloseButton()
211 final TabModel model = mActivityTestRule.getActivity().getCurrentTabModel(); in testCanSwipeClosed()
221 TouchCommon.dragTo(mActivityTestRule.getActivity(), location[0], in testCanSwipeClosed()
261 final TabModel model = mActivityTestRule.getActivity().getCurrentTabModel(); in testCloseAndUndo()
292 mActivityTestRule.getActivity(), R.id.close_all_tabs_menu_id); in testCloseAll()
296 Assert.assertFalse(mActivityTestRule.getActivity() in testCloseAll()
319 Assert.assertTrue(mActivityTestRule.getActivity() in testCloseAllIncognito()
324 mActivityTestRule.getActivity(), R.id.close_all_tabs_menu_id); in testCloseAllIncognito()
328 Assert.assertFalse(mActivityTestRule.getActivity() in testCloseAllIncognito()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/javatests/src/org/chromium/chrome/browser/offlinepages/indicator/
H A DOfflineIndicatorControllerTest.java107 checkOfflineIndicatorVisibility(mActivityTestRule.getActivity(), true); in testShowOfflineIndicatorOnNTPWhenOffline()
124 checkOfflineIndicatorVisibility(mActivityTestRule.getActivity(), true); in testShowOfflineIndicatorOnRegularPageWhenOffline()
141 checkOfflineIndicatorVisibility(mActivityTestRule.getActivity(), true); in testHideOfflineIndicatorWhenBackToOnline()
164 checkOfflineIndicatorVisibility(mActivityTestRule.getActivity(), true); in testDoNotShowSubsequentOfflineIndicatorWhenFlaky()
220 Tab tab = mActivityTestRule.getActivity().getActivityTab(); in testDoNotShowOfflineIndicatorOnOfflinePageWhenOffline()
241 if (mActivityTestRule.getActivity().isTablet()) return; in testDoNotShowOfflineIndicatorOnDownloadsWhenOffline()
295 hideOfflineIndicator(mActivityTestRule.getActivity()); in testReshowOfflineIndicatorWhenResumed()
322 hideOfflineIndicator(mActivityTestRule.getActivity()); in testDoNotShowOfflineIndicatorWhenTemporarilyPaused()
353 Tab tab = mActivityTestRule.getActivity().getActivityTab(); in loadPage()
366 Tab tab = mActivityTestRule.getActivity().getActivityTab(); in loadPageWithoutWaiting()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/javatests/src/org/chromium/chrome/browser/contextmenu/
H A DRevampedContextMenuTest.java120 Tab tab = mDownloadTestRule.getActivity().getActivityTab(); in testCopyLinkURL()
136 Tab tab = mDownloadTestRule.getActivity().getActivityTab(); in testCopyImageLinkCopiesLinkURL()
152 Tab tab = mDownloadTestRule.getActivity().getActivityTab(); in testSearchWithGoogleLensFiresIntent()
182 Tab tab = mDownloadTestRule.getActivity().getActivityTab(); in testShopSimilarProductsFiresIntent()
210 Tab tab = mDownloadTestRule.getActivity().getActivityTab(); in testShopImageWithGoogleLensFiresIntent()
239 Tab tab = mDownloadTestRule.getActivity().getActivityTab(); in testSearchSimilarProductsFiresIntent()
268 Tab tab = mDownloadTestRule.getActivity().getActivityTab(); in testSearchSimilarProductsBelowShoppingMinimumAgsaVersion()
291 Tab tab = mDownloadTestRule.getActivity().getActivityTab(); in testLensShoppingAllowlistWithLensFeaturesDisabled()
299 mDownloadTestRule.getActivity(), tab, "testImage", in testLensShoppingAllowlistWithLensFeaturesDisabled()
319 Tab tab = mDownloadTestRule.getActivity().getActivityTab(); in testSearchWithGoogleLensWithSearchByImageTextFiresIntent()
[all …]
/dports/games/ecwolf/ecwolf-1.3.3-src/android-libs/launcher/src/com/beloko/idtech/
H A DOptionsFragment.java105 new DirectoryChooserDialog(getActivity(), in onCreateView()
125 AppSettings.resetBaseDir(getActivity()); in onCreateView()
139 File[] files =getActivity().getExternalFilesDirs(null); in onCreateView()
149 AlertDialog.Builder dialogBuilder = new Builder(getActivity()); in onCreateView()
188 new DirectoryChooserDialog(getActivity(), in onCreateView()
232 AppSettings.setIntOption(getActivity(), "max_fps", progress); in onCreateView()
251 AppSettings.setIntOption(getActivity(), "quake2_hud_size", pos); in onCreateView()
306 …new SimpleServerAccess(getActivity(),"http://beloko.com/quake_api/check_ver.php?pkg=" + getActivit… in onCreateView()
425 AppSettings.createDirectories(getActivity()); in updateBaseDir()
449 int fps = AppSettings.getIntOption(getActivity(), "max_fps", 0); in updateFPS()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/mobile/android/tests/browser/robocop/src/org/mozilla/gecko/tests/
H A DtestGeckoProfile.java33 mozDir = GeckoProfileDirectories.getMozillaDirectory(getActivity()); in testGeckoProfile()
48 GeckoProfile profile = GeckoProfile.get(getActivity()); in checkDefaultGetter()
62 GeckoProfile profile = GeckoProfile.get(getActivity(), name); in checkNamedGetter()
68 File defaultProfile = ((GeckoApp) getActivity()).getProfile().getDir(); in checkNamedGetter()
124 profile = GeckoProfile.get(getActivity(), name, file); in checkNameAndDirGetter()
126 profile = GeckoProfile.get(getActivity(), name, path); in checkNameAndDirGetter()
138 GeckoProfile.get(getActivity(), null, testProfileDir); in checkNameAndDirGetter()
188 GeckoProfile profile = GeckoProfile.getGuestProfile(getActivity()); in checkGuestProfile()
198 GeckoProfile.get(getActivity(), null, testProfileDir); in checkGuestProfile()
199 mAsserter.is(GeckoProfile.get(getActivity()).getDir(), testProfileDir, in checkGuestProfile()
[all …]
H A DtestActivityStreamContextMenu.java30 BrowserDB db = BrowserDB.from(getActivity()); in testActivityStreamContextMenu()
31 db.removeHistoryEntry(getActivity().getContentResolver(), testURL); in testActivityStreamContextMenu()
32 db.removeBookmarksWithURL(getActivity().getContentResolver(), testURL); in testActivityStreamContextMenu()
36 db.addBookmark(getActivity().getContentResolver(), "foobar", testURL); in testActivityStreamContextMenu()
39 db.updateVisitedHistory(getActivity().getContentResolver(), testURL); in testActivityStreamContextMenu()
42 db.removeBookmarksWithURL(getActivity().getContentResolver(), testURL); in testActivityStreamContextMenu()
51 final View anchor = new View(getActivity()); in testMenuForUrl()
53 …final ActivityStreamContextMenu menu = ActivityStreamContextMenu.show(getActivity(), anchor, Activ… in testMenuForUrl()
90 final String expectedTitle = getActivity().getResources().getString(stringID); in assertMenuItemHasString()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/features/start_surface/internal/javatests/src/org/chromium/chrome/features/start_surface/
H A DInstantStartTest.java325 mActivityTestRule.getActivity().getTabContentManager(); in fetchThumbnailsPreNativeTest()
350 Assert.assertFalse(mActivityTestRule.getActivity().isTablet()); in layoutManagerChromePhonePreNativeTest()
358 assertThat(mActivityTestRule.getActivity().getLayoutManager()) in layoutManagerChromePhonePreNativeTest()
379 Assert.assertFalse(mActivityTestRule.getActivity().isTablet()); in startSurfaceSinglePanePreNativeAndWithNativeTest()
388 assertThat(mActivityTestRule.getActivity().getLayoutManager()) in startSurfaceSinglePanePreNativeAndWithNativeTest()
427 Assert.assertFalse(mActivityTestRule.getActivity().isTablet()); in startSurfaceToolbarInflatedPreAndWithNativeTest()
506 Assert.assertTrue(mActivityTestRule.getActivity().isTablet()); in willInitNativeOnTabletTest()
514 assertThat(mActivityTestRule.getActivity().getLayoutManager()) in willInitNativeOnTabletTest()
676 mActivityTestRule.getActivity() in renderTabGroups()
1053 assertEquals(mActivityTestRule.getActivity() in testSingleAsHomepage_CloseTabInCarouselTabSwitcher()
[all …]
H A DStartSurfaceLayoutTest.java1089 enterTabSwitcher(mActivityTestRule.getActivity()); in testThumbnailAspectRatio_default()
1100 enterTabSwitcher(mActivityTestRule.getActivity()); in testThumbnailAspectRatio_point75()
1108 enterTabSwitcher(mActivityTestRule.getActivity()); in testThumbnailAspectRatio_point75()
1119 enterTabSwitcher(mActivityTestRule.getActivity()); in testThumbnailAspectRatio_fromTwoToPoint75()
1132 enterTabSwitcher(mActivityTestRule.getActivity()); in testThumbnailAspectRatio_fromTwoToPoint75()
1157 enterTabSwitcher(mActivityTestRule.getActivity()); in testThumbnailFetchingResult_defaultAspectRatio()
1191 enterTabSwitcher(mActivityTestRule.getActivity()); in testThumbnailFetchingResult_defaultAspectRatio()
1233 enterTabSwitcher(mActivityTestRule.getActivity()); in testThumbnailFetchingResult_changingAspectRatio()
1271 enterTabSwitcher(mActivityTestRule.getActivity()); in testThumbnailFetchingResult_changingAspectRatio()
1302 enterTabSwitcher(mActivityTestRule.getActivity()); in testRecycling_defaultAspectRatio()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/android/appmenu/internal/java/src/org/chromium/chrome/browser/ui/appmenu/
H A DAppMenuAdapterRenderTest.java169 getActivity(), R.drawable.test_ic_arrow_forward_black_24dp); in testIconRow_ThreeIcons()
171 getActivity(), R.drawable.test_ic_star_border_black_24dp); in testIconRow_ThreeIcons()
186 getActivity(), R.drawable.test_ic_arrow_forward_black_24dp); in testIconRow_FourIcons()
188 getActivity(), R.drawable.test_ic_star_border_black_24dp); in testIconRow_FourIcons()
192 getActivity(), R.drawable.test_ic_info_outline_black_24dp); in testIconRow_FourIcons()
205 getActivity(), R.drawable.test_ic_arrow_forward_black_24dp); in testIconRow_FiveIcons()
207 getActivity(), R.drawable.test_ic_star_border_black_24dp); in testIconRow_FiveIcons()
211 getActivity(), R.drawable.test_ic_info_outline_black_24dp); in testIconRow_FiveIcons()
213 getActivity(), R.drawable.test_ic_refresh_black_24dp); in testIconRow_FiveIcons()
231 FrameLayout parentView = new FrameLayout(getActivity()); in createView()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/javatests/src/org/chromium/chrome/browser/partnercustomizations/
H A DPartnerHomepageIntegrationTest.java80 mActivityTestRule.getActivity().getActivityTab()))); in testHomepageInitialLoading()
98 mActivityTestRule.getActivity().getActivityTab()))); in testHomepageButtonClick()
114 mActivityTestRule.getActivity().getActivityTab()))); in testHomepageButtonClick()
185 (ChromeTabbedActivity) mActivityTestRule.getActivity()); in testLastTabClosed()
187 mActivityTestRule.getActivity().isFinishing() in testLastTabClosed()
188 || mActivityTestRule.getActivity().isDestroyed()); in testLastTabClosed()
199 final TabModel tabModel = mActivityTestRule.getActivity().getCurrentTabModel(); in testCloseAllTabs()
209 mActivityTestRule.getActivity().getTabModelSelector().closeAllTabs(); in testCloseAllTabs()
219 mActivityTestRule.getActivity().getCurrentTabModel().getCount()); in testCloseAllTabs()
228 mActivityTestRule.getActivity().isFinishing() in testCloseAllTabs()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/java/src/org/chromium/chrome/browser/password_manager/settings/
H A DPasswordEntryViewer.java128 getActivity().setTitle(R.string.password_entry_viewer_title); in onCreateView()
138 getActivity().setTitle(R.string.password_entry_viewer_title); in onCreateView()
158 intent.setPackage(getActivity().getPackageName()); in onCreateView()
159 getActivity().startActivity(intent); in onCreateView()
254 getActivity().finish(); in removeItem()
271 getActivity().finish(); in removeItem()
294 Toast.makeText(getActivity().getApplicationContext(), in hookupCopyUsernameButton()
315 Toast.makeText(getActivity().getApplicationContext(), in hookupCopySiteButton()
373 Toast.makeText(getActivity().getApplicationContext(), in copyPassword()
394 Toast.makeText(getActivity().getApplicationContext(), in hookupPasswordButtons()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/javatests/src/org/chromium/chrome/browser/tabmodel/
H A DTabModelImplTest.java48 mActivityTestRule.getActivity().getTabModelSelector().getModel(isIncognito); in createTabs()
53 mActivityTestRule.getActivity(), isIncognito, url == null); in createTabs()
67 mActivityTestRule.getActivity().getTabModelSelector().getModel(false); in validIndexAfterRestored_FromColdStart()
72 mActivityTestRule.getActivity().getTabModelSelector().getModel(true); in validIndexAfterRestored_FromColdStart()
84 -> TabStateExtractor.from(mActivityTestRule.getActivity().getActivityTab()) in validIndexAfterRestored_FromColdStart_WithIncognitoTabs()
88 ApplicationTestUtils.finishActivity(mActivityTestRule.getActivity()); in validIndexAfterRestored_FromColdStart_WithIncognitoTabs()
93 mActivityTestRule.getActivity().getTabModelSelector().getModel(false); in validIndexAfterRestored_FromColdStart_WithIncognitoTabs()
100 mActivityTestRule.getActivity().getTabModelSelector().getModel(true); in validIndexAfterRestored_FromColdStart_WithIncognitoTabs()
110 ApplicationTestUtils.recreateActivity(mActivityTestRule.getActivity()); in validIndexAfterRestored_FromPreviousActivity()
126 mActivityTestRule.getActivity().getActivityTab().setIsTabSaveEnabled(false); in validIndexAfterRestored_FromPreviousActivity_WithIncognitoTabs()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/test/android/javatests/src/org/chromium/chrome/test/
H A DChromeTabbedActivityTestRule.java55 return ActivityOptions.makeCustomAnimation(getActivity(), 0, 0).toBundle(); in noAnimationLaunchOptions()
59 Assert.assertNotNull(getActivity()); in resumeMainActivityFromLauncher()
63 Intent launchIntent = getActivity().getPackageManager().getLaunchIntentForPackage( in resumeMainActivityFromLauncher()
64 getActivity().getPackageName()); in resumeMainActivityFromLauncher()
65 getActivity().startActivity(launchIntent, noAnimationLaunchOptions()); in resumeMainActivityFromLauncher()
66 ApplicationTestUtils.waitForActivityState(getActivity(), Stage.RESUMED); in resumeMainActivityFromLauncher()
123 Tab tab = getActivity().getActivityTab(); in startMainActivityFromIntent()
128 && !getActivity().isInOverviewMode()) { in startMainActivityFromIntent()
167 getActivity(), R.id.new_incognito_tab_menu_id); in newIncognitoTabFromMenu()
181 Tab tab = getActivity().getActivityTab(); in newIncognitoTabFromMenu()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/
H A DOmniboxTest.java98 mActivityTestRule.getActivity().getActivityTab(), null, new Runnable() { in testSimpleUse()
123 mActivityTestRule.getActivity().getResources().getString( in testDefaultText()
190 (LocationBarLayout) mActivityTestRule.getActivity().findViewById( in testSecurityIconOnHTTP()
194 if (mActivityTestRule.getActivity().isTablet()) { in testSecurityIconOnHTTP()
223 mActivityTestRule.getActivity().getActivityTab().addObserver(observer); in testSecurityIconOnHTTPS()
236 (LocationBarLayout) mActivityTestRule.getActivity().findViewById( in testSecurityIconOnHTTPS()
284 if (!mActivityTestRule.getActivity().isTablet()) { in testHttpsLocationBarColor()
291 (LocationBarLayout) mActivityTestRule.getActivity().findViewById( in testHttpsLocationBarColor()
302 if (mActivityTestRule.getActivity().isTablet()) { in testHttpsLocationBarColor()
303 Assert.assertTrue(mActivityTestRule.getActivity() in testHttpsLocationBarColor()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/javatests/src/org/chromium/chrome/browser/share/
H A DShareButtonControllerTest.java89 View experimentalButton = mActivityTestRule.getActivity() in testShareButtonInToolbarIsDisabledOnStartNTP()
95 mActivityTestRule.getActivity().getResources().getString(R.string.share); in testShareButtonInToolbarIsDisabledOnStartNTP()
105 View experimentalButton = mActivityTestRule.getActivity() in testShareButtonInToolbarIsEnabledOnBlankPage()
117 mActivityTestRule.getActivity().getResources().getString(R.string.share); in testShareButtonInToolbarIsEnabledOnBlankPage()
136 -> mActivityTestRule.getActivity() in testShareButtonInToolbarNotAffectedByOverview()
143 View optionalButton = mActivityTestRule.getActivity() in testShareButtonInToolbarNotAffectedByOverview()
153 mActivityTestRule.getActivity().getResources().getString(R.string.share); in testShareButtonInToolbarNotAffectedByOverview()
172 View experimentalButton = mActivityTestRule.getActivity() in testShareButtonDisabledOnDataUrl()
188 View experimentalButton = mActivityTestRule.getActivity() in testShareButtonInToolbarIsDisabledOnUpdate()
206 mActivityTestRule.getActivity().getModalDialogManager().showDialog( in testShareButtonInToolbarIsDisabledOnUpdate()
[all …]
/dports/games/hedgewars-server/hedgewars-src-1.0.0/project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/
H A DConnectingDialog.java46 …LocalBroadcastManager.getInstance(getActivity().getApplicationContext()).registerReceiver(connecte… in onStart()
47 …LocalBroadcastManager.getInstance(getActivity().getApplicationContext()).registerReceiver(disconne… in onStart()
49 … if(Netplay.getAppInstance(getActivity().getApplicationContext()).getState() != State.CONNECTING) { in onStart()
57 …LocalBroadcastManager.getInstance(getActivity().getApplicationContext()).unregisterReceiver(connec… in onStop()
58 …LocalBroadcastManager.getInstance(getActivity().getApplicationContext()).unregisterReceiver(discon… in onStop()
63 ProgressDialog dialog = new ProgressDialog(getActivity()); in onCreateDialog()
86 …Toast.makeText(getActivity(), intent.getExtras().getString(Netplay.EXTRA_MESSAGE), Toast.LENGTH_LO…
92 Netplay.getAppInstance(getActivity().getApplicationContext()).disconnect(); in onCancel()
/dports/games/hedgewars/hedgewars-src-1.0.0/project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/
H A DConnectingDialog.java46 …LocalBroadcastManager.getInstance(getActivity().getApplicationContext()).registerReceiver(connecte… in onStart()
47 …LocalBroadcastManager.getInstance(getActivity().getApplicationContext()).registerReceiver(disconne… in onStart()
49 … if(Netplay.getAppInstance(getActivity().getApplicationContext()).getState() != State.CONNECTING) { in onStart()
57 …LocalBroadcastManager.getInstance(getActivity().getApplicationContext()).unregisterReceiver(connec… in onStop()
58 …LocalBroadcastManager.getInstance(getActivity().getApplicationContext()).unregisterReceiver(discon… in onStop()
63 ProgressDialog dialog = new ProgressDialog(getActivity()); in onCreateDialog()
86 …Toast.makeText(getActivity(), intent.getExtras().getString(Netplay.EXTRA_MESSAGE), Toast.LENGTH_LO…
92 Netplay.getAppInstance(getActivity().getApplicationContext()).disconnect(); in onCancel()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/javatests/src/org/chromium/chrome/browser/ntp/cards/promo/
H A DHomepagePromoTest.java206 mActivityTestRule.getActivity().findViewById(R.id.homepage_promo)); in testSetUp_HasSignInPromo()
263 mActivityTestRule.getActivity().findViewById(R.id.homepage_promo)); in testSetUp_SuppressingSignInPromo()
277 mActivityTestRule.getActivity().findViewById(R.id.homepage_promo)); in testToggleFeed_WithSignIn()
288 mActivityTestRule.getActivity().findViewById(R.id.homepage_promo)); in testToggleFeed_WithSignIn()
295 mActivityTestRule.getActivity().findViewById(R.id.homepage_promo)); in testToggleFeed_WithSignIn()
312 mActivityTestRule.getActivity().findViewById(R.id.homepage_promo)); in testToggleFeed_WithHomepage()
325 mActivityTestRule.getActivity().findViewById(R.id.homepage_promo)); in testToggleFeed_WithHomepage()
332 mActivityTestRule.getActivity().findViewById(R.id.homepage_promo)); in testToggleFeed_WithHomepage()
364 mActivityTestRule.getActivity().findViewById(R.id.homepage_promo)); in testDismissImpl()
529 Tab tab = mActivityTestRule.getActivity().getActivityTab(); in launchNewTabPage()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/javatests/src/org/chromium/chrome/browser/undo_tab_close_snackbar/
H A DUndoBarControllerTest.java48 mSnackbarManager = mActivityTestRule.getActivity().getSnackbarManager(); in setUp()
49 mTabModel = mActivityTestRule.getActivity().getCurrentTabModel(); in setUp()
59 InstrumentationRegistry.getInstrumentation(), mActivityTestRule.getActivity()); in testCloseAll_SingleTab_Undo()
79 InstrumentationRegistry.getInstrumentation(), mActivityTestRule.getActivity()); in testCloseAll_SingleTab_Dismiss()
96 InstrumentationRegistry.getInstrumentation(), mActivityTestRule.getActivity()); in testCloseAll_MultipleTabs_Undo()
102 InstrumentationRegistry.getInstrumentation(), mActivityTestRule.getActivity()); in testCloseAll_MultipleTabs_Undo()
119 InstrumentationRegistry.getInstrumentation(), mActivityTestRule.getActivity()); in testCloseAll_MultipleTabs_Dismiss()
125 InstrumentationRegistry.getInstrumentation(), mActivityTestRule.getActivity()); in testCloseAll_MultipleTabs_Dismiss()
144 InstrumentationRegistry.getInstrumentation(), mActivityTestRule.getActivity()); in testUndoSnackbarDisabled_AccessibilityEnabled()
150 InstrumentationRegistry.getInstrumentation(), mActivityTestRule.getActivity()); in testUndoSnackbarDisabled_AccessibilityEnabled()
[all …]

12345678910>>...49