/frameworks/base/core/java/android/text/method/ |
H A D | NumberKeyListener.java | 47 public CharSequence filter(CharSequence source, int start, int end, argument 53 for (i = start; i < end; i++) { 64 if (end - start == 1) { 70 new SpannableStringBuilder(source, start, end); 71 i -= start; 72 end -= start; 74 int len = end - start;
|
H A D | PasswordTransformationMethod.java | 70 public void beforeTextChanged(CharSequence s, int start, argument 75 public void onTextChanged(CharSequence s, int start, argument 107 sp.setSpan(new Visible(sp, this), start, start + count, 177 public CharSequence subSequence(int start, int end) { argument 178 char[] buf = new char[end - start]; 180 getChars(start, end, buf, 0); 188 public void getChars(int start, int end, char[] dest, int off) { argument 189 TextUtils.getChars(mSource, start, end, dest, off); 214 for (int i = start; [all...] |
H A D | QwertyKeyListener.java | 137 int start; 140 start = selEnd; 142 while (start > 0 && selEnd - start < 4 && 143 Character.digit(content.charAt(start - 1), 16) >= 0) { 144 start--; 147 start = selStart; 152 String hex = TextUtils.substring(content, start, selEnd); 157 selStart = start; 360 private String getReplacement(CharSequence src, int start, in argument 416 markAsReplaced(Spannable content, int start, int end, String original) 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, en 199 nextSpanTransition(int start, int end, Class type) argument [all...] |
H A D | TextKeyListener.java | 176 public void onSpanAdded(Spannable s, Object what, int start, int end) { } argument 177 public void onSpanRemoved(Spannable s, Object what, int start, int end) { } argument 179 public void onSpanChanged(Spannable s, Object what, int start, int end, argument
|
H A D | WordIterator.java | 58 public void setCharSequence(CharSequence charSequence, int start, int end) { argument 59 mOffsetShift = Math.max(0, start - WINDOW_WIDTH); 109 * @param offset the given start position to search from. 125 * @param offset the given start position to search from. 176 * considered the start of a word (e.g. _word where "_" is any character that would not 180 * If the offset is on a word boundary that can be considered the start and end of a 182 * between AA and BB, this would return the start of the previous word, AA. 198 * If the offset is on a word boundary that can be considered the start and end of a 212 * considered the start of a word (e.g. _word where "_" is any character that would not 216 * If the offset is on a word boundary that can be considered the start an [all...] |
/frameworks/base/core/java/android/text/style/ |
H A D | BulletSpan.java | 92 CharSequence text, int start, int end, 94 if (((Spanned) text).getSpanStart(this) == start) { 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 | DrawableMarginSpan.java | 43 CharSequence text, int start, int end, 57 public void chooseHeight(CharSequence text, int start, int end, argument 41 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 | DynamicDrawableSpan.java | 75 int start, int end, 93 int start, int end, float x, 74 getSize(Paint paint, CharSequence text, int start, int end, Paint.FontMetricsInt fm) argument 92 draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) argument
|
H A D | IconMarginSpan.java | 43 CharSequence text, int start, int end, 54 public void chooseHeight(CharSequence text, int start, int end, argument 41 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 | LeadingMarginSpan.java | 62 * @param start the start of the line 70 CharSequence text, int start, int end, 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 | LineBackgroundSpan.java | 28 CharSequence text, int start, int end, 25 drawBackground(Canvas c, Paint p, int left, int right, int top, int baseline, int bottom, CharSequence text, int start, int end, int lnum) argument
|
H A D | LineHeightSpan.java | 25 public void chooseHeight(CharSequence text, int start, int end, argument 30 public void chooseHeight(CharSequence text, int start, int end, 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
|
H A D | ReplacementSpan.java | 37 * @param start Start character index for span. 43 @IntRange(from = 0) int start, @IntRange(from = 0) int end, 51 * @param start Start character index for span. 60 @IntRange(from = 0) int start, @IntRange(from = 0) int end, float x, 42 getSize(@onNull Paint paint, CharSequence text, @IntRange(from = 0) int start, @IntRange(from = 0) int end, @Nullable Paint.FontMetricsInt fm) argument 59 draw(@onNull Canvas canvas, CharSequence text, @IntRange(from = 0) int start, @IntRange(from = 0) int end, float x, int top, int y, int bottom, @NonNull Paint paint) argument
|
/frameworks/base/core/java/android/text/util/ |
H A D | Linkify.java | 117 public final boolean acceptMatch(CharSequence s, int start, int end) { 118 if (start == 0) { 122 if (s.charAt(start - 1) == '@') { 135 public final boolean acceptMatch(CharSequence s, int start, int end) { 138 for (int i = start; i < end; i++) { 181 * @param start The index of the first character in s that was 188 boolean acceptMatch(CharSequence s, int start, int end); argument 264 applyLink(link.url, link.start, link.end, text); 328 * prepended to the links that do not start with this scheme. 344 * prepended to the links that do not start wit 476 applyLink(String url, int start, int end, Spannable text) argument 643 int start; field in class:LinkSpec [all...] |
/frameworks/base/core/java/android/transition/ |
H A D | ChangeText.java | 33 * changes between the start and end scenes, the transition ensures that the 209 // Fade out start text 306 private void setSelection(EditText editText, int start, int end) { argument 307 if (start >= 0 && end >= 0) { 308 editText.setSelection(start, end);
|
H A D | Transition.java | 207 // in the start scene, which are no longer in the view hierarchy. This property 219 // determined by calls to start() and end() 236 // The function for calculating the Animation start delay. 408 * then the old animation is canceled since the new transition will start a new 428 * earlier for the start and end scenes. Subclasses of Transition should override 433 * topmost Transition in the hierarchy) with the sceneRoot and start/end 440 * delay between that start and the child Transition start time. For 449 * the transition needs to run on the given target and start/end values. 451 * to avoid running for views which are not present in either the start 1421 captureValues(ViewGroup sceneRoot, boolean start) argument 1529 clearValues(boolean start) argument 1555 captureHierarchy(View view, boolean start) argument 1619 getTransitionValues(View view, boolean start) argument 1890 protected void start() { method in class:Transition [all...] |
/frameworks/base/core/java/android/util/ |
H A D | MathUtils.java | 155 public static float lerp(float start, float stop, float amount) { argument 156 return start + (stop - start) * amount; 160 * Returns an interpolated angle in degrees between a set of start and end 164 * travel is determined by the shortest angle between the start and end 169 * @param start the starting angle in degrees 171 * @param amount the position between start and end in the range [0,1] 175 public static float lerpDeg(float start, float end, float amount) { argument 176 final float minAngle = (((end - start) + 180) % 360) - 180; 177 return minAngle * amount + start; 180 norm(float start, float stop, float value) argument [all...] |
/frameworks/base/core/java/android/util/apk/ |
H A D | ApkSignatureSchemeV2Verifier.java | 401 // 1. Everything up to the start of the APK Signing Block. 754 * between the specified start (inclusive) and end (exclusive) positions. As opposed to 758 private static ByteBuffer sliceFromTo(ByteBuffer source, int start, int end) { argument 759 if (start < 0) { 760 throw new IllegalArgumentException("start: " + start); 762 if (end < start) { 763 throw new IllegalArgumentException("end < start: " + end + " < " + start); 774 source.position(start); [all...] |
/frameworks/base/core/java/android/util/jar/ |
H A D | StrictJarManifest.java | 51 final int start; field in class:StrictJarManifest.Chunk 54 Chunk(int start, int end) { argument 55 this.start = start;
|
H A D | StrictJarVerifier.java | 452 chunk.start, chunk.end, createdBySigntool, false)) { 473 int start, int end, boolean ignoreSecondEndline, boolean ignorable) { 488 md.update(data, start, end - 1 - start); 490 md.update(data, start, end - start); 472 verify(Attributes attributes, String entry, byte[] data, int start, int end, boolean ignoreSecondEndline, boolean ignorable) argument
|
/frameworks/base/core/java/android/view/ |
H A D | AccessibilityIterators.java | 57 protected int[] getRange(int start, int end) { argument 58 if (start < 0 || end < 0 || start == end) { 61 mSegment[0] = start; 103 int start = offset; 104 if (start < 0) { 105 start = 0; 107 while (!mImpl.isBoundary(start)) { 108 start = mImpl.following(start); [all...] |
H A D | RenderNode.java | 57 * DisplayListCanvas canvas = displayList.start(width, height); 96 * DisplayListCanvas canvas = mDisplayList.start(width, height); 192 public DisplayListCanvas start(int width, int height) { method in class:RenderNode 201 * @see #start(int, int) 786 throw new IllegalStateException("Cannot start this animator on a detached view!"); 798 throw new IllegalStateException("Cannot start this animator on a detached view!");
|
H A D | RenderNodeAnimator.java | 98 // If this is true, we will run any start delays on the UI thread. This is 99 // the safe default, and is necessary to ensure start listeners fire at 175 public void start() { method in class:RenderNodeAnimator 211 // Kick off a frame to start the process
|