/frameworks/base/tools/aapt2/ |
D | StringPool.cpp | 147 entry->index = mStrings.size(); in makeRefImpl() 149 mStrings.emplace_back(entry); in makeRefImpl() 162 entry->index = mStrings.size(); in makeRef() 164 mStrings.emplace_back(entry); in makeRef() 182 entry->index = mStrings.size(); in makeRef() 184 mStrings.emplace_back(entry); in makeRef() 200 std::move(pool.mStrings.begin(), pool.mStrings.end(), std::back_inserter(mStrings)); in merge() 201 pool.mStrings.clear(); in merge() 206 const size_t len = mStrings.size(); in merge() 208 mStrings[index]->index = index; in merge() [all …]
|
D | StringPool.h | 200 std::vector<std::unique_ptr<Entry>> mStrings; variable 210 return mStrings.size(); in size() 214 return pool.mStrings.begin(); in begin() 218 return pool.mStrings.end(); in end()
|
/frameworks/base/core/java/android/content/res/ |
D | XmlBlock.java | 40 mStrings = new StringBlock(nativeGetStringBlock(mNative), false); in XmlBlock() 46 mStrings = new StringBlock(nativeGetStringBlock(mNative), false); in XmlBlock() 143 return id >= 0 ? mStrings.get(id).toString() : null; in getText() 171 return id >= 0 ? mStrings.get(id).toString() : ""; in getNamespace() 175 return id >= 0 ? mStrings.get(id).toString() : null; in getName() 180 if (id >= 0) return mStrings.get(id).toString(); in getAttributeNamespace() 187 if (id >= 0) return mStrings.get(id).toString(); in getAttributeName() 203 if (id >= 0) return mStrings.get(id).toString(); in getAttributeValue() 370 mStrings.get(v), options, defaultValue); in getAttributeListValue() 427 return id >= 0 ? mStrings.get(id).toString() : null; in getIdAttribute() [all …]
|
D | StringBlock.java | 42 private CharSequence[] mStrings; field in StringBlock 64 if (mStrings != null) { in get() 65 CharSequence res = mStrings[idx]; in get() 79 mStrings = new CharSequence[num]; in get() 136 if (mStrings != null) mStrings[idx] = res; in get()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListFilter.java | 45 android.R.layout.simple_list_item_1, mStrings)); in onCreate() 61 private String[] mStrings = { field in ListFilter
|
D | ListViewHeight.java | 38 private String[] mStrings = { field in ListViewHeight 55 mStrings); in onCreate()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | PopupWindowVisibility.java | 56 android.R.layout.simple_spinner_item, mStrings); in onCreate() 70 private static final String[] mStrings = { field in PopupWindowVisibility
|
/frameworks/base/media/java/android/media/ |
D | SRTRenderer.java | 137 cue.mStrings = paragraph.toArray(new String[0]); in onData() 142 cue.mStrings[i] = line; in onData() 178 for (String line : ttc.mStrings) { in updateView()
|
D | WebVttRenderer.java | 401 String[] mStrings; field in TextTrackCue 457 if (mStrings == null) { in appendStringsToBuilder() 462 for (String s: mStrings) { in appendStringsToBuilder() 680 mCue.mStrings = new String[mCueTexts.size()]; in yieldCue() 681 mCueTexts.toArray(mCue.mStrings); in yieldCue() 1043 for (String s: cue.mStrings) { in onCueParsed()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 444 mStrings = NULL; in setToEmpty() 520 mStrings = (const void*) in setTo() 555 const uint16_t* strings = (const uint16_t*)mStrings; in setTo() 564 ((uint8_t*)mStrings)[mStringPoolSize-1] != 0) || in setTo() 566 ((uint16_t*)mStrings)[mStringPoolSize-1] != 0)) { in setTo() 571 mStrings = NULL; in setTo() 704 const uint16_t* strings = (uint16_t*)mStrings; in stringAt() 721 const uint8_t* strings = (uint8_t*)mStrings; in stringAt() 805 const uint8_t* strings = (uint8_t*)mStrings; in string8At() 1028 return mTree.mStrings; in getStrings() [all …]
|
/frameworks/base/include/androidfw/ |
D | ResourceTypes.h | 534 const void* mStrings; variable 819 ResStringPool mStrings; variable
|
/frameworks/support/v8/renderscript/jni/ |
D | android_renderscript_RenderScript.cpp | 235 : mEnv(env), mStrings(strings), mStringsLength(stringsLength) { in AutoJavaStringArrayToUTF8() 242 jstring s = (jstring)mEnv->GetObjectArrayElement(mStrings, ct); in AutoJavaStringArrayToUTF8() 250 jstring s = (jstring)mEnv->GetObjectArrayElement(mStrings, ct); in ~AutoJavaStringArrayToUTF8() 262 jobjectArray mStrings; member in AutoJavaStringArrayToUTF8
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 272 : mEnv(env), mStrings(strings), mStringsLength(stringsLength) { in AutoJavaStringArrayToUTF8() 279 jstring s = (jstring)mEnv->GetObjectArrayElement(mStrings, ct); in AutoJavaStringArrayToUTF8() 287 jstring s = (jstring)mEnv->GetObjectArrayElement(mStrings, ct); in ~AutoJavaStringArrayToUTF8() 299 jobjectArray mStrings; member in AutoJavaStringArrayToUTF8
|