Home
last modified time | relevance | path

Searched refs:ResStringPool_span (Results 1 – 3 of 3) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowStringBlock.java13 import org.robolectric.res.android.ResourceTypes.ResStringPool_span;
55 ResStringPool_span spans = osb.styleAt(idx); in nativeGetStyle()
60 ResStringPool_span pos = spans; in nativeGetStyle()
62 while (pos.name.index != ResStringPool_span.END) { in nativeGetStyle()
65 pos = new ResStringPool_span(pos.myBuf(), pos.myOffset() + ResStringPool_span.SIZEOF); in nativeGetStyle()
73 int[] array = new int[num * ResStringPool_span.SIZEOF / SIZEOF_INT]; in nativeGetStyle()
79 final int numInts = ResStringPool_span.SIZEOF / SIZEOF_INT; in nativeGetStyle()
80 while (spans.name.index != ResStringPool_span.END) { in nativeGetStyle()
86 spans = new ResStringPool_span(spans.myBuf(), spans.myOffset() + ResStringPool_span.SIZEOF); in nativeGetStyle()
93 …private static void setIntArrayRegion(int[] array, int num, int numInts, ResStringPool_span spans)… in setIntArrayRegion()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DResStringPool.java26 import org.robolectric.res.android.ResourceTypes.ResStringPool_span;
297 ResStringPool_span endSpan = new ResStringPool_span(buf, in setTo()
298 mHeader.myOffset() + mStyles + (mStylePoolSize - ResStringPool_span.SIZEOF /* / 4 */)); in setTo()
458 final ResStringPool_span styleAt(final ResStringPool_ref ref) { in styleAt()
462 public final ResStringPool_span styleAt(int idx) { in styleAt()
468 return new ResStringPool_span( in styleAt()
DResourceTypes.java615 public static class ResStringPool_span extends WithOffset class in ResourceTypes
632 public ResStringPool_span(ByteBuffer buf, int offset) { in ResStringPool_span() method in ResourceTypes.ResStringPool_span