HomeSort by relevance Sort by last modified time
    Searched refs:currentSize (Results 1 - 25 of 117) sorted by null

1 2 3 4 5

  /external/proguard/src/proguard/evaluation/
Stack.java 39 protected int currentSize;
108 System.arraycopy(other.values, 0, this.values, 0, other.currentSize);
111 currentSize = other.currentSize;
123 if (this.currentSize != other.currentSize)
125 throw new IllegalArgumentException("Stacks have different current sizes ["+this.currentSize+"] and ["+other.currentSize+"]");
131 for (int index = 0; index < currentSize; index++)
168 Arrays.fill(values, 0, currentSize, null)
    [all...]
  /frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/content/res/
GrowingArrayUtils.java 34 * @param currentSize The number of elements in the array. Must be less than or equal to
40 public static <T> T[] append(T[] array, int currentSize, T element) {
41 assert currentSize <= array.length;
43 if (currentSize + 1 > array.length) {
45 growSize(currentSize));
46 System.arraycopy(array, 0, newArray, 0, currentSize);
49 array[currentSize] = element;
56 public static int[] append(int[] array, int currentSize, int element) {
57 assert currentSize <= array.length;
59 if (currentSize + 1 > array.length)
    [all...]
  /frameworks/base/core/java/com/android/internal/util/
GrowingArrayUtils.java 34 * @param currentSize The number of elements in the array. Must be less than or equal to
40 public static <T> T[] append(T[] array, int currentSize, T element) {
41 assert currentSize <= array.length;
43 if (currentSize + 1 > array.length) {
46 (Class<T>) array.getClass().getComponentType(), growSize(currentSize));
47 System.arraycopy(array, 0, newArray, 0, currentSize);
50 array[currentSize] = element;
57 public static int[] append(int[] array, int currentSize, int element) {
58 assert currentSize <= array.length;
60 if (currentSize + 1 > array.length)
    [all...]
  /external/glide/library/src/main/java/com/bumptech/glide/util/
LruCache.java 17 private int currentSize = 0;
75 return currentSize;
118 currentSize += getSize(item);
122 currentSize -= getSize(result);
137 currentSize -= getSize(value);
156 while (currentSize > size) {
159 currentSize -= getSize(toRemove);
  /external/webrtc/talk/app/webrtc/objc/
RTCVideoRendererAdapter.mm 46 CGSize currentSize = CGSizeMake(frame->GetWidth(), frame->GetHeight());
47 if (!CGSizeEqualToSize(_size, currentSize)) {
48 _size = currentSize;
  /external/pdfium/fxbarcode/datamatrix/
BC_Base256Encoder.cpp 55 int32_t currentSize =
57 context.updateSymbolInfo(currentSize, e);
61 bool mustPad = (context.m_symbolInfo->dataCapacity() - currentSize) > 0;
  /frameworks/base/core/java/android/util/
IntArray.java 148 final int currentSize = mSize;
149 final int minCapacity = currentSize + count;
151 final int targetCap = currentSize + (currentSize < (MIN_CAPACITY_INCREMENT / 2) ?
152 MIN_CAPACITY_INCREMENT : currentSize >> 1);
155 System.arraycopy(mValues, 0, newValues, 0, currentSize);
LongArray.java 134 final int currentSize = mSize;
135 final int minCapacity = currentSize + count;
137 final int targetCap = currentSize + (currentSize < (MIN_CAPACITY_INCREMENT / 2) ?
138 MIN_CAPACITY_INCREMENT : currentSize >> 1);
141 System.arraycopy(mValues, 0, newValues, 0, currentSize);
  /frameworks/base/core/java/android/text/
AutoGrowArray.java 42 private static int computeNewCapacity(int currentSize, int requested) {
43 final int targetCapacity = currentSize + (currentSize < (MIN_CAPACITY_INCREMENT / 2)
44 ? MIN_CAPACITY_INCREMENT : currentSize >> 1);
  /external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/
LruBitmapPool.java 29 private int currentSize;
78 currentSize += size;
119 currentSize -= strategy.getSize(result);
149 while (currentSize > size) {
152 currentSize -= strategy.getSize(removed);
165 + " currentSize=" + currentSize + " maxSize=" + maxSize + "\nStrategy=" + strategy);
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
ScanDetailCache.java 115 int currentSize = mMap.size();
116 if (currentSize < mTrimSize) {
136 for (int i = 0; i < currentSize - mTrimSize; i++) {
  /tools/tradefederation/core/src/com/android/tradefed/util/
SizeLimitedOutputStream.java 198 long currentSize = mCurrentOutputStream.getCount();
200 long freeSpace = mMaxFileSize - currentSize;
  /prebuilts/misc/common/swig/include/2.0.11/d/
std_vector.i 71 size_t currentSize = size();
72 for (size_t i = 0; i < currentSize; ++i) {
83 size_t currentSize = size();
84 for (size_t i = 0; i < currentSize; ++i) {
417 size_t currentSize = size();
418 for (size_t i = 0; i < currentSize; ++i) {
429 size_t currentSize = size();
430 for (size_t i = 0; i < currentSize; ++i) {
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/
SampleList.java 143 long currentSize = b.getSize();
148 mdatEndCache.put((MediaDataBox) b, contentOffset + currentSize);
154 currentOffset += currentSize;
  /prebuilts/misc/common/swig/include/2.0.11/csharp/
std_map.i 157 private int currentSize;
164 currentSize = collectionRef.Count;
172 if (currentIndex > currentSize - 1)
189 bool moveOkay = (currentIndex+1 < size) && (size == currentSize);
203 if (collectionRef.Count != currentSize) {
std_vector.i 150 private int currentSize;
156 currentSize = collectionRef.Count;
164 if (currentIndex > currentSize - 1)
181 bool moveOkay = (currentIndex+1 < size) && (size == currentSize);
194 if (collectionRef.Count != currentSize) {
  /packages/apps/Messaging/src/com/android/messaging/util/
ImageUtils.java 542 final int currentSize = (encoded == null ? 0 : encoded.length);
543 updateRecodeParameters(currentSize);
753 * @param currentSize encoded image size (will be 0 if OOM)
755 private void updateRecodeParameters(final int currentSize)
    [all...]
  /frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DownloadManagerBaseTest.java 475 long currentSize = 0;
476 while ((currentSize = getBytesDownloaded(id)) <= expectedSize) {
478 expectedSize, currentSize));
  /external/deqp/external/vulkancts/modules/vulkan/draw/
vktDrawIndirectTest.cpp 198 const size_t currentSize = m_indirectBufferContents.size();
200 m_indirectBufferContents.resize(currentSize + sizeof(command));
202 deMemcpy(&m_indirectBufferContents[currentSize], &command, sizeof(command));
210 const size_t currentSize = m_indirectBufferContents.size();
212 m_indirectBufferContents.resize(currentSize + sizeof(command));
214 deMemcpy(&m_indirectBufferContents[currentSize], &command, sizeof(command));
  /frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
AppCompatTextViewAutoSizeHelper.java 517 float currentSize = Math.round(mAutoSizeMinTextSizeInPx);
518 while (Math.round(currentSize + mAutoSizeStepGranularityInPx)
521 currentSize += mAutoSizeStepGranularityInPx;
    [all...]
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
SettingsState.java 573 Integer currentSize = mPackageToMemoryUsage.get(packageName);
574 final int newSize = Math.max((currentSize != null)
575 ? currentSize + deltaSize : deltaSize, 0);
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/memory/
vktMemoryPipelineBarrierTests.cpp 824 vk::VkDeviceSize currentSize = memorySize / 2;
834 for (vk::VkDeviceSize stepSize = memorySize / 4; currentSize > 0; stepSize /= 2)
836 const vk::Unique<vk::VkBuffer> buffer (createBuffer(vkd, device, currentSize, usage, sharingMode, queueFamilies));
841 lastSuccess = currentSize;
842 currentSize += stepSize;
845 currentSize -= stepSize;
910 IVec2 currentSize;
917 currentSize[0] = deMaxu32(width, height);
918 currentSize[1] = deMinu32(width, height);
921 for (deInt32 stepSize = currentSize[0] / 2; currentSize[0] > 0; stepSize /= 2
    [all...]
  /packages/apps/Nfc/nci/jni/
NativeNfcTag.cpp     [all...]
  /tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
ZFile.java     [all...]
  /external/icu/tools/srcgen/currysrc/libs/
org.eclipse.core.contenttype_3.5.0.v20150421-2214.jar 

Completed in 943 milliseconds

1 2 3 4 5