Searched defs:start (Results 126 - 150 of 627) sorted by path

1234567891011>>

/frameworks/base/core/java/android/hardware/usb/
H A DUsbDeviceConnection.java245 private static void checkBounds(byte[] buffer, int start, int length) { argument
247 if (start < 0 || start + length > bufferLength) {
248 throw new IllegalArgumentException("Buffer start or length out of bounds.");
/frameworks/base/core/java/android/inputmethodservice/
H A DExtractEditText.java185 protected void deleteText_internal(int start, int end) { argument
188 mIME.onExtractedDeleteText(start, end);
196 protected void replaceText_internal(int start, int end, CharSequence text) { argument
199 mIME.onExtractedReplaceText(start, end, text);
207 protected void setSpan_internal(Object span, int start, int end, int flags) { argument
210 mIME.onExtractedSetSpan(span, start, end, flags);
218 protected void setCursorPosition_internal(int start, int end) { argument
221 mIME.onExtractedSelectionChanged(start, end);
H A DInputMethodService.java684 // The observer is properly constructed. Let's start accepting the event.
1332 * @param id Unique identifier of the new input method ot start.
2275 public void onExtractedSelectionChanged(int start, int end) { argument
2278 conn.setSelection(start, end);
2285 public void onExtractedDeleteText(int start, int end) { argument
2289 conn.setSelection(start, start);
2290 conn.deleteSurroundingText(0, end - start);
2297 public void onExtractedReplaceText(int start, int end, CharSequence text) { argument
2300 conn.setComposingRegion(start, en
2308 onExtractedSetSpan(Object span, int start, int end, int flags) argument
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkStatsHistory.java287 public void recordData(long start, long end, long rxBytes, long txBytes) { argument
288 recordData(start, end, new NetworkStats.Entry(
296 public void recordData(long start, long end, NetworkStats.Entry entry) { argument
311 ensureBuckets(start, end);
314 long duration = end - start;
321 if (curEnd < start) break;
325 final long overlap = Math.min(curEnd, end) - Math.max(curStart, start);
361 public void recordHistory(NetworkStatsHistory input, long start, long end) { argument
369 if (bucketStart < start || bucketEnd > end) continue;
384 private void ensureBuckets(long start, lon argument
402 insertBucket(int index, long start) argument
473 getValues(long start, long end, Entry recycle) argument
481 getValues(long start, long end, long now, Entry recycle) argument
529 generateRandom(long start, long end, long bytes) argument
547 generateRandom(long start, long end, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations, Random r) argument
574 randomLong(Random r, long start, long end) argument
581 intersects(long start, long end) argument
[all...]
H A DRssiCurve.java39 * {@link #rssiBuckets} to a one-byte array whose element is the fixed score. {@link #start}
41 * {@link #bucketWidth} should be set such that {@code start + bucketWidth} is equal to the
58 public final int start; field in class:RssiCurve
78 * @param start the starting dBm of the curve.
82 public RssiCurve(int start, int bucketWidth, byte[] rssiBuckets) { argument
83 this(start, bucketWidth, rssiBuckets, DEFAULT_ACTIVE_NETWORK_RSSI_BOOST);
89 * @param start the starting dBm of the curve.
94 public RssiCurve(int start, int bucketWidth, byte[] rssiBuckets, int activeNetworkRssiBoost) { argument
95 this.start = start;
[all...]
H A DUidRange.java32 public final int start; field in class:UidRange
36 if (startUid < 0) throw new IllegalArgumentException("Invalid start UID.");
39 start = startUid;
48 return start / PER_USER_RANGE;
52 return start <= uid && uid <= stop;
59 return start <= other.start && other.stop <= stop;
65 result = 31 * result + start;
77 return start == other.start
[all...]
/frameworks/base/core/java/android/os/
H A DCountDownTimer.java35 * }.start();
65 * to {@link #start()} until the countdown is done and {@link #onFinish()}
86 public synchronized final CountDownTimer start() { method in class:CountDownTimer
H A DDebug.java56 * a call stack and start/stop times for any running methods. See <a
58 * information about reading trace files. To start logging trace files, call one
764 * waitForDebugger() call if you want to start tracing immediately.
793 * allow the debugger a chance to set breakpoints before we start
862 * will start running the emulator and create a trace file named "foo". This
901 * Stop qemu tracing. See {@link #startNativeTracing()} to start tracing.
1173 * <p>The {@link #startAllocCounting() start} method resets the counts and enables counting.
1181 * are not cleared by the "reset" or "start" calls.</p>
1202 * {@link #startAllocCounting() start} and {@link #stopAllocCounting() stop}.
1224 * {@link #startAllocCounting() start} an
2272 getCallers(final int start, int depth) argument
[all...]
H A DProcess.java159 * Defines the start of a range of UIDs (and GIDs), going from this
481 * <var>processClass</var> to start them.
497 * @return An object that describes the result of the attempt to start the process.
498 * @throws RuntimeException on fatal start failure
502 public static final ProcessStartResult start(final String processClass, method in class:Process
556 * @throws ZygoteStartFailedEx if process start failed for any reason
621 * @return An object that describes the result of the attempt to start the process.
622 * @throws ZygoteStartFailedEx if process start failed for any reason
1223 * Always >= 0. (If the start failed, an exception will have been thrown instead.)
H A DSystemService.java60 /** Request that the init daemon start a named service. */
61 public static void start(String name) { method in class:SystemService
62 SystemProperties.set("ctl.start", name);
/frameworks/base/core/java/android/preference/
H A DSeekBarVolumizer.java223 // remove pending delayed start messages
248 public void start() { method in class:SeekBarVolumizer
251 thread.start();
/frameworks/base/core/java/android/print/
H A DPageRange.java25 * Represents a range of pages. The start and end page indices of
44 * @param start The start page index (zero based and inclusive).
47 * @throws IllegalArgumentException If start is less than zero or end
48 * is less than zero or start greater than end.
50 public PageRange(@IntRange(from = 0) int start, @IntRange(from = 0) int end) { argument
51 if (start < 0) {
52 throw new IllegalArgumentException("start cannot be less than zero.");
57 if (start > end) {
58 throw new IllegalArgumentException("start mus
[all...]
H A DPrintManager.java548 Log.e(LOG_TAG, "Couldn't start print job config activity.", sie);
784 throw new IllegalStateException("Cannot start printing for finishing activity");
811 public void start() { method in class:PrintManager.PrintDocumentAdapterDelegate
830 Log.e(LOG_TAG, "Error notifying for layout start", re);
864 Log.e(LOG_TAG, "Error notifying for write start", re);
/frameworks/base/core/java/android/printservice/
H A DPrintJob.java119 * @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/provider/
H A DCallLog.java487 * @param start time stamp for the call in milliseconds
497 long start, int duration, Long dataUsage) {
499 presentation, callType, features, accountHandle, start, duration,
520 * @param start time stamp for the call in milliseconds
535 int features, PhoneAccountHandle accountHandle, long start, int duration,
538 features, accountHandle, start, duration, dataUsage, addForAllUsers,
559 * @param start time stamp for the call in milliseconds
578 int features, PhoneAccountHandle accountHandle, long start, int duration,
640 values.put(DATE, Long.valueOf(start));
717 - When other users (real) providers start, unles
495 addCall(CallerInfo ci, Context context, String number, int presentation, int callType, int features, PhoneAccountHandle accountHandle, long start, int duration, Long dataUsage) argument
533 addCall(CallerInfo ci, Context context, String number, String postDialDigits, String viaNumber, int presentation, int callType, int features, PhoneAccountHandle accountHandle, long start, int duration, Long dataUsage, boolean addForAllUsers, UserHandle userToBeInsertedTo) argument
576 addCall(CallerInfo ci, Context context, String number, String postDialDigits, String viaNumber, int presentation, int callType, int features, PhoneAccountHandle accountHandle, long start, int duration, Long dataUsage, boolean addForAllUsers, UserHandle userToBeInsertedTo, boolean is_read) argument
[all...]
/frameworks/base/core/java/android/service/textservice/
H A DSpellCheckerService.java157 * 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/speech/tts/
H A DAudioPlaybackHandler.java37 public void start() { method in class:AudioPlaybackHandler
38 mHandlerThread.start();
H A DFileSynthesisCallback.java102 public int start(int sampleRateInHz, int audioFormat, int channelCount) { method in class:FileSynthesisCallback
104 Log.d(TAG, "FileSynthesisRequest.start(" + sampleRateInHz + "," + audioFormat
233 // Write WAV header at start of file
H A DPlaybackSynthesisCallback.java43 // A request "token", which will be non null after start() has been called.
93 // This happens when stop() or error() were called before start() was.
125 public int start(int sampleRateInHz, int audioFormat, int channelCount) { method in class:PlaybackSynthesisCallback
126 if (DBG) Log.d(TAG, "start(" + sampleRateInHz + "," + audioFormat + "," + channelCount
146 if (DBG) Log.d(TAG, "stop() called before start(), returning.");
233 // .done() was called before .start. Treat it as successful synthesis
235 Log.w(TAG, "done() was called before start() call");
H A DSynthesisCallback.java30 * {@link #start}, then {@link #audioAvailable} until all audio has been provided, then finally
74 public int start(int sampleRateInHz, @SupportedAudioFormat int audioFormat, method in interface:SynthesisCallback
100 * This method has to be called if {@link #start} and/or {@link #error} was called.
128 * Check if {@link #start} was called or not.
/frameworks/base/core/java/android/text/
H A DAlteredCharSequence.java66 public <T> T[] getSpans(int start, int end, Class<T> kind) { argument
67 return mSpanned.getSpans(start, end, kind);
82 public int nextSpanTransition(int start, int end, Class kind) { argument
83 return mSpanned.nextSpanTransition(start, end, kind);
100 public CharSequence subSequence(int start, int end) { argument
101 return AlteredCharSequence.make(mSource.subSequence(start, end),
102 mChars, mStart - start, mEnd - start);
105 public void getChars(int start, int end, char[] dest, int off) { argument
106 TextUtils.getChars(mSource, start, en
[all...]
H A DAndroidCharacter.java57 * starting at <code>start</code>. East Asian Width is calculated based on
65 * @param start first character in array to measure
69 public native static void getEastAsianWidths(char[] src, int start, argument
78 * @param start first character in array to mirror
82 public native static boolean mirror(char[] text, int start, int count); argument
H A DAutoText.java109 public static String get(CharSequence src, final int start, final int end, argument
111 return getInstance(view).lookup(src, start, end);
132 private String lookup(CharSequence src, final int start, final int end) { argument
135 for (int i = start; i < end; i++) {
H A DBoringLayout.java256 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 DDynamicLayout.java149 int[] start;
152 start = new int[COLUMNS_ELLIPSIZE];
153 start[ELLIPSIS_START] = ELLIPSIS_UNDEFINED;
155 start = new int[COLUMNS_NORMAL];
164 start[DIR] = DIR_LEFT_TO_RIGHT << DIR_SHIFT;
165 start[TOP] = 0;
166 start[DESCENT] = desc;
167 mInts.insertAt(0, start);
169 start[TOP] = desc - asc;
170 mInts.insertAt(1, start);
679 onSpanAdded(Spannable s, Object o, int start, int end) argument
684 onSpanRemoved(Spannable s, Object o, int start, int end) argument
689 onSpanChanged(Spannable s, Object o, int start, int end, int nstart, int nend) argument
[all...]

Completed in 249 milliseconds

1234567891011>>