Home
last modified time | relevance | path

Searched refs:STYLE_NUM_ENTRIES (Results 1 – 8 of 8) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowTypedArray.java7 import static org.robolectric.res.android.AttributeResolution.STYLE_NUM_ENTRIES;
59 return stringData[index / STYLE_NUM_ENTRIES]; in loadStringValueAt()
89 for (int index = 0; index < data.length; index+= STYLE_NUM_ENTRIES) { in dump()
91 result.append("Index: ").append(index / STYLE_NUM_ENTRIES).append(System.lineSeparator()); in dump()
DShadowArscAssetManager.java74 private static final int STYLE_NUM_ENTRIES = 6; field in ShadowArscAssetManager
731 if (NV < (NI*STYLE_NUM_ENTRIES)) { in resolveAttrs()
808 if (NV < (NI*STYLE_NUM_ENTRIES)) { in retrieveAttributes()
900 … while (destOffset < NV && destOffset < bagOff * STYLE_NUM_ENTRIES /*&& arrayEnt < endArrayEnt*/) { in retrieveArray()
901 bag_entry curArrayEnt = arrayEnt.get()[destOffset / STYLE_NUM_ENTRIES]; in retrieveArray()
939 destOffset+= STYLE_NUM_ENTRIES; in retrieveArray()
943 destOffset /= STYLE_NUM_ENTRIES; in retrieveArray()
DShadowArscAssetManager10.java88 private static final int STYLE_NUM_ENTRIES = 7; field in ShadowArscAssetManager10
1096 if ((int) (bag.entry_count) > out_data_length * STYLE_NUM_ENTRIES) { in nativeGetResourceArray()
1125 int offset = i * STYLE_NUM_ENTRIES; in nativeGetResourceArray()
1365 if (out_values_len < (attrs_len * STYLE_NUM_ENTRIES)) { in nativeResolveAttrs()
1441 if (out_values_len < (attrs_len * STYLE_NUM_ENTRIES)) { in nativeRetrieveAttributes()
DShadowArscAssetManager9.java83 private static final int STYLE_NUM_ENTRIES = 6; field in ShadowArscAssetManager9
1092 if ((int) (bag.entry_count) > out_data_length * STYLE_NUM_ENTRIES) { in nativeGetResourceArray()
1121 int offset = i * STYLE_NUM_ENTRIES; in nativeGetResourceArray()
1361 if (out_values_len < (attrs_len * STYLE_NUM_ENTRIES)) { in nativeResolveAttrs()
1437 if (out_values_len < (attrs_len * STYLE_NUM_ENTRIES)) { in nativeRetrieveAttributes()
DShadowLegacyAssetManager.java108 private static final int STYLE_NUM_ENTRIES = 6; field in ShadowLegacyAssetManager
773 final int totalLen = typedResources.size() * STYLE_NUM_ENTRIES; in getTypedArray()
777 final int offset = i * STYLE_NUM_ENTRIES; in getTypedArray()
1190 int[] data = new int[attrs.length * STYLE_NUM_ENTRIES]; in attrsToTypedArray()
1199 int offset = i * STYLE_NUM_ENTRIES; in attrsToTypedArray()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DAttributeResolution9.java23 public static final int STYLE_NUM_ENTRIES = 6; field in AttributeResolution9
228 destOffset += STYLE_NUM_ENTRIES; in ResolveAttrs()
409 int destIndex = ii * STYLE_NUM_ENTRIES; in ApplyStyle()
512 baseDest += STYLE_NUM_ENTRIES; in RetrieveAttributes()
DAttributeResolution10.java26 public static final int STYLE_NUM_ENTRIES = 7; field in AttributeResolution10
232 destOffset += STYLE_NUM_ENTRIES; in ResolveAttrs()
418 int destIndex = ii * STYLE_NUM_ENTRIES; in ApplyStyle()
522 baseDest += STYLE_NUM_ENTRIES; in RetrieveAttributes()
DAttributeResolution.java13 public static final int STYLE_NUM_ENTRIES = 6; field in AttributeResolution
215 destOffset += STYLE_NUM_ENTRIES; in ResolveAttrs()
399 int destIndex = ii * STYLE_NUM_ENTRIES; in ApplyStyle()
511 baseDest += STYLE_NUM_ENTRIES; in RetrieveAttributes()