Home
last modified time | relevance | path

Searched refs:isShown (Results 1 – 25 of 37) sorted by relevance

12

/packages/apps/TV/tests/unit/src/com/android/tv/
DMainActivityTest.java78 private void assertProgramGuide(boolean isShown) { in assertProgramGuide() argument
79 assertViewIsShown("Program Guide", R.id.program_guide, isShown); in assertProgramGuide()
82 private ChannelBannerView assertChannelBannerShown(boolean isShown) { in assertChannelBannerShown() argument
83 View v = assertExpectedBannerSceneClassShown(ChannelBannerView.class, isShown); in assertChannelBannerShown()
107 assertWithMessage(viewName + " shown").that(view.isShown()).isEqualTo(expected); in assertViewIsShown()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DAppPermissionViewModel.kt359 var isShown: Boolean, in <lambda>() variable in com.android.permissioncontroller.permission.ui.model.ButtonState
430 allowedForegroundState.isShown = true in <lambda>()
433 askState.isShown = true in <lambda>()
436 deniedState.isShown = true in <lambda>()
497 askOneTimeState.isShown = group.foreground.isGranted && group.isOneTime in <lambda>()
498 askState.isShown = in <lambda>()
501 deniedState.isShown = true in <lambda>()
505 allowedForegroundState.isShown = true in <lambda>()
507 allowedAlwaysState.isShown = true in <lambda>()
520 askOneTimeState.isShown = askOneTimeState.isChecked in <lambda>()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DHighlightablePreferenceGroupAdapterTest.java200 when(mViewHolder.itemView.isShown()).thenReturn(false); in updateBackground_itemViewIsInvisible_shouldNotSetHighlightedTag()
213 when(viewItem.isShown()).thenReturn(true); in updateBackground_shouldRequestAccessibilityFocus()
226 when(mViewHolder.itemView.isShown()).thenReturn(true); in updateBackground_highlight_shouldAnimateBackgroundAndSetHighlightedTag()
241 when(mViewHolder.itemView.isShown()).thenReturn(false); in updateBackground_highlight_itemViewIsInvisible_shouldNotAnimate()
252 when(mViewHolder.itemView.isShown()).thenReturn(true); in updateBackgroundTwice_highlight_shouldAnimateOnce()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DButtonPasswordEditTextPreference.java52 public void showButton(boolean isShown) { in showButton() argument
53 mIsButtonShown = isShown; in showButton()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DWaitForSyncStateTest.java79 when(mMockPreference.isShown()).thenReturn(true); in testPerformAction_timeout_stateNotMatching_doNothing()
91 when(mMockPreference.isShown()).thenReturn(true); in testPerformAction_timeout_stateMatching_sourceLost()
DAddSourceWaitForResponseStateTest.java107 when(mMockPreference.isShown()).thenReturn(true); in testPerformAction_timeout_addSource_sourceFailedToConnect()
/packages/apps/Dialer/java/com/android/dialer/widget/
DFloatingActionButtonController.java70 return fab.isShown(); in isVisible()
136 if (animate && fab.isShown()) { in align()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DBottomActionBar.java180 public int getAccessibilityStringRes(boolean isShown) { in getAccessibilityStringRes() argument
181 return isShown ? mShownAccessibilityResId : mHiddenAccessibilityResId; in getAccessibilityStringRes()
658 private CharSequence getAccessibilityText(BottomAction action, boolean isShown) { in getAccessibilityText() argument
662 int resId = action.getAccessibilityStringRes(isShown); in getAccessibilityText()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardSwitcher.java329 || !mKeyboardView.isShown()); in getKeyboardSwitchState()
417 if (mKeyboardView == null || !mKeyboardView.isShown()) { in isShowingKeyboardId()
430 return mEmojiPalettesView != null && mEmojiPalettesView.isShown(); in isShowingEmojiPalettes()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/
DWearAppPermissionScreen.kt105 if (it.isShown) { in WearAppPermissionContent()
120 if (it.isShown) { in WearAppPermissionContent()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/
DTaplWidgetPickerTest.java68 assertTrue("Widgets is not shown", getWidgetsView(launcher).isShown())); in testWidgets()
/packages/apps/Launcher3/tests/src/com/android/launcher3/appiconmenu/
DTaplAppIconMenuTest.java45 return popup != null && popup.isShown(); in isOptionsPopupVisible()
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAddSourceWaitForResponseState.java71 if (preference.isShown() in performAction()
DWaitForSyncState.java60 if (preference.isShown() in performAction()
/packages/apps/Camera2/src/com/android/camera/widget/
DExternalViewerButton.java139 if (isShown()) { in updateClingVisibility()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DAppPermissionFragment.java347 button.setVisible(state.isShown()); in setButtonState()
348 if (state.isShown()) { in setButtonState()
352 if (state.isShown() && state.isChecked()) { in setButtonState()
/packages/apps/TV/src/com/android/tv/menu/
DPlayControlsRowView.java95 if (currentChannel != null && isShown()) {
152 if (isShown()) { in onAttachedToWindow()
517 if (forceUpdate || getContentsView().isShown()) { in updateControls()
/packages/apps/Contacts/src/com/android/contacts/widget/
DFloatingActionButtonController.java135 if (animate && mFloatingActionButtonContainer.isShown()) { in align()
/packages/apps/Dialer/java/com/android/dialer/main/impl/
DMainSearchController.java340 } else if (!fab.isShown()) { in closeSearch()
539 bundle.putBoolean(KEY_IS_FAB_HIDDEN, !fab.isShown()); in onSaveInstanceState()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DAppPermissionFragment.java496 if (!locationAccuracyState.isShown()) { in setRadioButtonsState()
526 int visible = state.isShown() ? View.VISIBLE : View.GONE; in setButtonState()
528 if (state.isShown()) { in setButtonState()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsListHeader.java167 /* visible= */ getWindowVisibility() == VISIBLE && isShown(), in setIcon()
/packages/apps/Settings/src/com/android/settings/widget/
DHighlightablePreferenceGroupAdapter.java129 && v.isShown()) { in updateBackground()
/packages/apps/Launcher3/src/com/android/launcher3/
DBubbleTextView.java376 return changedIcons && isShown(); in shouldAnimateIconChange()
1047 if (animate && (wasDotted ^ isDotted) && isShown()) { in applyDotState()
1099 mIcon.setVisible(getWindowVisibility() == VISIBLE && isShown(), false); in setIcon()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoAppPermissionFragment.java463 button.setVisible(state.isShown()); in setButtonState()
464 if (state.isShown()) { in setButtonState()
/packages/apps/Dialer/java/com/android/dialer/postcall/
DPostCall.java67 if (activeSnackbar != null && activeSnackbar.isShown()) { in closePrompt()

12