Home
last modified time | relevance | path

Searched refs:MAX_TEXT_LENGTH (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/
DNotificationChannelTest.java76 assertEquals(NotificationChannel.MAX_TEXT_LENGTH, fromParcel.getId().length()); in testLongStringFields()
77 assertEquals(NotificationChannel.MAX_TEXT_LENGTH, fromParcel.getName().length()); in testLongStringFields()
78 assertEquals(NotificationChannel.MAX_TEXT_LENGTH, in testLongStringFields()
80 assertEquals(NotificationChannel.MAX_TEXT_LENGTH, in testLongStringFields()
82 assertEquals(NotificationChannel.MAX_TEXT_LENGTH, in testLongStringFields()
84 assertEquals(NotificationChannel.MAX_TEXT_LENGTH, in testLongStringFields()
103 assertEquals(NotificationChannel.MAX_TEXT_LENGTH, in testLongAlertFields()
DNotificationChannelGroupTest.java70 assertEquals(NotificationChannelGroup.MAX_TEXT_LENGTH, fromParcel.getId().length()); in testLongStringFields()
71 assertEquals(NotificationChannelGroup.MAX_TEXT_LENGTH, fromParcel.getName().length()); in testLongStringFields()
72 assertEquals(NotificationChannelGroup.MAX_TEXT_LENGTH, in testLongStringFields()
/frameworks/base/core/java/android/app/
DNotificationChannelGroup.java48 public static final int MAX_TEXT_LENGTH = 1000; field in NotificationChannelGroup
114 if (input != null && input.length() > MAX_TEXT_LENGTH) { in getTrimmedString()
115 return input.substring(0, MAX_TEXT_LENGTH); in getTrimmedString()
DNotificationChannel.java129 public static final int MAX_TEXT_LENGTH = 1000; field in NotificationChannel
484 if (input != null && input.length() > MAX_TEXT_LENGTH) { in getTrimmedString()
485 return input.substring(0, MAX_TEXT_LENGTH); in getTrimmedString()
/frameworks/base/core/tests/coretests/src/android/app/assist/
DAssistStructureTest.java85 private static final int MAX_TEXT_LENGTH = 23; field in AssistStructureTest
283 view.setFilters(new InputFilter[] { new InputFilter.LengthFilter(MAX_TEXT_LENGTH) }); in newSmallView()
302 assertThat(view.getMaxTextLength()).isEqualTo(MAX_TEXT_LENGTH); in assertSmallView()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityEvent.java438 public static final int MAX_TEXT_LENGTH = 500; field in AccessibilityEvent
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt8002 Landroid/app/NotificationChannel;->MAX_TEXT_LENGTH:I
8049 Landroid/app/NotificationChannelGroup;->MAX_TEXT_LENGTH:I
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt34838 field public static final deprecated int MAX_TEXT_LENGTH = 500; // 0x1f4
/frameworks/base/core/api/
Dcurrent.txt51634 field @Deprecated public static final int MAX_TEXT_LENGTH = 500; // 0x1f4