/frameworks/base/core/java/android/content/res/ |
D | ColorStateList.java | 320 int listSize = 0; in inflate() local 361 if (listSize == 0 || stateSpec.length == 0) { in inflate() 369 colorList = GrowingArrayUtils.append(colorList, listSize, color); in inflate() 370 themeAttrsList = GrowingArrayUtils.append(themeAttrsList, listSize, themeAttrs); in inflate() 371 stateSpecList = GrowingArrayUtils.append(stateSpecList, listSize, stateSpec); in inflate() 372 listSize++; in inflate() 379 mThemeAttrs = new int[listSize][]; in inflate() 380 System.arraycopy(themeAttrsList, 0, mThemeAttrs, 0, listSize); in inflate() 385 mColors = new int[listSize]; in inflate() 386 mStateSpecs = new int[listSize][]; in inflate() [all …]
|
D | GradientColor.java | 333 int listSize = 0; in inflateChildElements() local 371 colorList = GrowingArrayUtils.append(colorList, listSize, color); in inflateChildElements() 372 offsetList = GrowingArrayUtils.append(offsetList, listSize, offset); in inflateChildElements() 373 themeAttrsList = GrowingArrayUtils.append(themeAttrsList, listSize, themeAttrs); in inflateChildElements() 374 listSize++; in inflateChildElements() 376 if (listSize > 0) { in inflateChildElements() 378 mItemsThemeAttrs = new int[listSize][]; in inflateChildElements() 379 System.arraycopy(themeAttrsList, 0, mItemsThemeAttrs, 0, listSize); in inflateChildElements() 384 mItemColors = new int[listSize]; in inflateChildElements() 385 mItemOffsets = new float[listSize]; in inflateChildElements() [all …]
|
/frameworks/base/core/java/android/nfc/cardemulation/ |
D | AidGroup.java | 141 int listSize = source.readInt(); 143 if (listSize > 0) {
|
/frameworks/base/core/java/android/app/ |
D | LauncherActivity.java | 467 int listSize = list.size(); in makeListItems() local 468 for (int i = 0; i < listSize; i++) { in makeListItems()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_location_GnssLocationProvider.cpp | 680 uint32_t listSize = getGnssSvInfoListSize(svStatus); in gnssSvStatusCbImpl() local 681 if (listSize > static_cast<uint32_t>( in gnssSvStatusCbImpl() 683 ALOGD("Too many satellites %u. Clamps to %u.", listSize, in gnssSvStatusCbImpl() 685 listSize = static_cast<uint32_t>(android::hardware::gnss::V1_0::GnssMax::SVS_COUNT); in gnssSvStatusCbImpl() 688 jintArray svidWithFlagArray = env->NewIntArray(listSize); in gnssSvStatusCbImpl() 689 jfloatArray cn0Array = env->NewFloatArray(listSize); in gnssSvStatusCbImpl() 690 jfloatArray elevArray = env->NewFloatArray(listSize); in gnssSvStatusCbImpl() 691 jfloatArray azimArray = env->NewFloatArray(listSize); in gnssSvStatusCbImpl() 692 jfloatArray carrierFreqArray = env->NewFloatArray(listSize); in gnssSvStatusCbImpl() 703 for (size_t i = 0; i < listSize; ++i) { in gnssSvStatusCbImpl() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiLockManager.java | 700 int listSize = mLowLatencyUidWatchList.size(); in countFgLowLatencyUids() local 701 for (int idx = 0; idx < listSize; idx++) { in countFgLowLatencyUids()
|
D | WifiConnectivityManager.java | 1007 int listSize = pnoNetworkList.size(); in startDisconnectedPnoScan() local 1009 if (listSize == 0) { in startDisconnectedPnoScan() 1015 pnoSettings.networkList = new PnoSettings.PnoNetwork[listSize]; in startDisconnectedPnoScan()
|
D | WifiMetrics.java | 5040 for (Integer listSize : listSizes) { 5041 mWifiNetworkSuggestionApiListSizeHistogram.increment(listSize);
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_DngCreator.cpp | 1940 size_t listSize = builder.getSize(); in DngCreator_setup() local 1941 uint8_t opcodeListBuf[listSize]; in DngCreator_setup() 1944 BAIL_IF_INVALID_RET_NULL_SP(writer->addEntry(TAG_OPCODELIST2, listSize, in DngCreator_setup() 2058 size_t listSize = builder.getSize(); in DngCreator_setup() local 2059 uint8_t opcodeListBuf[listSize]; in DngCreator_setup() 2062 BAIL_IF_INVALID_RET_NULL_SP(writer->addEntry(TAG_OPCODELIST3, listSize, in DngCreator_setup()
|
/frameworks/base/core/java/android/animation/ |
D | AnimatorSet.java | 1448 int listSize = list.size(); 1450 for (; index < listSize; index++) {
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 376 auto listSize = property_get_int32("debug.sf.max_igbp_list_size", int32_t(defaultListSize)); in SurfaceFlinger() local 377 mMaxGraphicBufferProducerListSize = (listSize > 0) ? size_t(listSize) : defaultListSize; in SurfaceFlinger()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.java | 3854 int listSize = list.size(); in isActivityAvailable() local 3855 for (int i = 0; i < listSize; i++) { in isActivityAvailable()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 2530 final int listSize = splitPermissions.size(); in parseBaseApkCommon() local 2531 for (int is = 0; is < listSize; is++) { in parseBaseApkCommon()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 8857 final int listSize = (matchList == null ? 0 : matchList.size()); 8859 for (int i = 0; i < listSize; i++) { 8871 finalList = new ArrayList<>(listSize - i);
|