/frameworks/base/services/net/java/android/net/util/ |
H A D | Stopwatch.java | 43 // Stopwatch s = new Stopwatch().start(); 44 public Stopwatch start() { method in class:Stopwatch
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/ |
H A D | Charsets.java | 98 * char ch = (char) (data[start++] & 0xff); 107 int start = offset; 109 char ch = (char) (bytes[start++] & 0xff); 118 * value[i] = (char) (data[start++] & 0xff); 125 int start = offset; 127 chars[i] = (char) (bytes[start++] & 0xff);
|
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/ |
H A D | ObservableArrayList.java | 116 private void notifyAdd(int start, int count) { argument 118 mListeners.notifyInserted(this, start, count); 122 private void notifyRemove(int start, int count) { argument 124 mListeners.notifyRemoved(this, start, count);
|
/frameworks/rs/driver/ |
H A D | rsdMesh.h | 27 uint32_t primIndex, uint32_t start, uint32_t len);
|
/frameworks/rs/tests/lldb/tests/harness/ |
H A D | util_lldb.py | 34 def start(): member in class:UtilLLDB
|
/frameworks/av/media/libstagefright/codecs/hevcdec/ |
H A D | SoftHEVC.h | 47 /** Compute difference between start and end */ 48 #define TIME_DIFF(start, end, diff) \ 49 diff = (((end).tv_sec - (start).tv_sec) * 1000000) + \ 50 ((end).tv_usec - (start).tv_usec); 75 struct timeval mTimeStart; // Time at the start of decode()
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | AStringUtils.cpp | 46 size_t start = globIx; local 50 size_t len = globIx - start; 51 const char *pattern = glob + start;
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | UtteranceProgressListener.java | 88 * application wishes to know when the audio is about to start playing, {#onStart(String)} 128 * <p>This method is called when the audio is expected to start playing on the speaker. Note 139 * @param start The start index of the range in the utterance text. 143 public void onRangeStart(String utteranceId, int start, int end, int frame) { argument 144 onUtteranceRangeStart(utteranceId, start, end); 149 public void onUtteranceRangeStart(String utteranceId, int start, int end) { argument
|
H A D | SynthesisPlaybackQueueItem.java | 190 // The start index in the text of the utterance. 191 public final int start; field in class:SynthesisPlaybackQueueItem.ProgressMarker 195 public ProgressMarker(int frames, int start, int end) { argument 197 this.start = start; 213 /** Informs us that at markerInFrames, the range between start and end is about to be spoken. */ 214 void rangeStart(int markerInFrames, int start, int end) { argument 215 markerList.add(new ProgressMarker(markerInFrames, start, end)); 227 getDispatcher().dispatchOnRangeStart(marker.start, marker.end, marker.frames);
|
/frameworks/base/libs/hwui/ |
H A D | FrameInfoVisualizer.h | 58 void nextBarSegment(FrameInfoIndex start, FrameInfoIndex end); 62 inline float durationMS(size_t index, FrameInfoIndex start, FrameInfoIndex end) { argument 63 float duration = mFrameSource[index].duration(start, end) * 0.000001f;
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | StopWatchMap.java | 43 public void start() { method in class:StopWatch 46 "Calling start with StopWatch already running"); 80 public void start(String stopWatchName) { method in class:StopWatchMap 87 mStopWatches.get(stopWatchName).start();
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
H A D | RestrictedLockImageSpan.java | 49 public void draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, argument 64 public int getSize(Paint paint, CharSequence text, int start, int end, argument 66 int size = super.getSize(paint, text, start, end, fontMetrics);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
H A D | GarbageMonitor.java | 47 public void start() { method in class:GarbageMonitor 91 public void start() { method in class:GarbageMonitor.Service 96 mGarbageMonitor.start();
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
H A D | SlowNestedRecyclerViewActivity.java | 79 final long start = System.nanoTime(); 85 final long start = System.nanoTime(); 87 while (System.nanoTime() - start < INNER_ITEM_ATTACH_NS); 103 while (System.nanoTime() - start < INNER_ITEM_CREATE_NS); 109 final long start = System.nanoTime(); 110 while (System.nanoTime() - start < INNER_ITEM_BIND_NS); 138 final long start = System.nanoTime(); 143 final long start = System.nanoTime(); 145 while (System.nanoTime() - start < OUTER_ITEM_ATTACH_NS); 157 while (System.nanoTime() - start < OUTER_ITEM_CREATE_N [all...] |
/frameworks/support/design/base/android/support/design/widget/ |
H A D | StateListAnimator.java | 79 start(match); 83 private void start(Tuple match) { method in class:StateListAnimator 85 mRunningAnimator.start();
|
/frameworks/minikin/libs/minikin/ |
H A D | CmapCoverage.cpp | 52 static void addRange(vector<uint32_t> &coverage, uint32_t start, uint32_t end) { argument 54 ALOGD("adding range %d-%d\n", start, end); 56 if (coverage.empty() || coverage.back() < start) { 57 coverage.push_back(start); 65 uint32_t start; // inclusive member in struct:minikin::Range 73 return start != U32MAX && end != U32MAX; 79 left.start < right.end && right.start < left.end; 85 return Range({ std::min(left.start, right.start), st 172 uint32_t start = readU16(data, kHeaderSize + 2 * (segCount + i)); local 227 uint32_t start = readU32(data, groupOffset + kStartCharCodeOffset); local [all...] |
H A D | Layout.cpp | 71 FontStyle style, const uint16_t* chars, size_t start, size_t count, size_t nchars, 74 mStart(start), mCount(count), mId(collection->getId()), mStyle(style), 416 Iter(UBiDi* bidi, size_t start, size_t end, size_t runIndex, size_t runCount, bool isRtl); 444 BidiText(const uint16_t* buf, size_t start, size_t count, size_t bufSize, int bidiFlags); 472 BidiText::Iter::Iter(UBiDi* bidi, size_t start, size_t end, size_t runIndex, size_t runCount, argument 475 mStart(start), mEnd(end), mRunInfo() { 477 mRunInfo.mRunStart = start; 478 mRunInfo.mRunLength = end - start; 513 BidiText::BidiText(const uint16_t* buf, size_t start, size_t count, size_t bufSize, int bidiFlags) argument 514 : mStart(start), mEn 70 LayoutCacheKey(const std::shared_ptr<FontCollection>& collection, const MinikinPaint& paint, FontStyle style, const uint16_t* chars, size_t start, size_t count, size_t nchars, bool dir) argument 556 doLayout(const uint16_t* buf, size_t start, size_t count, size_t bufSize, int bidiFlags, const FontStyle &style, const MinikinPaint &paint, const std::shared_ptr<FontCollection>& collection) argument 575 measureText(const uint16_t* buf, size_t start, size_t count, size_t bufSize, int bidiFlags, const FontStyle &style, const MinikinPaint &paint, const std::shared_ptr<FontCollection>& collection, float* advances) argument 595 doLayoutRunCached(const uint16_t* buf, size_t start, size_t count, size_t bufSize, bool isRtl, LayoutContext* ctx, size_t dstStart, const std::shared_ptr<FontCollection>& collection, Layout* layout, float* advances) argument 648 doLayoutWord(const uint16_t* buf, size_t start, size_t count, size_t bufSize, bool isRtl, LayoutContext* ctx, size_t bufStart, const std::shared_ptr<FontCollection>& collection, Layout* layout, float* advances) argument 691 const char* start = str.c_str(); local 746 addToHbBuffer(hb_buffer_t* buffer, const uint16_t* buf, size_t start, size_t count, size_t bufSize, ssize_t scriptRunStart, ssize_t scriptRunEnd, HyphenEdit hyphenEdit, hb_font_t* hbFont) argument 846 doLayoutRun(const uint16_t* buf, size_t start, size_t count, size_t bufSize, bool isRtl, LayoutContext* ctx, const std::shared_ptr<FontCollection>& collection) argument 1026 appendLayout(Layout* src, size_t start, float extraAdvance) argument [all...] |
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/ |
H A D | GarbageMonitorTest.java | 55 mGarbageMonitor.start(); 65 mGarbageMonitor.start(); 77 mGarbageMonitor.start(); 89 mGarbageMonitor.start(); 103 mGarbageMonitor.start();
|
/frameworks/minikin/include/minikin/ |
H A D | Layout.h | 74 void doLayout(const uint16_t* buf, size_t start, size_t count, size_t bufSize, 78 static float measureText(const uint16_t* buf, size_t start, size_t count, size_t bufSize, 96 // The i parameter is an offset within the buf relative to start, it is < count, where 97 // start and count are the parameters to doLayout 122 static float doLayoutWord(const uint16_t* buf, size_t start, size_t count, size_t bufSize, 127 void doLayoutRun(const uint16_t* buf, size_t start, size_t count, size_t bufSize, 131 void appendLayout(Layout* src, size_t start, float extraAdvance);
|
/frameworks/support/emoji/core/src/android/support/text/emoji/widget/ |
H A D | EmojiInputFilter.java | 121 static void updateSelection(Spannable spannable, final int start, final int end) { argument 122 if (start >= 0 && end >= 0) { 123 Selection.setSelection(spannable, start, end); 124 } else if (start >= 0) { 125 Selection.setSelection(spannable, start);
|
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/ |
H A D | MetadataRepoTest.java | 100 final EmojiMetadata getNode(Node node, final int[] codepoints, int start) { argument 101 if (codepoints.length < start) return null; 102 if (codepoints.length == start) return node.getData(); 104 final Node childNode = node.get(codepoints[start]); 106 return getNode(childNode, codepoints, start + 1);
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkStatsHistory.java | 290 public void recordData(long start, long end, long rxBytes, long txBytes) { argument 291 recordData(start, end, new NetworkStats.Entry( 299 public void recordData(long start, long end, NetworkStats.Entry entry) { argument 314 ensureBuckets(start, end); 317 long duration = end - start; 324 if (curEnd < start) break; 328 final long overlap = Math.min(curEnd, end) - Math.max(curStart, start); 364 public void recordHistory(NetworkStatsHistory input, long start, long end) { argument 372 if (bucketStart < start || bucketEnd > end) continue; 387 private void ensureBuckets(long start, lon argument 405 insertBucket(int index, long start) argument 476 getValues(long start, long end, Entry recycle) argument 484 getValues(long start, long end, long now, Entry recycle) argument 532 generateRandom(long start, long end, long bytes) argument 550 generateRandom(long start, long end, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations, Random r) argument 577 randomLong(Random r, long start, long end) argument 584 intersects(long start, long 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...] |
/frameworks/base/core/java/android/widget/ |
H A D | AlphabetIndexer.java | 165 int start = 0; 181 // Not approximate, this is the confirmed start of section, return it 192 start = Math.abs(prevLetterPos); 196 // Now that we have a possibly optimized start and end, let's binary search 198 pos = (end + start) / 2; 226 start = pos + 1; 227 if (start >= count) { 235 // They're the same, but that doesn't mean it's the start 236 if (start == pos) { 244 pos = (start [all...] |
/frameworks/base/libs/hwui/hwui/ |
H A D | Canvas.cpp | 97 void operator()(size_t start, size_t end) { argument 99 for (size_t i = start; i < end; i++) { 105 for (size_t i = start; i < end; i++) { 112 size_t glyphCount = end - start; 124 canvas->drawGlyphs(glyphs + start, pos + (2 * start), glyphCount, outlinePaint, x, y, 131 canvas->drawGlyphs(glyphs + start, pos + (2 * start), glyphCount, innerPaint, x, y, 135 canvas->drawGlyphs(glyphs + start, pos + (2 * start), glyphCoun 151 drawText(const uint16_t* text, int start, int count, int contextCount, float x, float y, int bidiFlags, const Paint& origPaint, Typeface* typeface) argument 193 operator ()(size_t start, size_t end) argument [all...] |