Home
last modified time | relevance | path

Searched refs:isShowing (Results 1 – 25 of 75) sorted by relevance

123

/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
DMobileNetworkSwitchControllerTest.java127 assertThat(mSwitchBar.isShowing()).isFalse(); in isAvailable_pSIM_isNotAvailable()
131 assertThat(mSwitchBar.isShowing()).isTrue(); in isAvailable_pSIM_isNotAvailable()
141 assertThat(mSwitchBar.isShowing()).isTrue(); in displayPreference_oneEnabledSubscription_switchBarNotHidden()
153 assertThat(mSwitchBar.isShowing()).isTrue(); in displayPreference_oneDisabledSubscription_switchBarNotHidden()
162 assertThat(mSwitchBar.isShowing()).isTrue(); in displayPreference_subscriptionEnabled_switchIsOn()
174 assertThat(mSwitchBar.isShowing()).isTrue(); in displayPreference_subscriptionDisabled_switchIsOff()
184 assertThat(mSwitchBar.isShowing()).isTrue(); in switchChangeListener_fromEnabledToDisabled_setSubscriptionEnabledCalledCorrectly()
206 assertThat(mSwitchBar.isShowing()).isTrue(); in switchChangeListener_fromEnabledToDisabled_setSubscriptionEnabledFailed()
227 assertThat(mSwitchBar.isShowing()).isTrue(); in switchChangeListener_fromDisabledToEnabled_setSubscriptionEnabledCalledCorrectly()
/packages/apps/Settings/src/com/android/settings/applications/intentpicker/
DProgressDialogFragment.java109 if (mProgressAlertDialog != null && mProgressAlertDialog.isShowing()) { in onDestroy()
128 if (mProgressAlertDialog.isShowing()) { in generateProgressAlertDialog()
131 if (mProgressAlertDialog.isShowing()) { in generateProgressAlertDialog()
134 + mProgressAlertDialog.isShowing()); in generateProgressAlertDialog()
155 if (!mProgressAlertDialog.isShowing()) { in queryLinksInBackground()
164 if (!mProgressAlertDialog.isShowing()) { in queryLinksInBackground()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DNetworkRequestErrorDialogFragmentTest.java79 assertThat(alertDialog.isShowing()).isTrue(); in display_shouldShowTimeoutDialog()
99 assertThat(alertDialog.isShowing()).isTrue(); in display_shouldShowAbortDialog()
110 assertThat(alertDialog.isShowing()).isTrue(); in clickPositiveButton_shouldCallStartScanningDialog()
122 assertThat(alertDialog.isShowing()).isTrue(); in clickNegativeButton_shouldCloseTheDialog()
128 assertThat(alertDialog.isShowing()).isFalse(); in clickNegativeButton_shouldCloseTheDialog()
DNetworkRequestDialogActivityTest.java88 assertThat(alertDialog.isShowing()).isTrue(); in LaunchActivity_shouldShowNetworkRequestDialog()
156 assertThat(mActivity.mProgressDialog.isShowing()).isTrue(); in specifiedSsid_onCreate_shouldShowProgressDialog()
217 assertThat(mActivity.mProgressDialog.isShowing()).isTrue(); in onClickConnectButton_shouldShowProgressDialog()
DNetworkRequestDialogFragmentTest.java82 assertThat(alertDialog.isShowing()).isTrue(); in display_shouldShowTheDialog()
100 assertThat(alertDialog.isShowing()).isTrue(); in clickNegativeButton_shouldCloseTheDialog()
106 assertThat(alertDialog.isShowing()).isFalse(); in clickNegativeButton_shouldCloseTheDialog()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/keyguard/
DCarKeyguardViewController.java139 if (mShowing && !mBouncer.isShowing()) { in showBouncer()
225 public boolean isShowing() { in isShowing() method in CarKeyguardViewController
277 return mBouncer != null && mBouncer.isShowing(); in isBouncerShowing()
282 return mBouncer != null && (mBouncer.isShowing() || mBouncer.inTransit()); in bouncerIsOrWillBeShowing()
/packages/apps/Settings/src/com/android/settings/widget/
DSwitchBar.java269 if (!isShowing()) { in show()
276 if (isShowing()) { in hide()
282 public boolean isShowing() { in isShowing() method in SwitchBar
371 ss.visible = isShowing(); in onSaveInstanceState()
DSettingsMainSwitchPreference.java171 public boolean isShowing() { in isShowing() method in SettingsMainSwitchPreference
173 return mMainSwitchBar.isShowing(); in isShowing()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothRequestPermissionActivityTest.java231 assertThat(mActivity.getCurrentDialog().isShowing()).isTrue(); in onCreate_bluetoothOn_requestDisableIntent_startsDialog()
243 assertThat(mActivity.getCurrentDialog().isShowing()).isTrue(); in onCreate_bluetoothOff_requestDiscoverableIntent_startsDialog()
255 assertThat(mActivity.getCurrentDialog().isShowing()).isTrue(); in onCreate_bluetoothOn_requestDiscoverableIntent_startsDialog()
267 assertThat(mActivity.getCurrentDialog().isShowing()).isTrue(); in onCreate_bluetoothOff_requestEnableIntent_startsDialog()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationInput.java44 public ConversationInput(ConversationInputBase baseHost, final boolean isShowing) { in ConversationInput() argument
46 mShowing = isShowing; in ConversationInput()
/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DInCallFragment.java385 public void onInCallScreenDialpadVisibilityChange(boolean isShowing) { in onInCallScreenDialpadVisibilityChange() argument
386 LogUtil.i("InCallFragment.onInCallScreenDialpadVisibilityChange", "isShowing: " + isShowing); in onInCallScreenDialpadVisibilityChange()
388 getButtonController(InCallButtonIds.BUTTON_DIALPAD).setChecked(isShowing); in onInCallScreenDialpadVisibilityChange()
395 inCallButtonGridFragment.onInCallScreenDialpadVisibilityChange(isShowing); in onInCallScreenDialpadVisibilityChange()
401 isShowing ? android.R.color.background_dark : android.R.color.transparent)); in onInCallScreenDialpadVisibilityChange()
DInCallButtonGridFragment.java81 public void onInCallScreenDialpadVisibilityChange(boolean isShowing) { in onInCallScreenDialpadVisibilityChange() argument
84 isShowing in onInCallScreenDialpadVisibilityChange()
/packages/apps/Settings/src/com/android/settings/
DEditPinPreference.java66 return dialog != null && dialog.isShowing(); in isDialogOpen()
79 if (dialog == null || !dialog.isShowing()) { in showPinDialog()
DRestrictedSettingsFragment.java159 if (mActionDisabledDialog != null && mActionDisabledDialog.isShowing()) { in onActivityResult()
238 && (mActionDisabledDialog == null || !mActionDisabledDialog.isShowing())) { in onDataSetChanged()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DSettingsMainSwitchPreferenceTest.java78 assertThat(mPreference.isShowing()).isTrue(); in show_preferenceShouldDisplay()
88 assertThat(mPreference.isShowing()).isFalse(); in hide_preferenceShouldNotDisplay()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/
DCarSystemBarTest.java181 when(mKeyguardStateController.isShowing()).thenReturn(true); in restartNavBars_newUserNotSetupWithKeyguardShowing_showsKeyguardButtons()
201 when(mKeyguardStateController.isShowing()).thenReturn(true); in restartNavbars_newUserIsSetupWithKeyguardHidden_showsNavigationButtons()
208 when(mKeyguardStateController.isShowing()).thenReturn(false); in restartNavbars_newUserIsSetupWithKeyguardHidden_showsNavigationButtons()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DRestrictedSettingsFragment.java157 if (mActionDisabledDialog != null && mActionDisabledDialog.isShowing()) { in onActivityResult()
234 && (mActionDisabledDialog == null || !mActionDisabledDialog.isShowing())) { in showAdminDialog()
/packages/apps/Contacts/src/com/android/contacts/activities/
DContactEditorAccountsChangedActivity.java81 if (mDialog != null && !mDialog.isShowing()) { in onResume()
204 if (mDialog != null && mDialog.isShowing()) { in updateDisplayedAccounts()
/packages/apps/QuickAccessWallet/tests/robolectric/src/com/android/systemui/plugin/globalactions/wallet/
DWalletPanelViewControllerTest.java335 assertThat(popupWindow.isShowing()).isTrue(); in onWalletCardsRetrieved_showsOverflowButton_startWalletActivity()
364 assertThat(popupWindow.isShowing()).isTrue(); in onWalletCardsRetrieved_noShortLabel_showsOnlySettingsInOverflowMenu()
392 assertThat(popupWindow.isShowing()).isFalse(); in onWalletCardsRetrieved_noWalletIntent_showsOnlySettingsInOverflowMenu()
396 assertThat(popupWindow.isShowing()).isTrue(); in onWalletCardsRetrieved_noWalletIntent_showsOnlySettingsInOverflowMenu()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/volume/
DCarVolumeDialogImpl.java133 boolean isShowing = mCarVolumeLineItems.stream().anyMatch(
141 if (value != volumeItem.mProgress && isShowing) {
567 if (isShowing()) { in onTouchEvent()
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/
DRttChatFragment.java356 if (overflowMenu.isShowing()) { in onStop()
516 public void onInCallScreenDialpadVisibilityChange(boolean isShowing) { in onInCallScreenDialpadVisibilityChange() argument
517 overflowMenu.setDialpadButtonChecked(isShowing); in onInCallScreenDialpadVisibilityChange()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DSpellCheckersSettings.java186 if (mDialog != null && mDialog.isShowing()) { in showChooseLanguageDialog()
240 if (mDialog != null && mDialog.isShowing()) { in showSecurityWarnDialog()
/packages/apps/Contacts/src/com/android/contacts/util/
DUiClosables.java33 if (popup != null && popup.isShowing()) { in closeQuietly()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiDialogActivity.java199 if (mDialog2 != null && mDialog2.isShowing()) { in onDestroy()
205 if (mDialog != null && mDialog.isShowing()) { in onDestroy()
/packages/apps/Dialer/java/com/android/incallui/incall/protocol/
DInCallScreen.java44 void onInCallScreenDialpadVisibilityChange(boolean isShowing); in onInCallScreenDialpadVisibilityChange() argument

123