Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/compile/
DPseudolocaleGenerator_test.cpp30 original_style.spans = {Span{"i", 1, 10}, Span{"b", 2, 3}, Span{"b", 6, 7}}; in TEST()
51 original_style.spans.insert(original_style.spans.begin(), Span{"em", 0, 11u}); in TEST()
77 original_style.spans = {Span{"b", 0, 3}, Span{"i", 0, 3}}; in TEST()
99 original_style.spans = {Span{"i", 2, 3}, Span{"b", 0, 1}}; in TEST()
121 original_style.spans = {Span{"b", 16u, 19u}, Span{"em", 29u, 47u}, Span{"i", 38u, 40u}, in TEST()
122 Span{"b", 44u, 47u}}; in TEST()
160 original_style.spans = {Span{"em", 4u, 14u}, Span{"i", 18u, 33u}}; in TEST()
245 original_style.spans = {Span{"i", 1, 10}, Span{"b", 2, 3}, Span{"b", 6, 7}}; in TEST()
DPseudolocaleGenerator.cpp56 inline static UnifiedSpan SpanToUnifiedSpan(const StringPool::Span& span) { in SpanToUnifiedSpan()
211 localized.spans.push_back(Span{std::move(span.tag.value()), span.first_char, span.last_char}); in PseudolocalizeStyledString()
/frameworks/base/tools/aapt2/
DStringPool.h35 struct Span { struct
43 std::vector<Span> spans; argument
136 struct Span { struct
146 std::vector<Span> spans; argument
DStringPool.cpp134 for (const Span& span : entry_->spans) { in operator ==()
135 const Span& rhs_span = *rhs_iter; in operator ==()
213 for (const aapt::Span& span : str.spans) { in MakeRef()
214 entry->spans.emplace_back(Span{MakeRef(span.name), span.first_char, span.last_char}); in MakeRef()
228 for (const Span& span : ref.entry_->spans) { in MakeRef()
229 entry->spans.emplace_back(Span{MakeRef(*span.name), span.first_char, span.last_char}); in MakeRef()
477 for (const Span& s : entry->spans) { in Flatten()
DStringPool_test.cpp163 StringPool::StyleRef ref = pool.MakeRef(StyleString{{"android"}, {Span{{"b"}, 2, 6}}}); in TEST()
168 const StringPool::Span& span = ref->spans.front(); in TEST()
251 pool.MakeRef(StyleString{{"style"}, {Span{{"b"}, 0, 1}, Span{{"i"}, 2, 3}}}); in TEST()
DResourceUtils.h241 std::vector<Span> spans;
DResources.proto317 // A Span marks a region of the string text that is styled.
318 message Span { message
330 repeated Span span = 2;
DResourceUtils.cpp753 style_str.spans.push_back(Span{util::GetString(src_pool, spans->name.index), in ParseBinaryResValue()
938 Span span; in StartSpan()
DResourceValues.cpp334 for (const StringPool::Span& span : value->spans) { in Print()
/frameworks/base/core/java/android/os/
DStrictMode.java2308 public static class Span { class in StrictMode
2311 private Span mNext;
2312 private Span mPrev; // not used when in freeList, only active
2315 Span(ThreadSpanState threadState) { in Span() method in StrictMode.Span
2320 protected Span() { in Span() method in StrictMode.Span
2373 private static final Span NO_OP_SPAN =
2374 new Span() {
2390 public Span mActiveHead; // doubly-linked list.
2392 public Span mFreeListHead; // singly-linked list. only changes at head.
2426 public static Span enterCriticalSpan(String name) { in enterCriticalSpan()
[all …]
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize.cpp474 for (const StringPool::Span& span : str->value->spans) { in Visit()
475 pb::StyledString::Span* pb_span = pb_str->add_span(); in Visit()
DProtoDeserialize.cpp914 for (const pb::StyledString::Span& pb_span : pb_str.span()) { in DeserializeItemFromPb()
915 style_str.spans.push_back(Span{pb_span.tag(), pb_span.first_char(), pb_span.last_char()}); in DeserializeItemFromPb()
DProtoSerialize_test.cpp71 style_string.spans.push_back(Span{"b", 0u, 4u}); in TEST()
/frameworks/base/core/java/android/widget/
DScrollView.java190 private StrictMode.Span mScrollStrictSpan = null; // aka "drag"
192 private StrictMode.Span mFlingStrictSpan = null;
DAbsListView.java569 private StrictMode.Span mScrollStrictSpan = null;
570 private StrictMode.Span mFlingStrictSpan = null;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/
DDescriptor.cs5443 public pbc::RepeatedField<int> Span { property in Google.Protobuf.Reflection.SourceCodeInfo.Types.Location
/frameworks/base/config/
Dpreloaded-classes2898 android.os.StrictMode$Span
Dhiddenapi-greylist-max-o.txt56786 Landroid/os/StrictMode$Span;
56787 Landroid/os/StrictMode$Span;-><init>()V
56788 Landroid/os/StrictMode$Span;-><init>(Landroid/os/StrictMode$ThreadSpanState;)V
56789 Landroid/os/StrictMode$Span;->mContainerState:Landroid/os/StrictMode$ThreadSpanState;
56790 Landroid/os/StrictMode$Span;->mCreateMillis:J
56791 Landroid/os/StrictMode$Span;->mName:Ljava/lang/String;
56792 Landroid/os/StrictMode$Span;->mNext:Landroid/os/StrictMode$Span;
56793 Landroid/os/StrictMode$Span;->mPrev:Landroid/os/StrictMode$Span;
56804 Landroid/os/StrictMode$ThreadSpanState;->mActiveHead:Landroid/os/StrictMode$Span;
56806 Landroid/os/StrictMode$ThreadSpanState;->mFreeListHead:Landroid/os/StrictMode$Span;
[all …]
Dboot-image-profile.txt35397 Landroid/os/StrictMode$Span;