Searched defs:start (Results 176 - 200 of 488) sorted by path

1234567891011>>

/frameworks/base/core/java/android/text/method/
H A DNumberKeyListener.java47 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 DPasswordTransformationMethod.java70 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 DQwertyKeyListener.java137 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 DReplacementTransformationMethod.java136 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 DTextKeyListener.java176 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 DWordIterator.java58 public void setCharSequence(CharSequence charSequence, int start, int end) { argument
59 mOffsetShift = Math.max(0, start - WINDOW_WIDTH);
/frameworks/base/core/java/android/text/style/
H A DBulletSpan.java82 CharSequence text, int start, int end,
84 if (((Spanned) text).getSpanStart(this) == start) {
80 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 DDrawableMarginSpan.java43 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 DDynamicDrawableSpan.java75 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 DIconMarginSpan.java43 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 DLeadingMarginSpan.java62 * @param start the start of the line
70 CharSequence text, int start, int end,
147 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
144 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 DLineBackgroundSpan.java28 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 DLineHeightSpan.java25 public void chooseHeight(CharSequence text, int start, int end, argument
30 public void chooseHeight(CharSequence text, int start, int end, argument
H A DQuoteSpan.java68 CharSequence text, int start, int end,
66 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 DReplacementSpan.java26 int start, int end,
29 int start, int end, float x,
25 getSize(Paint paint, CharSequence text, int start, int end, Paint.FontMetricsInt fm) argument
28 draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) argument
/frameworks/base/core/java/android/text/util/
H A DLinkify.java102 public final boolean acceptMatch(CharSequence s, int start, int end) {
103 if (start == 0) {
107 if (s.charAt(start - 1) == '@') {
120 public final boolean acceptMatch(CharSequence s, int start, int end) {
123 for (int i = start; i < end; i++) {
166 * @param start The index of the first character in s that was
173 boolean acceptMatch(CharSequence s, int start, int end); argument
244 applyLink(link.url, link.start, link.end, text);
372 int start = m.start();
392 applyLink(String url, int start, int end, Spannable text) argument
565 int start; field in class:LinkSpec
[all...]
/frameworks/base/core/java/android/transition/
H A DChangeText.java33 * 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 DTransition.java206 // in the start scene, which are no longer in the view hierarchy. This property
218 // determined by calls to start() and end()
235 // The function for calculating the Animation start delay.
407 * then the old animation is canceled since the new transition will start a new
427 * earlier for the start and end scenes. Subclasses of Transition should override
432 * topmost Transition in the hierarchy) with the sceneRoot and start/end
439 * delay between that start and the child Transition start time. For
448 * the transition needs to run on the given target and start/end values.
450 * to avoid running for views which are not present in either the start
1409 captureValues(ViewGroup sceneRoot, boolean start) argument
1517 clearValues(boolean start) argument
1543 captureHierarchy(View view, boolean start) argument
1607 getTransitionValues(View view, boolean start) argument
1856 protected void start() { method in class:Transition
[all...]
/frameworks/base/core/java/android/util/
H A DMathUtils.java147 public static float lerp(float start, float stop, float amount) { argument
148 return start + (stop - start) * amount;
151 public static float norm(float start, float stop, float value) { argument
152 return (value - start) / (stop - start);
H A DPathParser.java51 int start = 0;
57 String s = pathData.substring(start, end).trim();
63 start = end;
66 if ((end - start) == 1 && start < pathData.length()) {
67 addNode(list, pathData.charAt(start), new float[0]);
199 * @param start the position to start searching
203 private static void extract(String s, int start, ExtractFloatResult result) { argument
204 // Now looking for ' ', ',' or '-' from the start
596 arcToBezier(Path p, double cx, double cy, double a, double b, double e1x, double e1y, double theta, double start, double sweep) argument
[all...]
/frameworks/base/core/java/android/view/
H A DAccessibilityIterators.java57 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 DGLES20Canvas.java887 public void drawText(CharSequence text, int start, int end, float x, float y, Paint paint) { argument
890 nDrawText(mRenderer, text.toString(), start, end, x, y, paint.mBidiFlags,
893 ((GraphicsOperations) text).drawText(this, start, end, x, y, paint);
895 char[] buf = TemporaryBuffer.obtain(end - start);
896 TextUtils.getChars(text, start, end, buf, 0);
897 nDrawText(mRenderer, buf, 0, end - start, x, y,
904 public void drawText(String text, int start, int end, float x, float y, Paint paint) { argument
905 if ((start | end | (end - start) | (text.length() - end)) < 0) {
909 nDrawText(mRenderer, text, start, en
913 nDrawText(long renderer, String text, int start, int end, float x, float y, int bidiFlags, long paint, long typeface) argument
945 nDrawTextOnPath(long renderer, String text, int start, int end, long path, float hOffset, float vOffset, int bidiFlags, long nativePaint, long typeface) argument
964 drawTextRun(CharSequence text, int start, int end, int contextStart, int contextEnd, float x, float y, boolean isRtl, Paint paint) argument
988 nDrawTextRun(long renderer, String text, int start, int end, int contextStart, int contextEnd, float x, float y, boolean isRtl, long nativePaint, long nativeTypeface) argument
[all...]
H A DRenderNode.java56 * HardwareCanvas canvas = displayList.start(width, height);
95 * HardwareCanvas canvas = mDisplayList.start(width, height);
227 public HardwareCanvas start(int width, int height) { method in class:RenderNode
240 * @see #start(int, int)
817 throw new IllegalStateException("Cannot start this animator on a detached view!");
H A DRenderNodeAnimator.java98 // 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
171 public void start() { method in class:RenderNodeAnimator
207 // Kick off a frame to start the process
H A DView.java175 * not need to override all of these methods. In fact, you can start by just
2105 * Align to the start of the paragraph, e.g. ALIGN_NORMAL.
2126 * Align to the start of the view, which is ALIGN_LEFT if the view’s resolved
2309 * Flag indicating that start/end padding has been resolved into left/right padding
2318 * Flag indicating that the start/end drawables has been resolved into left/right ones.
4083 // Cache start/end user padding as we cannot fully resolve padding here (we dont have yet
4110 // defined and start / end padding are defined (e.g. in Frameworks resources), then we use
4111 // start / end and resolve them as left / right (layout direction is not taken into account).
4124 // Jelly Bean MR1 and after case: if start/end defined, they will override any left/right
8097 final int start
8192 setAccessibilitySelection(int start, int end) argument
16446 setPaddingRelative(int start, int top, int end, int bottom) argument
17039 findViewByPredicateInsideOut(View start, Predicate<View> predicate) argument
[all...]

Completed in 2495 milliseconds

1234567891011>>