Home
last modified time | relevance | path

Searched refs:totalSize (Results 1 – 25 of 101) sorted by relevance

12345

/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DSplitView.js261 totalSize: function() method in WebInspector.SplitView
291 sizeValue = (size / this.totalSize()) * 100 + "%";
356 var totalSize = this.totalSize();
361 from = Math.round(totalSize * from);
369 minMainSize = Math.round(totalSize * minMainSize);
373 var to = totalSize - minMainSize;
381 if (toInPercents && sidebarSize >= from && from < totalSize)
383 if (fromInPercents && sidebarSize <= to && to < totalSize)
411 …this._dragOffset = (this._secondIsSidebar ? this.totalSize() - this._sidebarSize : this._sidebarSi…
421 var newSize = (this._secondIsSidebar ? this.totalSize() - newOffset : newOffset);
[all …]
DShowMoreDataGridNode.js83 var totalSize = this._endPosition - this._startPosition;
84 if (totalSize > this._chunkSize) {
91 this.showAll.textContent = WebInspector.UIString("Show all %d", totalSize);
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/
DDDSLoader.java437 public ByteBuffer readGrayscale2D(boolean flip, int totalSize) throws IOException { in readGrayscale2D() argument
438 ByteBuffer buffer = BufferUtils.createByteBuffer(totalSize); in readGrayscale2D()
472 public ByteBuffer readRGB2D(boolean flip, int totalSize) throws IOException { in readRGB2D() argument
489 ByteBuffer dataBuffer = BufferUtils.createByteBuffer(totalSize); in readRGB2D()
538 public ByteBuffer readDXT2D(boolean flip, int totalSize) throws IOException { in readDXT2D() argument
541 ByteBuffer buffer = BufferUtils.createByteBuffer(totalSize); in readDXT2D()
575 public ByteBuffer readGrayscale3D(boolean flip, int totalSize) throws IOException { in readGrayscale3D() argument
576 ByteBuffer buffer = BufferUtils.createByteBuffer(totalSize * depth); in readGrayscale3D()
613 public ByteBuffer readRGB3D(boolean flip, int totalSize) throws IOException { in readRGB3D() argument
630 ByteBuffer dataBuffer = BufferUtils.createByteBuffer(totalSize * depth); in readRGB3D()
[all …]
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/file/
DDynamicArray.java63 int totalSize = 1; in DynamicArray() local
68 totalSize *= size; in DynamicArray()
70 this.array = (T[]) new Object[totalSize]; in DynamicArray()
82 int totalSize = 1; in DynamicArray() local
87 totalSize *= size; in DynamicArray()
89 if (totalSize != data.length) { in DynamicArray()
/external/chromium_org/third_party/angle/src/compiler/
DSymbolTable.cpp63 size_t totalSize = 0; in getObjectSize() local
66 totalSize = structure->objectSize(); in getObjectSize()
68 totalSize = size * size; in getObjectSize()
70 totalSize = size; in getObjectSize()
74 if (arraySize > INT_MAX / totalSize) in getObjectSize()
75 totalSize = INT_MAX; in getObjectSize()
77 totalSize *= arraySize; in getObjectSize()
80 return totalSize; in getObjectSize()
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/
Dscrollbar.js149 var totalSize = this.getTotalHeight();
151 var buttonSize = Math.max(50, clientSize / totalSize * clientSize);
159 scrollPosition = Math.max(totalSize - clientSize, 0) *
196 var totalSize = this.getTotalHeight();
197 var hidden = totalSize <= clientSize;
199 var buttonSize = Math.max(50, clientSize / totalSize * clientSize);
202 buttonPosition = scrollPosition / (totalSize - clientSize) *
/external/chromium_org/third_party/WebKit/Source/web/tests/
DBitmapImageTest.cpp122 size_t totalSize = decodedSize(); in TEST_F() local
128 EXPECT_GE(m_imageObserver.m_lastDecodedSizeChangedDelta, -static_cast<int>(totalSize - size)); in TEST_F()
139 size_t totalSize = decodedSize(); in TEST_F() local
140 EXPECT_GT(totalSize, 0u); in TEST_F()
142 EXPECT_EQ(-static_cast<int>(totalSize), m_imageObserver.m_lastDecodedSizeChangedDelta); in TEST_F()
/external/guava/guava/src/com/google/common/collect/
DAbstractMultimap.java109 private transient int totalSize; field in AbstractMultimap
126 totalSize = 0; in setMap()
129 totalSize += values.size(); in setMap()
167 return totalSize; in size()
172 return totalSize == 0; in isEmpty()
204 totalSize++; in put()
229 totalSize--; in remove()
257 totalSize += (collection.size() - oldSize); in putAll()
287 totalSize -= collection.size(); in replaceValues()
292 totalSize++; in replaceValues()
[all …]
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DStatistics.java119 private int totalSize; field in Statistics.Data
138 this.totalSize = size; in Data()
152 totalSize += size; in add()
182 totalSize + " bytes total\n"); in toHuman()
187 int average = totalSize / count; in toHuman()
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
DTerrainQuad.java96 protected int totalSize; // the size of this entire terrain tree (on one side) field in TerrainQuad
148 public TerrainQuad(String name, int patchSize, int totalSize, float[] heightMap) {
149 this(name, patchSize, totalSize, Vector3f.UNIT_XYZ, heightMap);
162 public TerrainQuad(String name, int patchSize, int quadSize, int totalSize, float[] heightMap) {
163 this(name, patchSize, totalSize, quadSize, Vector3f.UNIT_XYZ, heightMap);
194 …public TerrainQuad(String name, int patchSize, int totalSize, int quadSize, Vector3f scale, float[…
195 this(name, patchSize, quadSize, scale, heightMap, totalSize, new Vector2f(), 0);
196 …affectedAreaBBox = new BoundingBox(new Vector3f(0,0,0), totalSize*2, Float.MAX_VALUE, totalSize*2);
202 Vector3f scale, float[] heightMap, int totalSize,
219 this.totalSize = totalSize;
[all …]
DTerrainPatch.java90 protected int totalSize; field in TerrainPatch
169 float[] heightMap, Vector3f origin, int totalSize, in TerrainPatch() argument
174 this.totalSize = totalSize; in TerrainPatch()
181 … Mesh m = geomap.createMesh(stepScale, new Vector2f(1,1), offset, offsetAmount, totalSize, false); in TerrainPatch()
631 return totalSize; in getTotalSize()
687 public void setTotalSize(int totalSize) { in setTotalSize() argument
688 this.totalSize = totalSize; in setTotalSize()
879 oc.write(totalSize, "totalSize", 16); in write()
897 totalSize = ic.readInt("totalSize", 16); in read()
908 …sh regen = geomap.createMesh(stepScale, new Vector2f(1,1), offset, offsetAmount, totalSize, false); in read()
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
DScrollbarThemeOverlay.cpp61 if (!scrollbar->totalSize()) in thumbPosition()
65 float proportion = static_cast<float>(scrollbar->currentPos()) / scrollbar->totalSize(); in thumbPosition()
73 if (!scrollbar->totalSize()) in thumbLength()
76 float proportion = static_cast<float>(scrollbar->visibleSize()) / scrollbar->totalSize(); in thumbLength()
/external/chromium_org/tools/deep_memory_profiler/visualizer/static/
Dprofiler.js187 var totalSize = 0;
214 totalSize += size;
274 if (size > retVal.totalSize) {
277 size: size - retVal.totalSize
279 } else if (size < retVal.totalSize) {
295 totalSize: totalSize,
/external/freetype/src/cff/
Dcf2arrst.c70 arrstack->totalSize = 0; in cf2_arrstack_init()
85 arrstack->totalSize = 0; in cf2_arrstack_finalize()
113 if ( !FT_REALLOC( arrstack->ptr, arrstack->totalSize, newSize ) ) in cf2_arrstack_setNumElements()
116 arrstack->totalSize = newSize; in cf2_arrstack_setNumElements()
/external/chromium_org/third_party/freetype/src/cff/
Dcf2arrst.c70 arrstack->totalSize = 0; in cf2_arrstack_init()
85 arrstack->totalSize = 0; in cf2_arrstack_finalize()
113 if ( !FT_REALLOC( arrstack->ptr, arrstack->totalSize, newSize ) ) in cf2_arrstack_setNumElements()
116 arrstack->totalSize = newSize; in cf2_arrstack_setNumElements()
/external/icu4c/common/
Ducnvsel.cpp183 int32_t totalSize = 0; in ucnvsel_open() local
186 totalSize += in ucnvsel_open()
190 int32_t encodingStrPadding = totalSize & 3; in ucnvsel_open()
194 newSelector->encodingStrLength = totalSize += encodingStrPadding; in ucnvsel_open()
195 char* allStrings = (char*) uprv_malloc(totalSize); in ucnvsel_open()
315 int32_t totalSize = in ucnvsel_serialize() local
321 indexes[UCNVSEL_INDEX_SIZE] = totalSize - header.dataHeader.headerSize; in ucnvsel_serialize()
322 if (totalSize > bufferCapacity) { in ucnvsel_serialize()
324 return totalSize; in ucnvsel_serialize()
346 return totalSize; in ucnvsel_serialize()
[all …]
/external/chromium_org/third_party/icu/source/common/
Ducnvsel.cpp181 int32_t totalSize = 0; in ucnvsel_open() local
184 totalSize += in ucnvsel_open()
188 int32_t encodingStrPadding = totalSize & 3; in ucnvsel_open()
192 newSelector->encodingStrLength = totalSize += encodingStrPadding; in ucnvsel_open()
193 char* allStrings = (char*) uprv_malloc(totalSize); in ucnvsel_open()
313 int32_t totalSize = in ucnvsel_serialize() local
319 indexes[UCNVSEL_INDEX_SIZE] = totalSize - header.dataHeader.headerSize; in ucnvsel_serialize()
320 if (totalSize > bufferCapacity) { in ucnvsel_serialize()
322 return totalSize; in ucnvsel_serialize()
344 return totalSize; in ucnvsel_serialize()
[all …]
Drbbirb.cpp165 int32_t totalSize = headerSize + forwardTableSize + reverseTableSize in flattenData() local
169 RBBIDataHeader *data = (RBBIDataHeader *)uprv_malloc(totalSize); in flattenData()
174 uprv_memset(data, 0, totalSize); in flattenData()
182 data->fLength = totalSize; in flattenData()
/external/lzma/C/
DXzIn.c60 ADD_SIZE_CHECH(size, (p->blocks[i].totalSize + 3) & ~(UInt64)3); in Xz_GetPackSize()
104 READ_VARINT_AND_CHECK(buf, pos, size, &block->totalSize); in Xz_ReadIndex2()
106 if (block->totalSize == 0) in Xz_ReadIndex2()
206 UInt64 totalSize = Xz_GetPackSize(p); in Xz_ReadBackward() local
207 UInt64 sum = XZ_STREAM_HEADER_SIZE + totalSize + indexSize; in Xz_ReadBackward()
208 if (totalSize == XZ_SIZE_OVERFLOW || in Xz_ReadBackward()
210 totalSize >= ((UInt64)1 << 63)) in Xz_ReadBackward()
/external/skia/src/utils/
DSkFrontBufferedStream.cpp160 SkDEBUGCODE(const size_t totalSize = size;) in read()
170 SkASSERT(size + (fOffset - start) == totalSize); in read()
184 SkASSERT(size + (fOffset - start) == totalSize); in read()
193 SkASSERT(size + (fOffset - start) == totalSize); in read()
/external/chromium_org/third_party/skia/src/utils/
DSkFrontBufferedStream.cpp164 SkDEBUGCODE(const size_t totalSize = size;) in read()
174 SkASSERT(size + (fOffset - start) == totalSize); in read()
188 SkASSERT(size + (fOffset - start) == totalSize); in read()
197 SkASSERT(size + (fOffset - start) == totalSize); in read()
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/metadata/
Dexif_parser.js314 var totalSize = tag.componentCount * size;
315 if (totalSize < 1) {
322 if (totalSize > 4) {
337 if (totalSize > 4) {
340 } else if (totalSize < 4) {
343 br.seek(4 - totalSize, ByteReader.SEEK_CUR);
/external/chromium_org/third_party/WebKit/Source/platform/exported/
DWebScrollbarThemeClientImpl.cpp174 return totalSize() - maximum(); in visibleSize()
177 int WebScrollbarThemeClientImpl::totalSize() const in totalSize() function in WebCore::WebScrollbarThemeClientImpl
179 return m_scrollbar->totalSize(); in totalSize()
/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/
DMipMapGenerator.java90 int totalSize = 0; in generateMipMaps() local
97 totalSize += converted.getData(0).capacity(); in generateMipMaps()
111 ByteBuffer combinedData = BufferUtils.createByteBuffer(totalSize); in generateMipMaps()
/external/chromium_org/third_party/WebKit/public/web/
DWebApplicationCacheHost.h102 long long totalSize; member
103 CacheInfo() : creationTime(0), updateTime(0), totalSize(0) { } in CacheInfo()

12345