/frameworks/base/core/java/android/text/ |
D | AutoGrowArray.java | 81 ensureCapacity(newSize - mSize); in resize() 90 ensureCapacity(1); in append() 97 private void ensureCapacity(@IntRange int count) { in ensureCapacity() method in AutoGrowArray.ByteArray 190 ensureCapacity(newSize - mSize); in resize() 199 ensureCapacity(1); in append() 206 private void ensureCapacity(@IntRange(from = 0) int count) { in ensureCapacity() method in AutoGrowArray.IntArray 299 ensureCapacity(newSize - mSize); in resize() 308 ensureCapacity(1); in append() 315 private void ensureCapacity(int count) { in ensureCapacity() method in AutoGrowArray.FloatArray
|
/frameworks/base/core/java/android/util/ |
D | IntArray.java | 85 ensureCapacity(newSize - mSize); in resize() 104 ensureCapacity(1); in add() 140 ensureCapacity(count); in addAll() 149 private void ensureCapacity(int count) { in ensureCapacity() method in IntArray
|
D | LongArray.java | 89 ensureCapacity(newSize - mSize); in resize() 109 ensureCapacity(1); in add() 127 ensureCapacity(count); in addAll() 136 private void ensureCapacity(int count) { in ensureCapacity() method in LongArray
|
D | ArraySet.java | 322 public void ensureCapacity(int minimumCapacity) { in ensureCapacity() method in ArraySet 490 ensureCapacity(mSize + N); in addAll() 874 ensureCapacity(mSize + collection.size()); in addAll()
|
D | ArrayMap.java | 360 public void ensureCapacity(int minimumCapacity) { in ensureCapacity() method in ArrayMap 665 ensureCapacity(mSize + N); in putAll() 949 ensureCapacity(mSize + map.size()); in putAll()
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | EntityConfidence.java | 62 mEntityConfidence.ensureCapacity(source.size()); in EntityConfidence() 126 mEntityConfidence.ensureCapacity(numEntities); in EntityConfidence() 135 mSortedEntities.ensureCapacity(mEntityConfidence.size()); in resetSortedEntitiesFromMap()
|
/frameworks/base/core/java/android/database/ |
D | MatrixCursor.java | 94 ensureCapacity(endIndex); in newRow() 115 ensureCapacity(start + columnCount); in addRow() 131 ensureCapacity(end); in addRow() 175 private void ensureCapacity(int size) { in ensureCapacity() method in MatrixCursor
|
/frameworks/base/core/java/com/android/internal/util/ |
D | LineBreakBufferedWriter.java | 234 ensureCapacity(bufferIndex + len); in appendToBuffer() 249 ensureCapacity(bufferIndex + len); in appendToBuffer() 261 private void ensureCapacity(int capacity) { in ensureCapacity() method in LineBreakBufferedWriter
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/ |
D | UnknownFieldSetLite.java | 272 ensureCapacity(); in storeField() 282 private void ensureCapacity() { in ensureCapacity() method in UnknownFieldSetLite
|
D | RepeatedFieldBuilderV3.java | 385 .ensureCapacity(messages.size() + size); in addAllMessages()
|
D | RepeatedFieldBuilder.java | 385 .ensureCapacity(messages.size() + size); in addAllMessages()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | NotificationActionListLayout.java | 161 mMeasureOrderTextViews.ensureCapacity(capacityText); in rebuildMeasureOrder() 162 mMeasureOrderOther.ensureCapacity(capacityOther); in rebuildMeasureOrder()
|
D | GapWorker.java | 219 mTasks.ensureCapacity(totalTaskCount); in buildTaskList()
|
D | DecorCaptionView.java | 238 mTouchDispatchList.ensureCapacity(3); in buildTouchDispatchChildList()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | ContextHubServiceUtil.java | 74 outputArray.ensureCapacity(inputArray.length); in copyToByteArrayList()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | RecommendedStreamConfigurationMap.java | 197 integerSet.ensureCapacity(intArray.length); in getUnmodifiableIntegerSet()
|
D | MandatoryStreamCombination.java | 802 availableRawSizes.ensureCapacity(rawSizes.length); in generateAvailableCombinations() 822 availableStreamCombinations.ensureCapacity(availableTemplates.size()); in generateAvailableCombinations() 826 streamsInfo.ensureCapacity(combTemplate.mStreamTemplates.length); in generateAvailableCombinations()
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | CameraMetadataNative.java | 937 streamConfigList.ensureCapacity(RecommendedStreamConfigurationMap.MAX_USECASE_COUNT); in parseRecommendedConfigurations() 938 streamDurationList.ensureCapacity(RecommendedStreamConfigurationMap.MAX_USECASE_COUNT); in parseRecommendedConfigurations() 939 streamStallList.ensureCapacity(RecommendedStreamConfigurationMap.MAX_USECASE_COUNT); in parseRecommendedConfigurations() 1101 recommendedConfigurations.ensureCapacity( in getRecommendedStreamConfigurations() 1212 caps.ensureCapacity(capabilities.length); in getMandatoryStreamCombinations()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | SecurityLogMonitor.java | 325 mPendingLogs.ensureCapacity(mPendingLogs.size() + newLogs.size()); in mergeBatchLocked()
|
/frameworks/opt/car/services/src/com/android/internal/car/ |
D | CarServiceHelperService.java | 412 pids.ensureCapacity(pids.size() + nativePids.length); in getInterestingNativePids()
|
/frameworks/base/core/java/android/app/admin/ |
D | SystemUpdatePolicy.java | 723 policy.mFreezePeriods.ensureCapacity(freezeCount);
|
/frameworks/base/core/java/android/service/notification/ |
D | NotificationListenerService.java | 1912 mOrderedKeys.ensureCapacity(count); 1913 mRankings.ensureCapacity(count);
|
/frameworks/base/services/core/java/com/android/server/ |
D | Watchdog.java | 506 pids.ensureCapacity(pids.size() + nativePids.length); in getInterestingNativePids()
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | ProcessStats.java | 1254 mPageTypeNodes.ensureCapacity(NPAGETYPES); in readFromParcel() 1256 mPageTypeZones.ensureCapacity(NPAGETYPES); in readFromParcel() 1258 mPageTypeLabels.ensureCapacity(NPAGETYPES); in readFromParcel() 1260 mPageTypeSizes.ensureCapacity(NPAGETYPES); in readFromParcel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | StackScrollAlgorithm.java | 254 state.visibleChildren.ensureCapacity(childCount); in initAlgorithmState()
|