/frameworks/base/tools/aapt2/compile/ |
H A D | PseudolocaleGenerator_test.cpp | 28 original_style.spans = {Span{"i", 1, 10}, Span{"b", 2, 3}, Span{"b", 6, 7}}; 49 original_style.spans.insert(original_style.spans.begin(), Span{"em", 0, 11u}); 75 original_style.spans = {Span{"b", 0, 3}, Span{"i", 0, 3}}; 97 original_style.spans = {Span{"i", 2, 3}, Span{"b", 0, 1}}; 119 original_style.spans = {Span{"b", 16u, 19u}, Span{"e [all...] |
H A D | PseudolocaleGenerator.cpp | 32 // The struct that represents both Span objects and UntranslatableSections. 34 // Only present for Span objects. If not present, this was an UntranslatableSection. 55 inline static UnifiedSpan SpanToUnifiedSpan(const StringPool::Span& span) { 64 // Merges the Span and UntranslatableSections of this StyledString into a single vector of 121 // All Span indices are UTF-16 based, according to the resources.arsc format expected by the 131 // The stack that keeps track of what nested Span we're in. 210 localized.spans.push_back(Span{std::move(span.tag.value()), span.first_char, span.last_char});
|
/frameworks/base/tools/aapt2/ |
H A D | StringPool.h | 35 struct Span { struct in namespace:aapt 43 std::vector<Span> spans; 136 struct Span { struct in class:aapt::StringPool 146 std::vector<Span> spans;
|
H A D | StringPool.cpp | 134 for (const Span& span : entry_->spans) { 135 const Span& rhs_span = *rhs_iter; 213 for (const aapt::Span& span : str.spans) { 214 entry->spans.emplace_back(Span{MakeRef(span.name), span.first_char, span.last_char}); 228 for (const Span& span : ref.entry_->spans) { 229 entry->spans.emplace_back(Span{MakeRef(*span.name), span.first_char, span.last_char}); 477 for (const Span& s : entry->spans) {
|
H A D | Resources.proto | 275 // A Span marks a region of the string text that is styled. 276 message Span { 288 repeated Span span = 2;
|
H A D | StringPool_test.cpp | 163 StringPool::StyleRef ref = pool.MakeRef(StyleString{{"android"}, {Span{{"b"}, 2, 6}}}); 168 const StringPool::Span& span = ref->spans.front(); 251 pool.MakeRef(StyleString{{"style"}, {Span{{"b"}, 0, 1}, Span{{"i"}, 2, 3}}});
|
H A D | ResourceUtils.h | 232 std::vector<Span> spans; 250 // When a Span is started or stopped, the whitespace counter is reset, meaning if whitespace 273 // Starts a Span (tag) with the given name. The name is expected to be of the form: 279 // Ends a Span (tag). Pass in the matching SpanHandle previously obtained from StartSpan().
|
H A D | ResourceUtils.cpp | 707 style_str.spans.push_back(Span{util::GetString(src_pool, spans->name.index), 892 Span span;
|
H A D | ResourceValues.cpp | 334 for (const StringPool::Span& span : value->spans) {
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
H A D | StaggeredGridLayoutManager.java | 109 Span[] mSpans; 402 private boolean checkSpanForGap(Span span) { 434 mSpans = new Span[mSpanCount]; 436 mSpans[i] = new Span(i); 660 final Span span = mSpans[i]; 791 if (line != Span.INVALID_LINE) { 1257 line = mSpans[i].getEndLine(Span.INVALID_LINE); 1258 if (line != Span.INVALID_LINE) { 1262 line = mSpans[i].getStartLine(Span.INVALID_LINE); 1263 if (line != Span 2508 class Span { class in class:StaggeredGridLayoutManager 2517 Span(int index) { method in class:StaggeredGridLayoutManager.Span [all...] |
/frameworks/base/core/java/android/os/ |
H A D | StrictMode.java | 182 // How many Span tags (e.g. animations) to report. 2164 public static class Span { class in class:StrictMode 2167 private Span mNext; 2168 private Span mPrev; // not used when in freeList, only active 2171 Span(ThreadSpanState threadState) { method in class:StrictMode.Span 2176 protected Span() { method in class:StrictMode.Span 2209 if (LOG_V) Log.d(TAG, "Span finished=" + mName + "; size=" + state.mActiveSize); 2228 private static final Span NO_OP_SPAN = 2229 new Span() { 2239 * structure (as well as the Span node [all...] |
/frameworks/base/tools/aapt2/format/proto/ |
H A D | ProtoSerialize.cpp | 417 for (const StringPool::Span& span : str->value->spans) { 418 pb::StyledString::Span* pb_span = pb_str->add_span();
|
H A D | ProtoSerialize_test.cpp | 69 style_string.spans.push_back(Span{"b", 0u, 4u});
|
H A D | ProtoDeserialize.cpp | 853 for (const pb::StyledString::Span& pb_span : pb_str.span()) { 854 style_str.spans.push_back(Span{pb_span.tag(), pb_span.first_char(), pb_span.last_char()});
|
/frameworks/base/core/java/android/widget/ |
H A D | ScrollView.java | 161 private StrictMode.Span mScrollStrictSpan = null; // aka "drag" 162 private StrictMode.Span mFlingStrictSpan = null;
|
H A D | AbsListView.java | 544 private StrictMode.Span mScrollStrictSpan = null; 545 private StrictMode.Span mFlingStrictSpan = null;
|
/frameworks/base/config/ |
H A D | preloaded-classes | 2576 android.os.StrictMode$Span
|
H A D | boot-image-profile.txt | [all...] |