Home
last modified time | relevance | path

Searched refs:listSize (Results 1 – 12 of 12) sorted by relevance

/frameworks/support/v7/appcompat/src/android/support/v7/content/res/
DAppCompatColorStateListInflater.java104 int listSize = 0; in inflate() local
145 if (listSize == 0 || stateSpec.length == 0) { in inflate()
149 colorList = GrowingArrayUtils.append(colorList, listSize, color); in inflate()
150 stateSpecList = GrowingArrayUtils.append(stateSpecList, listSize, stateSpec); in inflate()
151 listSize++; in inflate()
154 int[] colors = new int[listSize]; in inflate()
155 int[][] stateSpecs = new int[listSize][]; in inflate()
156 System.arraycopy(colorList, 0, colors, 0, listSize); in inflate()
157 System.arraycopy(stateSpecList, 0, stateSpecs, 0, listSize); in inflate()
/frameworks/base/core/java/android/content/res/
DColorStateList.java315 int listSize = 0; in inflate() local
356 if (listSize == 0 || stateSpec.length == 0) { in inflate()
364 colorList = GrowingArrayUtils.append(colorList, listSize, color); in inflate()
365 themeAttrsList = GrowingArrayUtils.append(themeAttrsList, listSize, themeAttrs); in inflate()
366 stateSpecList = GrowingArrayUtils.append(stateSpecList, listSize, stateSpec); in inflate()
367 listSize++; in inflate()
374 mThemeAttrs = new int[listSize][]; in inflate()
375 System.arraycopy(themeAttrsList, 0, mThemeAttrs, 0, listSize); in inflate()
380 mColors = new int[listSize]; in inflate()
381 mStateSpecs = new int[listSize][]; in inflate()
[all …]
DGradientColor.java328 int listSize = 0; in inflateChildElements() local
366 colorList = GrowingArrayUtils.append(colorList, listSize, color); in inflateChildElements()
367 offsetList = GrowingArrayUtils.append(offsetList, listSize, offset); in inflateChildElements()
368 themeAttrsList = GrowingArrayUtils.append(themeAttrsList, listSize, themeAttrs); in inflateChildElements()
369 listSize++; in inflateChildElements()
371 if (listSize > 0) { in inflateChildElements()
373 mItemsThemeAttrs = new int[listSize][]; in inflateChildElements()
374 System.arraycopy(themeAttrsList, 0, mItemsThemeAttrs, 0, listSize); in inflateChildElements()
379 mItemColors = new int[listSize]; in inflateChildElements()
380 mItemOffsets = new float[listSize]; in inflateChildElements()
[all …]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DPredictor.java121 int listSize = topApps.size(); in getTopCandidates() local
122 ArrayList<StringFloat> result = new ArrayList<StringFloat>(listSize); in getTopCandidates()
123 for (int i = 0; i < listSize; ++i) { in getTopCandidates()
/frameworks/base/core/jni/android/graphics/
DFontFamily.cpp136 jint listSize = env->CallIntMethod(listOfAxis, gListClassInfo.mSize); in FontFamily_addFontWeightStyle() local
138 skiaAxes.reset(new SkFontMgr::FontParameters::Axis[listSize]); in FontFamily_addFontWeightStyle()
139 skiaAxesLength = listSize; in FontFamily_addFontWeightStyle()
140 for (jint i = 0; i < listSize; ++i) { in FontFamily_addFontWeightStyle()
/frameworks/base/core/java/android/nfc/cardemulation/
DAidGroup.java133 int listSize = source.readInt();
135 if (listSize > 0) {
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConnectivityManager.java852 int listSize = pnoNetworkList.size(); in startDisconnectedPnoScan() local
854 if (listSize == 0) { in startDisconnectedPnoScan()
860 pnoSettings.networkList = new PnoSettings.PnoNetwork[listSize]; in startDisconnectedPnoScan()
896 int listSize = pnoNetworkList.size(); in startConnectedPnoScan() local
898 if (listSize == 0) { in startConnectedPnoScan()
904 pnoSettings.networkList = new PnoSettings.PnoNetwork[listSize]; in startConnectedPnoScan()
/frameworks/support/v7/preference/src/android/support/v7/preference/
DPreferenceGroupAdapter.java260 final int listSize = mPreferenceList.size(); in onPreferenceVisibilityChange() local
261 for (removalIndex = 0; removalIndex < listSize; removalIndex++) { in onPreferenceVisibilityChange()
/frameworks/base/core/java/android/app/
DLauncherActivity.java463 int listSize = list.size(); in makeListItems() local
464 for (int i = 0; i < listSize; i++) { in makeListItems()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_DngCreator.cpp1740 size_t listSize = builder.getSize(); in DngCreator_setup() local
1741 uint8_t opcodeListBuf[listSize]; in DngCreator_setup()
1744 BAIL_IF_INVALID_RET_NULL_SP(writer->addEntry(TAG_OPCODELIST2, listSize, opcodeListBuf, in DngCreator_setup()
1778 size_t listSize = builder.getSize(); in DngCreator_setup() local
1779 uint8_t opcodeListBuf[listSize]; in DngCreator_setup()
1782 BAIL_IF_INVALID_RET_NULL_SP(writer->addEntry(TAG_OPCODELIST3, listSize, opcodeListBuf, in DngCreator_setup()
/frameworks/base/core/java/android/animation/
DAnimatorSet.java891 int listSize = list.size(); in printChildCount() local
893 for (; index < listSize; index++) { in printChildCount()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java3281 int listSize = list.size(); in isActivityAvailable() local
3282 for (int i = 0; i < listSize; i++) { in isActivityAvailable()