/frameworks/av/services/audioflinger/tests/ |
H A D | resampler_tests.cpp | 149 double signalEnergy(T *start, T *end, unsigned stride) argument 153 for (T *p = start; p < end; p += stride) { 156 unsigned count = (end - start + stride - 1) / stride;
|
/frameworks/av/services/camera/libcameraservice/utils/ |
H A D | TagMonitor.cpp | 50 char* start = tagNames.lockBuffer(tagNames.size()); local 51 start[idx] = '\0'; 52 char* rest = (end != -1) ? (start + end) : (start + tagNames.size()); 53 tagNames = String8::format("%s%s%s", start, k3aTags, rest);
|
/frameworks/base/cmds/app_process/ |
H A D | app_main.cpp | 31 "Usage: app_process [java-options] cmd-dir start-class-name [options]\n"); 65 * The easiest fix is to call FindClass here, early on before we start 129 // the start of the argument block (argv[0]) with the new name of 130 // the process, so we'd mysteriously start getting truncated process 132 uintptr_t start = reinterpret_cast<uintptr_t>(argv[0]); local 135 return (end - start); 212 // --start-system-server : Start the system server. 251 } else if (strcmp(arg, "--start-system-server") == 0) { 280 args.add(String8("start-system-server")); 307 runtime.start("co [all...] |
/frameworks/base/core/java/android/animation/ |
H A D | Animator.java | 64 * Starts this animation. If the animation has a nonzero startDelay, the animation will start 76 public void start() { method in class:Animator 164 * after {@link #start()} is called. 172 * after {@link #start()} is called. 193 * Gets the total duration of the animation, accounting for animation sequences, start delay, 196 * @return Total time an animation takes to finish, starting from the time {@link #start()} 257 * animation, such as start, repeat, and end. 416 * and PropertyValuesHolder objects to get the start values for its properties. 428 * and PropertyValuesHolder objects to get the start values for its properties. 474 * <p>Notifies the start o [all...] |
H A D | ObjectAnimator.java | 48 * <p>Using Keyframes allows animations to follow more complex paths from the start 230 * value implies that that value is the one being animated to, in which case the start value 231 * will be derived from the property being animated and the target object when {@link #start()} 278 * value implies that that value is the one being animated to, in which case the start value 279 * will be derived from the property being animated and the target object when {@link #start()} 322 * At least two <code>int[]</code> values must be provided, a start and end. More than two 362 * <p>At least two values must be provided, a start and end. More than two 388 * value implies that that value is the one being animated to, in which case the start value 389 * will be derived from the property being animated and the target object when {@link #start()} 409 * value implies that that value is the one being animated to, in which case the start valu 841 public void start() { method in class:ObjectAnimator [all...] |
/frameworks/base/core/java/android/bluetooth/le/ |
H A D | ScanRecord.java | 290 private static byte[] extractBytes(byte[] scanRecord, int start, int length) { argument 292 System.arraycopy(scanRecord, start, bytes, 0, length);
|
/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/core/java/android/hardware/usb/ |
H A D | UsbDeviceConnection.java | 260 private static void checkBounds(byte[] buffer, int start, int length) { argument 262 if (start < 0 || start + length > bufferLength) { 263 throw new IllegalArgumentException("Buffer start or length out of bounds.");
|
/frameworks/base/core/java/android/printservice/ |
H A D | PrintJob.java | 119 * @see #start() 150 * @see #start() 216 public boolean start() { method in class:PrintJob 229 * printing. To resume the print job call {@link #start()}. To change the reason call
|
/frameworks/base/core/java/android/service/textservice/ |
H A D | SpellCheckerService.java | 157 * that share the same start position and length. 343 public SentenceWordItem(TextInfo ti, int start, int end) { argument 345 mStart = start; 346 mLength = end - start; 373 final int start = 0; 377 int wordEnd = wordIterator.following(start); 380 Log.d(TAG, "iterator: break: ---- 1st word start = " + wordStart + ", end = " 385 if (wordEnd >= start && wordEnd > wordStart) {
|
/frameworks/base/core/java/android/text/ |
H A D | BoringLayout.java | 256 for (int start = 0; start < textLength; start += MAX_BUF_LEN) { 257 final int end = Math.min(start + MAX_BUF_LEN, textLength); 261 TextUtils.getChars(text, start, end, buffer, 0); 263 final int len = end - start; 414 public void ellipsized(int start, int end) { argument 415 mEllipsizedStart = start; 416 mEllipsizedCount = end - start;
|
H A D | Selection.java | 24 * A cursor is a selection where the start and end are at the same offset. 64 * Set the selection anchor to <code>start</code> and the selection edge 67 public static void setSelection(Spannable text, int start, int stop) { argument 69 // start = pin(start, 0, len); XXX remove unless we really need it 75 if (ostart != start || oend != stop) { 76 text.setSpan(SELECTION_START, start, start, 120 * start, or return false if the cursor is already on the top line. 123 int start [all...] |
H A D | SpannableStringInternal.java | 29 int start, int end) { 30 if (start == 0 && end == source.length()) 33 mText = source.toString().substring(start, end); 41 copySpans((SpannableStringInternal) source, start, end); 43 copySpans((Spanned) source, start, end); 49 * Copies another {@link Spanned} object's spans between [start, end] into this object. 52 * @param start Start index in the source object. 55 private final void copySpans(Spanned src, int start, int end) { argument 56 Object[] spans = src.getSpans(start, end, Object.class); 63 if (st < start) 28 SpannableStringInternal(CharSequence source, int start, int end) argument 80 copySpans(SpannableStringInternal src, int start, int end) argument 125 isOutOfCopyRange(int start, int end, int spanStart, int spanEnd) argument 147 getChars(int start, int end, char[] dest, int off) argument 151 setSpan(Object what, int start, int end, int flags) argument 364 nextSpanTransition(int start, int limit, Class kind) argument 386 sendSpanAdded(Object what, int start, int end) argument 395 sendSpanRemoved(Object what, int start, int end) argument 414 region(int start, int end) argument 418 checkRange(final String operation, int start, int end) argument [all...] |
/frameworks/base/core/java/android/text/method/ |
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 | 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
|
/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/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/jar/ |
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/inputmethod/ |
H A D | InputConnection.java | 76 * should start by implementing 107 * before the start of the selection if there is one, and any method 170 * the cursor is really at the start of the text.</p> 448 * is relative to the start of the text. So a value of 1 will 468 * The order of start and end is not important. In effect, the 469 * region from start to end and the region from end to start is 470 * the same. Editor authors, be ready to accept a start that is 484 * @param start the position in the text at which the composing region begins 490 public boolean setComposingRegion(int start, in argument 630 setSelection(int start, int end) argument [all...] |
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/android/webkit/ |
H A D | FindActionModeCallback.java | 256 int start, 264 int start, 255 beforeTextChanged(CharSequence s, int start, int count, int after) argument 263 onTextChanged(CharSequence s, int start, int before, int count) argument
|
/frameworks/base/core/java/android/widget/ |
H A D | Chronometer.java | 37 * You can give it a start time in the {@link SystemClock#elapsedRealtime} timebase, 39 * time at which you call {@link #start}. 213 * make sure that each start() call has a reciprocal call to {@link #stop}. 215 public void start() { method in class:Chronometer 225 * be held as the chronometer is running, via {@link #start}. 233 * The same as calling {@link #start} or {@link #stop}.
|
H A D | SpellChecker.java | 194 private void addSpellCheckSpan(Editable editable, int start, int end) { argument 197 editable.setSpan(spellCheckSpan, start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); 216 public void spellCheck(int start, int end) { argument 218 Log.d(TAG, "Start spell-checking: " + start + ", " + end); 225 start = 0; 242 spellParser.parse(start, end); 257 spellParser.parse(start, end); 274 final int start = editable.getSpanStart(spellCheckSpan); 289 isEditing = !apostrophe && (selectionEnd <= start || selectionStart > end); 291 isEditing = !apostrophe && (selectionEnd < start || selectionStar 505 parse(int start, int end) argument 528 setRangeSpan(Editable editable, int start, int end) argument 753 haveWordBoundariesChanged(final Editable editable, final int start, final int end, final int spanStart, final int spanEnd) argument [all...] |
H A D | ViewAnimator.java | 230 public void removeViews(int start, int count) { argument 231 super.removeViews(start, count); 235 } else if (mWhichChild >= start && mWhichChild < start + count) { 241 public void removeViewsInLayout(int start, int count) { argument 242 removeViews(start, count);
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | LoggingPrintStream.java | 88 int start = 0; 92 while (start < length 93 && (nextBreak = builder.indexOf("\n", start)) != -1) { 94 log(builder.substring(start, nextBreak)); 95 start = nextBreak + 1; 100 if (start < length) { 101 log(builder.substring(start)); 106 builder.delete(0, start); 120 public synchronized void write(byte bytes[], int start, int count) { argument 129 int end = start 339 append( CharSequence csq, int start, int end) argument [all...] |