/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
H A D | GestureDescriptionTest.java | 68 PointF start = new PointF(10, 20); 72 createSwipe(start.x, start.y, end.x, end.y, numSamples * samplePeriod); 78 numEndsOfStroke(0), hasPoint(start))); 83 PointF interpPoint = new PointF(start.x + stepX * i, start.y + stepY * i); 150 long start = 0; 151 assertThat(steps.get(0), allOf(numStartsOfStroke(1), numEndsOfStroke(0), isAtTime(start), 154 isAtTime(start + deltaT))); 155 assertThat(steps.get(2), allOf(numTouchPointsIs(1), isAtTime(start [all...] |
/frameworks/base/core/java/android/text/ |
H A D | Html.java | 323 private static void withinDiv(StringBuilder out, Spanned text, int start, int end, argument 326 for (int i = start; i < end; i = next) { 342 private static String getTextDirection(Spanned text, int start, int end) { argument 343 if (TextDirectionHeuristics.FIRSTSTRONG_LTR.isRtl(text, start, end - start)) { 350 private static String getTextStyles(Spanned text, int start, int end, argument 359 final AlignmentSpan[] alignmentSpans = text.getSpans(start, end, AlignmentSpan.class); 367 textAlign = "text-align:start;"; 394 private static void withinBlockquote(StringBuilder out, Spanned text, int start, int end, argument 397 withinBlockquoteConsecutive(out, text, start, en 403 withinBlockquoteIndividual(StringBuilder out, Spanned text, int start, int end) argument 468 withinBlockquoteConsecutive(StringBuilder out, Spanned text, int start, int end) argument 505 withinParagraph(StringBuilder out, Spanned text, int start, int end) argument 631 withinStyle(StringBuilder out, CharSequence text, int start, int end) argument 1058 private static void start(Editable text, Object mark) { method in class:HtmlToSpannedConverter 1216 characters(char ch[], int start, int length) argument 1254 ignorableWhitespace(char ch[], int start, int length) argument [all...] |
H A D | TextLine.java | 129 * @param start the start of the line relative to the text 136 void set(TextPaint paint, CharSequence text, int start, int limit, int dir, argument 140 mStart = start; 141 mLen = limit - start; 153 mReplacementSpanSpanSet.init(mSpanned, start, limit); 163 TextUtils.getChars(text, start, limit, mChars, 0); 171 for (int i = start, inext; i < limit; i = inext) { 175 chars[i - start] = '\ufffc'; 176 for (int j = i - start 378 drawRun(Canvas c, int start, int limit, boolean runIsRtl, float x, int top, int y, int bottom, boolean needWidth) argument 406 measureRun(int start, int offset, int limit, boolean runIsRtl, FontMetricsInt fmi) argument 717 handleText(TextPaint wp, int start, int end, int contextStart, int contextEnd, boolean runIsRtl, Canvas c, float x, int top, int y, int bottom, FontMetricsInt fmi, boolean needWidth, int offset) argument 809 handleReplacement(ReplacementSpan replacement, TextPaint wp, int start, int limit, boolean runIsRtl, Canvas c, float x, int top, int y, int bottom, FontMetricsInt fmi, boolean needWidth) argument 855 adjustHyphenEdit(int start, int limit, int hyphenEdit) argument 886 handleRun(int start, int measureLimit, int limit, boolean runIsRtl, Canvas c, float x, int top, int y, int bottom, FontMetricsInt fmi, boolean needWidth) argument 991 drawTextRun(Canvas c, TextPaint wp, int start, int end, int contextStart, int contextEnd, boolean runIsRtl, float x, int y) argument 1024 nextStretchableSpace(int start, int end) argument 1033 countStretchableSpaces(int start, int end) argument [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | StringBlock.java | 92 // the style array is a flat array of <type, start, end> hence 175 + ", start=" + style[i+1] + ", end=" + style[i+2]); 360 int start, int end) { 363 if (start != 0 && start != len && buffer.charAt(start - 1) != '\n') { 364 for (start--; start > 0; start--) { 365 if (buffer.charAt(start 359 addParagraphSpan(Spannable buffer, Object what, int start, int end) argument 411 chooseHeight(CharSequence text, int start, int end, int spanstartv, int v, Paint.FontMetricsInt fm) argument 418 chooseHeight(CharSequence text, int start, int end, int spanstartv, int v, Paint.FontMetricsInt fm, TextPaint paint) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/text/ |
H A D | StaticLayout_Delegate.java | 94 int start, int end, boolean isRtl) { 99 measureText(nativePaint, builder.mText, start, end - start, builder.mWidths, 104 /*package*/ static void nAddMeasuredRun(long nativeBuilder, int start, int end, float[] widths) { argument 107 System.arraycopy(widths, start, builder.mWidths, start, end - start); 112 /*package*/ static void nAddReplacementRun(long nativeBuilder, int start, int end, float width) { argument 117 builder.mWidths[start] = width; 118 Arrays.fill(builder.mWidths, start 93 nAddStyleRun(long nativeBuilder, long nativePaint, long nativeTypeface, int start, int end, boolean isRtl) argument [all...] |
/frameworks/base/sax/tests/saxtests/src/android/sax/ |
H A D | SafeSaxTest.java | 58 public void start(Attributes attributes) { method in class:SafeSaxTest.ElementCounter 71 public void start(Attributes attributes) { method in class:SafeSaxTest.TextElementCounter 173 long start = System.currentTimeMillis(); 176 long elapsed = System.currentTimeMillis() - start; 181 long start = System.currentTimeMillis(); 184 long elapsed = System.currentTimeMillis() - start; 190 long start = System.currentTimeMillis(); 192 long elapsed = System.currentTimeMillis() - start; 245 public void start(Attributes attributes) { 255 public void start(Attribute 339 public void start(Attributes attributes) { method in class:SafeSaxTest.HandlerFactory.VideoListener 450 characters(char text[], int start, int length) argument [all...] |
/frameworks/base/services/net/java/android/net/util/ |
H A D | IpUtils.java | 46 private static int checksum(ByteBuffer buf, int seed, int start, int end) { argument 52 buf.position(start); 58 final int numShorts = (end - start) / 2; 62 start += numShorts * 2; 65 if (end != start) { 66 short b = buf.get(start);
|
/frameworks/support/compat/tests/java/android/support/v4/testutils/ |
H A D | TextViewActions.java | 145 public static ViewAction setCompoundDrawablesRelative(final @Nullable Drawable start, argument 164 TextViewCompat.setCompoundDrawablesRelative(textView, start, top, end, bottom); 175 final @Nullable Drawable start, final @Nullable Drawable top, 194 textView, start, top, end, bottom); 205 final @DrawableRes int start, final @DrawableRes int top, final @DrawableRes int end, 224 textView, start, top, end, bottom); 174 setCompoundDrawablesRelativeWithIntrinsicBounds( final @Nullable Drawable start, final @Nullable Drawable top, final @Nullable Drawable end, final @Nullable Drawable bottom) argument 204 setCompoundDrawablesRelativeWithIntrinsicBounds( final @DrawableRes int start, final @DrawableRes int top, final @DrawableRes int end, final @DrawableRes int bottom) argument
|
/frameworks/base/libs/hwui/ |
H A D | UvMapper.h | 115 static float lerp(float start, float stop, float amount) { argument 116 return start + (stop - start) * amount;
|
/frameworks/av/include/media/ |
H A D | IAudioRecord.h | 38 /* After it's created the track is not active. Call start() to 41 virtual status_t start(int /*AudioSystem::sync_event_t*/ event,
|
/frameworks/av/media/libaudioclient/include/media/ |
H A D | IAudioRecord.h | 38 /* After it's created the track is not active. Call start() to 41 virtual status_t start(int /*AudioSystem::sync_event_t*/ event,
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | UDPPusher.h | 31 void start();
|
/frameworks/av/media/libstagefright/tests/ |
H A D | DummyRecorder.h | 37 status_t start();
|
/frameworks/av/media/mtp/ |
H A D | IMtpHandle.h | 35 virtual int start() = 0;
|
/frameworks/av/services/camera/libcameraservice/utils/ |
H A D | LatencyHistogram.h | 32 void add(nsecs_t start, nsecs_t end);
|
/frameworks/av/services/oboeservice/ |
H A D | AAudioThread.h | 52 aaudio_result_t start(Runnable *runnable = nullptr); 62 * Override this or pass a Runnable to start().
|
H A D | TimestampScheduler.h | 40 void start(int64_t startTime);
|
/frameworks/base/core/java/android/database/ |
H A D | MatrixCursor.java | 108 int start = rowCount++ * columnCount; 109 ensureCapacity(start + columnCount); 110 System.arraycopy(columnValues, 0, data, start, columnCount); 123 int start = rowCount * columnCount; 124 int end = start + columnCount; 128 addRow((ArrayList<?>) columnValues, start); 132 int current = start; 154 private void addRow(ArrayList<?> columnValues, int start) { argument 164 localData[start + i] = columnValues.get(i);
|
/frameworks/base/core/java/android/util/ |
H A D | MathUtils.java | 154 public static float lerp(float start, float stop, float amount) { argument 155 return start + (stop - start) * amount; 159 * Returns an interpolated angle in degrees between a set of start and end 163 * travel is determined by the shortest angle between the start and end 168 * @param start the starting angle in degrees 170 * @param amount the position between start and end in the range [0,1] 174 public static float lerpDeg(float start, float end, float amount) { argument 175 final float minAngle = (((end - start) + 180) % 360) - 180; 176 return minAngle * amount + start; 179 norm(float start, float stop, float value) argument [all...] |
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputConnectionWrapper.java | 141 public boolean setComposingRegion(int start, int end) { argument 142 return mTarget.setComposingRegion(start, end); 181 public boolean setSelection(int start, int end) { argument 182 return mTarget.setSelection(start, end);
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BackgroundThread.java | 37 sInstance.start();
|
H A D | TransferPipe.java | 144 mThread.start(); 223 int start = 0; 226 if (i > start) { 227 fos.write(buffer, start, i-start); 229 start = i; 242 if (size > start) { 243 fos.write(buffer, start, size-start);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | TextViewInputDisabler.java | 34 public CharSequence filter(CharSequence source, int start, int end, Spanned dest,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | DessertCaseDream.java | 44 mView.start();
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | AnimationThread.java | 39 sInstance.start();
|