Home
last modified time | relevance | path

Searched refs:isDismissible (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DNotificationGroupTest.java187 assertThat(mNotificationGroup.isDismissible()).isFalse(); in isDismissible_containsOngoingNotification_returnsFalse()
197 assertThat(mNotificationGroup.isDismissible()).isFalse(); in isDismissible_containsForegroundService_returnsFalse()
204 assertThat(mNotificationGroup.isDismissible()).isFalse(); in isDismissible_isHeader_returnsFalse()
211 assertThat(mNotificationGroup.isDismissible()).isFalse(); in isDismissible_isFooter_returnsFalse()
218 assertThat(mNotificationGroup.isDismissible()).isTrue(); in isDismissible_isRecents_returnsTrue()
225 assertThat(mNotificationGroup.isDismissible()).isTrue(); in isDismissible_isOlder_returnsTrue()
232 assertThat(mNotificationGroup.isDismissible()).isTrue(); in isDismissible_onlyContainsDismissibleNotification_returnsTrue()
DCarNotificationViewTest.java305 private NotificationGroup getNotificationGroup(boolean isDismissible) { in getNotificationGroup() argument
314 if (!isDismissible) { in getNotificationGroup()
/packages/apps/Car/Notification/src/com/android/car/notification/
DDismissAnimationHelper.java133 if (!viewHolder.isDismissible() || translateX == 0) { in calculateAlphaValue()
145 if (viewHolder.isDismissible() || moveDeltaX == 0) { in calculateTranslateDistance()
DCarNotificationItemTouchListener.java116 if (!viewHolder.isDismissible()) { in CarNotificationItemTouchListener()
366 boolean shouldDismiss = (fastEnough || farEnough) && mViewHolder.isDismissible(); in onTouchEvent()
DNotificationGroup.java223 public boolean isDismissible() { in isDismissible() method in NotificationGroup
DCarNotificationView.java336 if (notificationGroup.isDismissible()) { in getAllDismissibleNotifications()
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetyCenterIssueTest.kt161 assertThat(SafetyCenterIssue.Builder(issue1).setDismissible(true).build().isDismissible) in isDismissible_returnsIsDismissible()
163 assertThat(SafetyCenterIssue.Builder(issue1).setDismissible(false).build().isDismissible) in isDismissible_returnsIsDismissible()
169 assertThat(issueWithRequiredFieldsOnly.isDismissible).isTrue() in isDismissible_defaultsToTrue()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationBaseViewHolder.java375 public boolean isDismissible() { in isDismissible() method in CarNotificationBaseViewHolder
389 if ((!isHeadsUp && !isDismissible()) || mHideDismissButton) { in updateDismissButton()
DGroupNotificationViewHolder.java405 public boolean isDismissible() { in isDismissible() method in GroupNotificationViewHolder
406 return mNotificationGroup == null || mNotificationGroup.isDismissible(); in isDismissible()
/packages/modules/Permission/framework-s/java/android/safetycenter/
DSafetyCenterIssue.java136 boolean isDismissible, in SafetyCenterIssue() argument
146 mDismissible = isDismissible; in SafetyCenterIssue()
205 public boolean isDismissible() { in isDismissible() method in SafetyCenterIssue
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DIssueCardPreference.java240 if (mIssue.isDismissible() && !mIsDismissed) { in configureDismissButton()
/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DNavigator.java664 boolean isDismissible(@NonNull AccessibilityWindowInfo window, in isDismissible() method in Navigator
DRotaryService.java1680 if (mNavigator.isDismissible(sourceWindow, sourceBounds, direction)) { in nudgeTo()
/packages/modules/Permission/framework-s/api/
Dsystem-current.txt197 method public boolean isDismissible();