Home
last modified time | relevance | path

Searched refs:shouldShow (Results 1 – 25 of 54) sorted by relevance

123

/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryAddonsAdapter.java164 int addons = mHeaderMessage.shouldShow() ? 1 : 0;
165 addons += mInflateMessage.shouldShow() ? 1 : 0;
198 mBreakPosition = i + (mHeaderMessage.shouldShow() ? 1 : 0);
207 if (p == 0 && mHeaderMessage.shouldShow()) {
215 if (p == getItemCount() - 1 && mInflateMessage.shouldShow()) {
230 int topOffset = mHeaderMessage.shouldShow() ? 1 : 0;
242 int topOffset = mHeaderMessage.shouldShow() ? 1 : 0;
265 if (p == 0 && mHeaderMessage.shouldShow()) {
269 if (p == getItemCount() - 1 && mInflateMessage.shouldShow()) {
DAppsRowManager.java63 private boolean shouldShow(State state) { in shouldShow() method in AppsRowManager
73 if (!shouldShow(activity.getDisplayState())) { in updateView()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DStorageManagerUpsellDialogTest.java45 assertThat(StorageManagerUpsellDialog.shouldShow(context, TimeUnit.DAYS.toMillis(90))) in testNoThanksMaximumShownTimes()
51 assertThat(StorageManagerUpsellDialog.shouldShow(context, TimeUnit.DAYS.toMillis(90 * 2))) in testNoThanksMaximumShownTimes()
57 assertThat(StorageManagerUpsellDialog.shouldShow(context, TimeUnit.DAYS.toMillis(90 * 3))) in testNoThanksMaximumShownTimes()
63 assertThat(StorageManagerUpsellDialog.shouldShow(context, TimeUnit.DAYS.toMillis(90 * 4))) in testNoThanksMaximumShownTimes()
69 assertThat(StorageManagerUpsellDialog.shouldShow(context, TimeUnit.DAYS.toMillis(90 * 5))) in testNoThanksMaximumShownTimes()
/packages/apps/Dialer/java/com/android/incallui/telecomeventui/
DInternationalCallOnWifiDialogFragment.java52 public static boolean shouldShow(@NonNull Context context) { in shouldShow() method in InternationalCallOnWifiDialogFragment
59 boolean shouldShow = preferences.getBoolean(ALWAYS_SHOW_WARNING_PREFERENCE_KEY, true); in shouldShow()
61 LogUtil.i("InternationalCallOnWifiDialogFragment.shouldShow", "result: %b", shouldShow); in shouldShow()
62 return shouldShow; in shouldShow()
96 if (!InternationalCallOnWifiDialogFragment.shouldShow(getActivity())) { in onCreateDialog()
/packages/apps/Dialer/java/com/android/incallui/incall/protocol/
DSecondaryInfo.java29 public abstract boolean shouldShow(); in shouldShow() method in SecondaryInfo
60 public abstract Builder setShouldShow(boolean shouldShow); in setShouldShow() argument
84 shouldShow(), in toString()
119 dest.writeByte((byte) (shouldShow() ? 1 : 0)); in writeToParcel()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/
DLocationPolicyDisclaimerTest.java77 assertThat(disclaimerItem.shouldShow()).isTrue(); in sholdShow_configTrue_shouldShowLocationPolicyDisclaimer()
88 assertThat(disclaimerItem.shouldShow()).isFalse(); in sholdShow_configFalse_shouldNotShowLocationPolicyDisclaimer()
100 assertThat(disclaimerItem.shouldShow()).isFalse(); in sholdShow_defaultWfcEnabled_shouldNotShowLocationPolicyDisclaimer()
114 assertThat(disclaimerItem.shouldShow()).isFalse(); in sholdShow_alreadyAgreed_shouldNotShowLocationPolicyDisclaimer()
DEmergencyCallLimitationDisclaimerTest.java75 assertThat(disclaimerItem.shouldShow()).isTrue(); in sholdShow_delay1000msec_shouldShowEmergencyCallLimitationDisclaimer()
86 assertThat(disclaimerItem.shouldShow()).isFalse(); in sholdShow_delayDefault_shouldNotShowEmergencyCallLimitationDisclaimer()
99 assertThat(disclaimerItem.shouldShow()).isFalse(); in sholdShow_alreadyAgreed_shouldNotShowEmergencyCallLimitationDisclaimer()
/packages/apps/Dialer/java/com/android/incallui/
DInCallActivity.java1234 shouldShowAnswerUi.shouldShow, in showMainInCallFragment()
1235 shouldShowRttUi.shouldShow, in showMainInCallFragment()
1236 shouldShowVideoUi.shouldShow, in showMainInCallFragment()
1237 shouldShowSpeakEasyUi.shouldShow, in showMainInCallFragment()
1244 setAllowOrientationChange(shouldShowVideoUi.shouldShow); in showMainInCallFragment()
1248 if (shouldShowAnswerUi.shouldShow) { in showMainInCallFragment()
1254 } else if (shouldShowVideoUi.shouldShow) { in showMainInCallFragment()
1260 } else if (shouldShowRttUi.shouldShow) { in showMainInCallFragment()
1266 } else if (shouldShowSpeakEasyUi.shouldShow) { in showMainInCallFragment()
1703 public final boolean shouldShow; field in InCallActivity.ShouldShowUiResult
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/calling/
DEmergencyCallLimitationDisclaimer.java44 boolean shouldShow() { in shouldShow() method in EmergencyCallLimitationDisclaimer
52 return super.shouldShow(); in shouldShow()
DLocationPolicyDisclaimer.java44 boolean shouldShow() { in shouldShow() method in LocationPolicyDisclaimer
56 return super.shouldShow(); in shouldShow()
DDisclaimerItemFactory.java45 if (!item.shouldShow()) { in create()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/calling/
DEmergencyCallLimitationDisclaimer.java44 boolean shouldShow() { in shouldShow() method in EmergencyCallLimitationDisclaimer
52 return super.shouldShow(); in shouldShow()
DLocationPolicyDisclaimer.java44 boolean shouldShow() { in shouldShow() method in LocationPolicyDisclaimer
56 return super.shouldShow(); in shouldShow()
DDisclaimerItemFactory.java45 if (!item.shouldShow()) { in create()
DDisclaimerItem.java57 boolean shouldShow() { in shouldShow() method in DisclaimerItem
/packages/apps/Dialer/java/com/android/incallui/video/impl/
DVideoChargesAlertDialogFragment.java53 public static boolean shouldShow(@NonNull Context context, String callId) { in shouldShow() method in VideoChargesAlertDialogFragment
108 if (!VideoChargesAlertDialogFragment.shouldShow( in onCreateDialog()
/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DCheckableLabeledButton.java160 public void setShouldShowMoreIndicator(boolean shouldShow) { in setShouldShowMoreIndicator() argument
161 iconView.setBackground(shouldShow ? backgroundMore : background); in setShouldShowMoreIndicator()
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
DFileViewHolderController.java34 boolean shouldShow(); in shouldShow() method
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/manageapplications/
DFileViewHolderController.java34 boolean shouldShow(); in shouldShow() method
/packages/apps/Dialer/java/com/android/incallui/disconnectdialog/
DDisconnectDialog.java29 boolean shouldShow(DisconnectCause disconnectCause); in shouldShow() method
DDisconnectMessage.java45 if (disconnectDialog.shouldShow(cause)) { in DisconnectMessage()
DDefaultErrorDialog.java32 public boolean shouldShow(DisconnectCause disconnectCause) { in shouldShow() method in DefaultErrorDialog
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/
DSimulatorImpl.java36 public boolean shouldShow() { in shouldShow() method in SimulatorImpl
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/utils/
DSoftRestrictedPermissionPolicy.java52 public static boolean shouldShow(@NonNull PackageInfo pkg, @NonNull Permission permission) { in shouldShow() method in SoftRestrictedPermissionPolicy
/packages/apps/Dialer/java/com/android/dialer/main/impl/toolbar/
DMainToolbarMenu.java42 if (simulator.shouldShow()) { in maybeShowSimulator()

123