Home
last modified time | relevance | path

Searched refs:mStrings (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/tools/aapt2/
DStringPool.cpp147 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 …]
DStringPool.h200 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/
DXmlBlock.java40 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 …]
DStringBlock.java42 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/
DListFilter.java45 android.R.layout.simple_list_item_1, mStrings)); in onCreate()
61 private String[] mStrings = { field in ListFilter
DListViewHeight.java38 private String[] mStrings = { field in ListViewHeight
55 mStrings); in onCreate()
/frameworks/base/core/tests/coretests/src/android/view/
DPopupWindowVisibility.java56 android.R.layout.simple_spinner_item, mStrings); in onCreate()
70 private static final String[] mStrings = { field in PopupWindowVisibility
/frameworks/base/media/java/android/media/
DSRTRenderer.java137 cue.mStrings = paragraph.toArray(new String[0]); in onData()
142 cue.mStrings[i] = line; in onData()
178 for (String line : ttc.mStrings) { in updateView()
DWebVttRenderer.java401 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/
DResourceTypes.cpp444 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/
DResourceTypes.h534 const void* mStrings; variable
819 ResStringPool mStrings; variable
/frameworks/support/v8/renderscript/jni/
Dandroid_renderscript_RenderScript.cpp235 : 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/
Dandroid_renderscript_RenderScript.cpp272 : 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