/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | InstallerTest.java | 57 public void start() { method in class:InstallerTest.Timer 119 mManual.start(); 124 mQuota.start(); 141 mManual.start(); 146 mQuota.start(); 159 mManual.start(); 163 mQuota.start();
|
/frameworks/base/tools/aapt2/link/ |
H A D | XmlCompatVersioner.cpp | 60 if (src_attr_version <= api_range.start) { 68 if (api_range.start >= SDK_LOLLIPOP_MR1) { 133 api_range.start = std::max(api_range.start, context->GetMinSdkVersion()); 134 api_range.start = std::max(api_range.start, static_cast<ApiVersion>(doc->file.config.sdkVersion)); 138 versioned_docs.push_back(ProcessDoc(api_range.start, api_range.end, doc, &apis_referenced)); 141 // makes a difference if the sdk version was below the minSdk to start).
|
/frameworks/av/cmds/screenrecord/ |
H A D | TextRenderer.cpp | 46 // Generate a table of X offsets. They start at zero and reset whenever 287 char* start = mangle; 288 while (start != NULL) { 289 float xposAdj = (start == mangle) ? xpos : xpos + indentWidth; 290 char* brk = breakString(start, 295 String8(start)); 296 start = NULL; 302 String8(start)); 304 start = brk; 307 start [all...] |
/frameworks/base/core/java/android/text/ |
H A D | BoringLayout.java | 296 for (int start = 0; start < textLength; start += MAX_BUF_LEN) { 297 final int end = Math.min(start + MAX_BUF_LEN, textLength); 301 TextUtils.getChars(text, start, end, buffer, 0); 303 final int len = end - start; 451 public void ellipsized(int start, int end) { argument 452 mEllipsizedStart = start; 453 mEllipsizedCount = end - start;
|
/frameworks/base/core/java/android/text/method/ |
H A D | DigitsKeyListener.java | 339 public CharSequence filter(CharSequence source, int start, int end, argument 341 CharSequence out = super.filter(source, start, end, dest, dstart, dend); 349 start = 0; 389 for (int i = end - 1; i >= start; i--) { 394 if (i != start || dstart != 0) { 410 if (end == start + 1) { 415 stripped = new SpannableStringBuilder(source, start, end); 418 stripped.delete(i - start, i + 1 - start);
|
H A D | QwertyKeyListener.java | 142 int start; 145 start = selEnd; 147 while (start > 0 && selEnd - start < 4 && 148 Character.digit(content.charAt(start - 1), 16) >= 0) { 149 start--; 152 start = selStart; 157 String hex = TextUtils.substring(content, start, selEnd); 162 selStart = start; 365 private String getReplacement(CharSequence src, int start, in argument 421 markAsReplaced(Spannable content, int start, int end, String original) argument [all...] |
H A D | BaseKeyListener.java | 100 final int start = ((Spanned) text).getSpanStart(spans[i]); 103 if (start < offset && end > offset) { 104 offset = moveToStart ? start : end; 110 // Returns the start offset to be deleted by a backspace key from the given offset. 302 return adjustReplacementSpan(text, offset - deleteCharCount, true /* move to the start */); 351 final int start = Selection.getSelectionEnd(content); 365 end = getOffsetForForwardDeleteKey(content, start, paint); 367 end = getOffsetForBackspaceKey(content, start); 369 if (start != end) { 370 content.delete(Math.min(start, en [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | MediaPlayerStateUnitTestTemplate.java | 147 }.start(); 212 mMediaPlayer.start(); 226 mMediaPlayer.start(); 238 mMediaPlayer.start(); 243 // player state to Paused; if we call start() right after pause() 244 // without waiting, start() may fail. 251 mMediaPlayer.start(); 263 mMediaPlayer.start(); 276 mMediaPlayer.start(); 290 mMediaPlayer.start(); [all...] |
/frameworks/support/compat/src/main/java/androidx/core/text/util/ |
H A D | FindAddress.java | 396 * @param houseNumberMatch A matching house number to start extending. 417 if (matcher.end() - matcher.start() > kMaxAddressNameWordLength) { 423 while (it < matcher.start()) { 501 int start = 0; 502 while (houseNumberMatcher.find(start)) { 504 start = houseNumberMatcher.start(); 507 return content.substring(start, end); 509 start = -end; 511 start [all...] |
/frameworks/base/apct-tests/perftests/core/src/android/database/ |
H A D | CursorWindowPerfTest.java | 99 int start = window.getStartPosition(); 106 cursor.moveToPosition(start); 112 cursor.moveToPosition(start);
|
/frameworks/base/cmds/statsd/src/metrics/ |
H A D | ValueMetricProducer.cpp | 189 uint64_t dimenPathToken = protoOutput->start( 195 uint64_t dimenPathToken = protoOutput->start( 202 uint64_t protoToken = protoOutput->start(FIELD_TYPE_MESSAGE | FIELD_ID_VALUE_METRICS); 206 protoOutput->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | FIELD_ID_SKIPPED); 219 protoOutput->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | FIELD_ID_DATA); 223 uint64_t dimensionToken = protoOutput->start( 228 uint64_t dimensionInConditionToken = protoOutput->start( 246 uint64_t bucketInfoToken = protoOutput->start( 389 interval.start = value; 392 // skip it if there is already value recorded for the start [all...] |
/frameworks/base/core/java/android/transition/ |
H A D | Recolor.java | 91 int start = (Integer) startValues.values.get(PROPNAME_TEXT_COLOR); 93 if (start != end) { 96 return ObjectAnimator.ofArgb(textView, "textColor", start, end);
|
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | DockedDividerUtils.java | 101 int start = isHorizontalDivision ? insets.top : insets.left; 105 return start + (end - start) / 2 - dividerSize / 2;
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
H A D | PatternScanner.java | 59 result = mInput.substring(matcher.start(), matcher.end()); 115 public void updateLineCount(int start, int end) { argument 116 for (int i = start; i < end; ++i) {
|
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/ |
H A D | LockFindingClassVisitor.java | 199 LabelNode start = new LabelNode(); 200 instructions.insert(node, start); 203 updateCatchHandler(mn, handlers, start, end, handlersMap); 221 LabelNode start = new LabelNode(); 222 instructions.insert(node, start); 226 updateCatchHandler(mn, handlers, start, end, handlersMap); 231 LabelNode start, LabelNode end, List<List<TryCatchBlockNode>> handlersMap) { 239 if (!(instructions.indexOf(handler.start) <= instructions.indexOf(start) 242 new TryCatchBlockNode(start, en 230 updateCatchHandler(MethodNode mn, List<TryCatchBlockNode> handlers, LabelNode start, LabelNode end, List<List<TryCatchBlockNode>> handlersMap) argument [all...] |
/frameworks/minikin/libs/minikin/ |
H A D | WordBreaker.h | 115 const uint32_t start = wordStart(); local 117 return start < end ? Range(start, end) : Range(end, end);
|
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
H A D | serializable.h | 109 const void*& start, const void* end) { 114 DeserializeArrayType(&encoding, &size, reader, start, end)) { 119 return DeserializeMembers<SerializableMembers>(value, reader, start, end); 108 DeserializeObject(T* value, MessageReader* reader, const void*& start, const void* end) argument
|
/frameworks/support/dynamic-animation/src/main/java/androidx/dynamicanimation/animation/ |
H A D | SpringAnimation.java | 37 * // default spring to 0, and start the animation with a starting velocity of 5000 (pixel/s). 40 * anim.start(); 50 * // Create an animation to animate view's scaleY property, and start the animation using 55 * anim.start(); 133 public void start() { method in class:SpringAnimation 136 super.start(); 147 * immediately start the animation. 159 start();
|
/frameworks/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/ |
H A D | GestureSelectionHelperTest.java | 82 mHelper.start(); 100 mHelper.start(); 114 mHelper.start();
|
/frameworks/base/services/tests/servicestests/src/com/android/server/timezone/ |
H A D | PackageTrackerTest.java | 108 assertFalse(mPackageTracker.start()); 123 assertFalse(mPackageTracker.start()); 145 assertFalse(mPackageTracker.start()); 170 assertFalse(mPackageTracker.start()); 195 mPackageTracker.start(); 215 mPackageTracker.start(); 235 mPackageTracker.start(); 255 mPackageTracker.start(); 285 assertFalse(mPackageTracker.start()); 302 assertTrue(mPackageTracker.start()); [all...] |
/frameworks/support/compat/src/main/java/androidx/core/widget/ |
H A D | TextViewCompat.java | 117 * Sets the Drawables (if any) to appear to the start of, above, to the end 132 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, 135 textView.setCompoundDrawablesRelative(start, top, end, bottom); 138 textView.setCompoundDrawables(rtl ? end : start, top, rtl ? start : end, bottom); 140 textView.setCompoundDrawables(start, top, end, bottom); 145 * Sets the Drawables (if any) to appear to the start of, above, to the end 159 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, 162 textView.setCompoundDrawablesRelativeWithIntrinsicBounds(start, top, end, bottom); 165 textView.setCompoundDrawablesWithIntrinsicBounds(rtl ? end : start, to 131 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument 158 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument 190 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @DrawableRes int start, @DrawableRes int top, @DrawableRes int end, @DrawableRes int bottom) argument [all...] |
/frameworks/av/cmds/stagefright/ |
H A D | audioloop.cpp | 141 looper->start(); 154 writer->start(); 164 player.start(); 171 CHECK_EQ(decoder->start(), (status_t)OK);
|
/frameworks/av/include/media/ |
H A D | MediaSource.h | 39 virtual status_t start(MetaData *params = NULL) = 0; 42 // It is an error to call any methods other than start after this call 77 // must be in the same time base as the startTime passed in start(). If 83 // source will start to drop buffer when it gets a buffer with timestamp larger
|
H A D | MmapStreamInterface.h | 107 * createMmapBuffer() must be called before calling start() 115 virtual status_t start(const AudioClient& client, audio_port_handle_t *handle) = 0; 119 * Must be called after start() 121 * \param[in] handle unique handle allocated by start().
|
/frameworks/av/include/media/stagefright/ |
H A D | AMRWriter.h | 35 virtual status_t start(MetaData *params = NULL);
|