Home
last modified time | relevance | path

Searched refs:Span (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/tools/aapt2/compile/
DPseudolocaleGenerator_test.cpp28 original_style.spans = {Span{"i", 1, 10}, Span{"b", 2, 3}, Span{"b", 6, 7}}; in TEST()
49 original_style.spans.insert(original_style.spans.begin(), Span{"em", 0, 11u}); in TEST()
75 original_style.spans = {Span{"b", 0, 3}, Span{"i", 0, 3}}; in TEST()
97 original_style.spans = {Span{"i", 2, 3}, Span{"b", 0, 1}}; in TEST()
119 original_style.spans = {Span{"b", 16u, 19u}, Span{"em", 29u, 47u}, Span{"i", 38u, 40u}, in TEST()
120 Span{"b", 44u, 47u}}; in TEST()
158 original_style.spans = {Span{"em", 4u, 14u}, Span{"i", 18u, 33u}}; in TEST()
243 original_style.spans = {Span{"i", 1, 10}, Span{"b", 2, 3}, Span{"b", 6, 7}}; in TEST()
DPseudolocaleGenerator.cpp55 inline static UnifiedSpan SpanToUnifiedSpan(const StringPool::Span& span) { in SpanToUnifiedSpan()
210 localized.spans.push_back(Span{std::move(span.tag.value()), span.first_char, span.last_char}); in PseudolocalizeStyledString()
/frameworks/base/tools/aapt2/
DStringPool.h34 struct Span { struct
42 std::vector<Span> spans; argument
128 struct Span { struct
137 std::vector<Span> spans; argument
DStringPool.cpp130 for (const Span& span : entry_->spans) { in operator ==()
131 const Span& rhs_span = *rhs_iter; in operator ==()
200 for (const aapt::Span& span : str.spans) { in MakeRef()
202 Span{MakeRef(span.name), span.first_char, span.last_char}); in MakeRef()
220 for (const Span& span : ref.entry_->spans) { in MakeRef()
222 Span{MakeRef(*span.name), span.first_char, span.last_char}); in MakeRef()
DStringPool_test.cpp146 StyleString str{{"android"}, {Span{{"b"}, 2, 6}}}; in TEST()
154 const StringPool::Span& span = ref->spans.front(); in TEST()
218 StyleString{{"style"}, {Span{{"b"}, 0, 1}, Span{{"i"}, 2, 3}}}); in TEST()
DResourceParser.cpp199 Span{std::move(span_name), static_cast<uint32_t>(builder.Utf16Len())}); in FlattenXmlSubtree()
241 Span& top_span = out_style_string->spans[span_stack.back()]; in FlattenXmlSubtree()
DResourceUtils.cpp698 style_str.spans.push_back(Span{util::GetString(src_pool, spans->name.index), in ParseBinaryResValue()
DResourceValues.cpp257 for (const StringPool::Span& span : value->spans) { in Print()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DStaggeredGridLayoutManager.java112 Span[] mSpans;
400 private boolean checkSpanForGap(Span span) {
432 mSpans = new Span[mSpanCount];
434 mSpans[i] = new Span(i);
659 final Span span = mSpans[i];
790 if (line != Span.INVALID_LINE) {
1218 line = mSpans[i].getEndLine(Span.INVALID_LINE);
1219 if (line != Span.INVALID_LINE) {
1223 line = mSpans[i].getStartLine(Span.INVALID_LINE);
1224 if (line != Span.INVALID_LINE) {
[all …]
/frameworks/base/core/java/android/os/
DStrictMode.java2175 public static class Span { class in StrictMode
2178 private Span mNext;
2179 private Span mPrev; // not used when in freeList, only active
2182 Span(ThreadSpanState threadState) { in Span() method in StrictMode.Span
2187 protected Span() { in Span() method in StrictMode.Span
2241 private static final Span NO_OP_SPAN = new Span() {
2259 public Span mActiveHead; // doubly-linked list.
2261 public Span mFreeListHead; // singly-linked list. only changes at head.
2293 public static Span enterCriticalSpan(String name) { in enterCriticalSpan()
2301 Span span = null; in enterCriticalSpan()
[all …]
/frameworks/base/tools/aapt2/proto/
DTableProtoDeserializer.cpp193 Span{util::GetString(*value_pool_, spans->name.index), in DeserializeItemFromPb()
/frameworks/base/core/java/android/widget/
DScrollView.java161 private StrictMode.Span mScrollStrictSpan = null; // aka "drag"
162 private StrictMode.Span mFlingStrictSpan = null;
DAbsListView.java543 private StrictMode.Span mScrollStrictSpan = null;
544 private StrictMode.Span mFlingStrictSpan = null;
/frameworks/base/
Dpreloaded-classes1981 android.os.StrictMode$Span
Dcompiled-classes-phone3345 android.os.StrictMode$Span
/frameworks/base/services/
Dprofile-classes2175 Landroid/os/StrictMode$Span;