/frameworks/base/core/java/android/text/method/ |
H A D | ArrowKeyMovementMethod.java | 220 protected boolean end(TextView widget, Spannable buffer) { method in class:ArrowKeyMovementMethod
|
H A D | MultiTapKeyListener.java | 277 int end = buf.getSpanEnd(TextKeyListener.ACTIVE); 279 if (st == start && en == end) { 290 public void onSpanAdded(Spannable s, Object what, int start, int end) { } argument 291 public void onSpanRemoved(Spannable s, Object what, int start, int end) { } argument
|
H A D | NumberKeyListener.java | 57 public CharSequence filter(CharSequence source, int start, int end, argument 63 for (i = start; i < end; i++) { 69 if (i == end) { 74 if (end - start == 1) { 80 new SpannableStringBuilder(source, start, end); 82 end -= start; 84 int len = end - start; 86 for (int j = end - 1; j >= i; j--) {
|
H A D | QwertyKeyListener.java | 335 // only cancel the autocomplete if the cursor is at the end of 365 private String getReplacement(CharSequence src, int start, int end, argument 367 int len = end - start; 370 String replacement = AutoText.get(src, start, end, view); 373 String key = TextUtils.substring(src, start, end).toLowerCase(); 374 replacement = AutoText.get(key, 0, end - start, view); 384 for (int j = start; j < end; j++) { 418 * @param end the end of the replaced region; the location of the cursor 421 public static void markAsReplaced(Spannable content, int start, int end, argument [all...] |
H A D | ReplacementTransformationMethod.java | 136 public CharSequence subSequence(int start, int end) { argument 137 char[] c = new char[end - start]; 139 getChars(start, end, c, 0); 150 public void getChars(int start, int end, char[] dest, int off) { argument 151 TextUtils.getChars(mSource, start, end, dest, off); 152 int offend = end - start + off; 179 public CharSequence subSequence(int start, int end) { argument 180 return new SpannedString(this).subSequence(start, end); 183 public <T> T[] getSpans(int start, int end, Class<T> type) { argument 184 return mSpanned.getSpans(start, end, typ 199 nextSpanTransition(int start, int end, Class type) argument [all...] |
H A D | WordIterator.java | 59 public void setCharSequence(@NonNull CharSequence charSequence, int start, int end) { argument 60 if (0 <= start && end <= charSequence.length()) { 63 mEnd = Math.min(charSequence.length(), end + WINDOW_WIDTH); 165 * If the offset is on a word boundary that can be considered the start and end of a 179 * considered the end of a word (e.g. word_ where "_" is any character that would not 183 * If the offset is on a word boundary that can be considered the start and end of a 185 * between AA and BB, this would return the end of the next word, BB. 201 * If the offset is on a word boundary that can be considered the start and end of a 232 * considered the end of a word (e.g. word_ where "_" is any character that would not be 236 * If the offset is on a word boundary that can be considered the start and end o [all...] |
/frameworks/base/core/java/android/text/style/ |
H A D | BulletSpan.java | 92 CharSequence text, int start, int end, 90 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout l) argument
|
H A D | LeadingMarginSpan.java | 63 * @param end the end of the line 70 CharSequence text, int start, int end, 85 * the beginning to the end of a paragraph. 157 CharSequence text, int start, int end, 67 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument 154 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
|
H A D | QuoteSpan.java | 80 CharSequence text, int start, int end, 78 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
|
/frameworks/base/core/java/android/transition/ |
H A D | ChangeText.java | 33 * changes between the start and end scenes, the transition ensures that the 35 * to the end text. This is useful in situations where you want to resize a 64 * view at the end of the fade-out animation. This transition is typically 74 * end text into the affected target view(s). This transition is typically 232 // restore opaque alpha and correct end color 250 // restore opaque alpha and correct end color 309 private void setSelection(EditText editText, int start, int end) { argument 310 if (start >= 0 && end >= 0) { 311 editText.setSelection(start, end);
|
/frameworks/base/core/java/android/util/jar/ |
H A D | StrictJarManifest.java | 52 final int end; field in class:StrictJarManifest.Chunk 54 Chunk(int start, int end) { argument 56 this.end = end; 63 * The end of the main attributes section in the manifest is needed in
|
/frameworks/base/core/java/android/view/ |
H A D | AccessibilityIterators.java | 56 protected int[] getRange(int start, int end) { argument 57 if (start < 0 || end < 0 || start == end) { 61 mSegment[1] = end; 112 final int end = mImpl.following(start); 113 if (end == BreakIterator.DONE) { 116 return getRange(start, end); 128 int end = offset; 129 if (end > textLegth) { 130 end [all...] |
/frameworks/base/core/jni/ |
H A D | android_os_SystemProperties.cpp | 72 char* end; local 84 result = strtol(buf, &end, 0); 85 if (end == buf) { 102 char* end; local 114 result = strtoll(buf, &end, 0); 115 if (end == buf) {
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
H A D | PaintTest.java | 179 private void assertGetTextRunAdvances(String str, int start, int end, argument 183 final int count = end - start; 186 final float advance = p.getTextRunAdvances(str, start, end, contextStart, contextEnd, 197 final float secondPartAdvance = p.getTextRunAdvances(str, start + c, end, 218 if (compareWithOtherMethods && start == contextStart && end == contextEnd) { 219 assertEquals(advance, p.measureText(str, start, end), 1.0f); 221 str, start, end, contextStart, contextEnd, isRtl, end), 1.0f); 224 p.getTextWidths(str, start, end, widths); 282 // start > end [all...] |
/frameworks/base/libs/hwui/ |
H A D | PropertyValuesAnimatorSet.cpp | 76 // reset the animators, we need to make sure the animators that end the first will 106 void PropertyValuesAnimatorSet::end() { function in class:android::uirenderer::PropertyValuesAnimatorSet 108 BaseRenderNodeAnimator::end(); 118 // be the ones that end later. 119 std::sort(mAnimators.begin(), mAnimators.end(), [](auto& a, auto&b) { 152 // Reached the end of the animation.
|
/frameworks/base/libs/hwui/tests/macrobench/ |
H A D | TestSceneRunner.cpp | 182 nsecs_t end = systemTime(CLOCK_MONOTONIC); local 186 (end - start) / (double) s2ns(1));
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | ScheduleCalendar.java | 81 long end = getTime(time, mSchedule.endHour, mSchedule.endMinute); 82 if (end <= start) { 83 end = addDays(end, 1); 85 return isInSchedule(-1, time, start, end) || isInSchedule(0, time, start, end); 94 private boolean isInSchedule(int daysOffset, long time, long start, long end) { argument 98 end = addDays(end, daysOffset); 99 return mDays.contains(day) && time >= start && time < end; [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
H A D | AccessibilityGestureDetectorTest.java | 156 /** Fill in movement points from start to end, appending points to path. */ 157 private void fillPath(PointF start, PointF end, ArrayList<PointF> path) { argument 159 float deltaX = end.x - start.x; 160 float deltaY = end.y - start.y; 166 // For each path step from start (non-inclusive) to end ... add a motion point.
|
/frameworks/base/tools/aapt2/ |
H A D | Locale.cpp | 68 return std::all_of(std::begin(str), std::end(str), ::isalpha); 72 return std::all_of(std::begin(str), std::end(str), ::isdigit); 142 std::vector<std::string>::iterator end) { 216 if (iter != end) { 141 InitFromParts(std::vector<std::string>::iterator iter, std::vector<std::string>::iterator end) argument
|
H A D | StringPool.h | 216 friend const_iterator end(const StringPool& pool); 237 inline StringPool::const_iterator end(const StringPool& pool) { function in namespace:aapt 238 return pool.strings_.end();
|
/frameworks/base/tools/aapt2/compile/ |
H A D | Image.h | 67 * A range of pixel values, starting at 'start' and ending before 'end' 72 int32_t end = 0; member in struct:aapt::Range 75 inline explicit Range(int32_t s, int32_t e) : start(s), end(e) {} 79 return left.start == right.start && left.end == right.end;
|
/frameworks/base/tools/aapt2/java/ |
H A D | ClassDefinition.h | 123 const auto end = elements_.end(); variable 124 for (auto current = begin; current != end; ++current) { 130 if (std::distance(current, end) > 1) {
|
/frameworks/base/tools/layoutlib/bridge/src/android/text/ |
H A D | OptimizingLineBreaker.java | 155 private LineMetrics computeMetrics(int start, int end) { argument 158 for (int i = start; i < end; i++) {
|
/frameworks/base/tools/obbtool/ |
H A D | Main.cpp | 206 char* end; local 207 package_info.packageVersion = strtol(optarg, &end, 10); 208 if (*optarg == '\0' || *end != '\0') {
|
/frameworks/base/tools/split-select/ |
H A D | RuleGenerator.cpp | 41 allDensities.end(), (int) ResTable_config::DENSITY_ANY) != allDensities.end(); 81 std::find(familyVariants.begin(), familyVariants.end(), thisAbi); 83 Vector<abi::Variant>::const_iterator end = familyVariants.end(); local 85 end = std::find(start, familyVariants.end(), splitAbis[index + 1]); 91 while (start != end) {
|