/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DirectoryAddonsAdapter.java | 164 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()) {
|
D | AppsRowManager.java | 63 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/ |
D | StorageManagerUpsellDialogTest.java | 45 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/ |
D | InternationalCallOnWifiDialogFragment.java | 52 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/ |
D | SecondaryInfo.java | 29 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/ |
D | LocationPolicyDisclaimerTest.java | 77 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()
|
D | EmergencyCallLimitationDisclaimerTest.java | 75 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/ |
D | InCallActivity.java | 1234 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/ |
D | EmergencyCallLimitationDisclaimer.java | 44 boolean shouldShow() { in shouldShow() method in EmergencyCallLimitationDisclaimer 52 return super.shouldShow(); in shouldShow()
|
D | LocationPolicyDisclaimer.java | 44 boolean shouldShow() { in shouldShow() method in LocationPolicyDisclaimer 56 return super.shouldShow(); in shouldShow()
|
D | DisclaimerItemFactory.java | 45 if (!item.shouldShow()) { in create()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/calling/ |
D | EmergencyCallLimitationDisclaimer.java | 44 boolean shouldShow() { in shouldShow() method in EmergencyCallLimitationDisclaimer 52 return super.shouldShow(); in shouldShow()
|
D | LocationPolicyDisclaimer.java | 44 boolean shouldShow() { in shouldShow() method in LocationPolicyDisclaimer 56 return super.shouldShow(); in shouldShow()
|
D | DisclaimerItemFactory.java | 45 if (!item.shouldShow()) { in create()
|
/packages/apps/Dialer/java/com/android/incallui/video/impl/ |
D | VideoChargesAlertDialogFragment.java | 53 public static boolean shouldShow(@NonNull Context context, String callId) { in shouldShow() method in VideoChargesAlertDialogFragment 108 if (!VideoChargesAlertDialogFragment.shouldShow( in onCreateDialog()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | Utils.java | 791 public static void setMenuItemPresent(Menu menu, int itemId, boolean shouldShow) { in setMenuItemPresent() argument 792 setMenuItemPresent(menu.findItem(itemId), shouldShow); in setMenuItemPresent() local 799 public static void setMenuItemPresent(MenuItem item, boolean shouldShow) { in setMenuItemPresent() argument 803 item.setVisible(shouldShow); in setMenuItemPresent() 804 item.setEnabled(shouldShow); in setMenuItemPresent()
|
/packages/apps/Dialer/java/com/android/incallui/incall/impl/ |
D | CheckableLabeledButton.java | 160 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/ |
D | FileViewHolderController.java | 34 boolean shouldShow(); in shouldShow() method
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/manageapplications/ |
D | FileViewHolderController.java | 34 boolean shouldShow(); in shouldShow() method
|
/packages/apps/Dialer/java/com/android/incallui/disconnectdialog/ |
D | DisconnectDialog.java | 29 boolean shouldShow(DisconnectCause disconnectCause); in shouldShow() method
|
D | DisconnectMessage.java | 45 if (disconnectDialog.shouldShow(cause)) { in DisconnectMessage()
|
D | DefaultErrorDialog.java | 32 public boolean shouldShow(DisconnectCause disconnectCause) { in shouldShow() method in DefaultErrorDialog
|
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/ |
D | SimulatorImpl.java | 36 public boolean shouldShow() { in shouldShow() method in SimulatorImpl
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/utils/ |
D | SoftRestrictedPermissionPolicy.java | 52 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/ |
D | MainToolbarMenu.java | 42 if (simulator.shouldShow()) { in maybeShowSimulator()
|