Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/
DNotificationChannelGroupTest.java71 assertEquals(NotificationChannelGroup.MAX_TEXT_LENGTH, fromParcel.getId().length()); in testLongStringFields()
72 assertEquals(NotificationChannelGroup.MAX_TEXT_LENGTH, fromParcel.getName().length()); in testLongStringFields()
73 assertEquals(NotificationChannelGroup.MAX_TEXT_LENGTH, in testLongStringFields()
DNotificationChannelTest.java206 assertEquals(NotificationChannel.MAX_TEXT_LENGTH, fromParcel.getId().length()); in testLongStringFields()
207 assertEquals(NotificationChannel.MAX_TEXT_LENGTH, fromParcel.getName().length()); in testLongStringFields()
208 assertEquals(NotificationChannel.MAX_TEXT_LENGTH, in testLongStringFields()
210 assertEquals(NotificationChannel.MAX_TEXT_LENGTH, in testLongStringFields()
212 assertEquals(NotificationChannel.MAX_TEXT_LENGTH, in testLongStringFields()
214 assertEquals(NotificationChannel.MAX_TEXT_LENGTH, in testLongStringFields()
233 assertEquals(NotificationChannel.MAX_TEXT_LENGTH, in testLongAlertFields()
/frameworks/base/core/java/android/app/
DNotificationChannelGroup.java50 public static final int MAX_TEXT_LENGTH = 1000; field in NotificationChannelGroup
121 if (input != null && input.length() > MAX_TEXT_LENGTH) { in getTrimmedString()
122 return input.substring(0, MAX_TEXT_LENGTH); in getTrimmedString()
DNotificationChannel.java138 public static final int MAX_TEXT_LENGTH = 1000; field in NotificationChannel
550 if (input != null && input.length() > MAX_TEXT_LENGTH) { in getTrimmedString()
551 return input.substring(0, MAX_TEXT_LENGTH); in getTrimmedString()
/frameworks/base/core/tests/coretests/src/android/app/assist/
DAssistStructureTest.java117 private static final int MAX_TEXT_LENGTH = 23; field in AssistStructureTest
365 view.setFilters(new InputFilter[] { new InputFilter.LengthFilter(MAX_TEXT_LENGTH) }); in newSmallView()
384 assertThat(view.getMaxTextLength()).isEqualTo(MAX_TEXT_LENGTH); in assertSmallView()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityEvent.java457 public static final int MAX_TEXT_LENGTH = 500; field in AccessibilityEvent
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java205 private static final int MAX_TEXT_LENGTH = 127; field in UsageStatsService
1868 if (input != null && input.length() > MAX_TEXT_LENGTH) { in getTrimmedString()
1869 return input.substring(0, MAX_TEXT_LENGTH); in getTrimmedString()
/frameworks/base/core/api/
Dlint-baseline.txt372 DeprecationMismatch: android.view.accessibility.AccessibilityEvent#MAX_TEXT_LENGTH:
373 …Field AccessibilityEvent.MAX_TEXT_LENGTH: @Deprecated annotation (present) and @deprecated doc tag…
Dmodule-lib-lint-baseline.txt486 DeprecationMismatch: android.view.accessibility.AccessibilityEvent#MAX_TEXT_LENGTH:
487 …Field AccessibilityEvent.MAX_TEXT_LENGTH: @Deprecated annotation (present) and @deprecated doc tag…
Dtest-lint-baseline.txt500 DeprecationMismatch: android.view.accessibility.AccessibilityEvent#MAX_TEXT_LENGTH:
501 …Field AccessibilityEvent.MAX_TEXT_LENGTH: @Deprecated annotation (present) and @deprecated doc tag…
Dsystem-lint-baseline.txt490 DeprecationMismatch: android.view.accessibility.AccessibilityEvent#MAX_TEXT_LENGTH:
491 …Field AccessibilityEvent.MAX_TEXT_LENGTH: @Deprecated annotation (present) and @deprecated doc tag…
Dcurrent.txt54745 field @Deprecated public static final int MAX_TEXT_LENGTH = 500; // 0x1f4
/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