/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | NativeFrame.java | 38 int capacity = format.getSize(); in NativeFrame() 111 if (ints.length * nativeIntSize() > getFormat().getSize()) { in setInts() 114 (getFormat().getSize() / nativeIntSize()) + " integers)."); in setInts() 122 return getNativeInts(getFormat().getSize()); in getInts() 128 if (floats.length * nativeFloatSize() > getFormat().getSize()) { in setFloats() 131 (getFormat().getSize() / nativeFloatSize()) + " floats)."); in setFloats() 139 return getNativeFloats(getFormat().getSize()); in getFloats() 152 } else if (getFormat().getSize() != length) { in setData() 154 "Frame size is " + getFormat().getSize() + " bytes, but " + in setData() 163 byte[] data = getNativeData(getFormat().getSize()); in getData() [all …]
|
D | VertexFrame.java | 36 if (getFormat().getSize() <= 0) { in VertexFrame() 39 if (!nativeAllocate(getFormat().getSize())) { in VertexFrame() 91 if (getFormat().getSize() != bytes.length) { in setData()
|
D | GLFrame.java | 83 } else if (getFormat().getSize() < 0) { in init() 207 if (getFormat().getSize() != bytes.length) { in setData() 255 if (getFormat().getSize() < frame.getFormat().getSize()) { in setDataFromFrame() 257 "Attempting to assign frame of size " + frame.getFormat().getSize() + " to " + in setDataFromFrame() 258 "smaller GL frame of size " + getFormat().getSize() + "!"); in setDataFromFrame()
|
D | CachedFrameManager.java | 101 int frameSize = frame.getFormat().getSize(); in storeFrame() 125 mStorageSize -= frame.getFormat().getSize(); in dropOldestFrame() 146 mStorageSize -= format.getSize(); in findAvailableFrame()
|
/frameworks/av/media/libeffects/dynamicsproc/dsp/ |
D | SHCircularBuffer.h | 42 if (mWriteIndex >= getSize()) { in write() 47 ALOGE("Error: SHCircularBuffer no space to write. allocated size %zu ", getSize()); in write() 54 if (mReadIndex >= getSize()) { in read() 67 return getSize() - mReadAvailable; in availableToWrite() 69 inline size_t getSize() const { in getSize() function
|
/frameworks/base/core/java/android/os/ |
D | HidlMemoryUtil.java | 143 Preconditions.checkArgumentInRange(mem.getSize(), 0L, (long) Integer.MAX_VALUE, in hidlMemoryToByteArray() 145 Preconditions.checkArgument(mem.getSize() == 0 || mem.getName().equals("ashmem"), in hidlMemoryToByteArray() 148 if (mem.getSize() == 0) { in hidlMemoryToByteArray() 169 Preconditions.checkArgumentInRange(mem.getSize(), 0L, (long) Integer.MAX_VALUE, in hidlMemoryToByteList() 171 Preconditions.checkArgument(mem.getSize() == 0 || mem.getName().equals("ashmem"), in hidlMemoryToByteList() 174 if (mem.getSize() == 0) { in hidlMemoryToByteList() 198 return fileDescriptorToHidlMemory(shmem.getFileDescriptor(), shmem.getSize()); in sharedMemoryToHidlMemory() 225 final int size = (int) mem.getSize(); in getBuffer()
|
D | MemoryFile.java | 120 return mSharedMemory.getSize(); in length() 243 public static int getSize(FileDescriptor fd) throws IOException { in getSize() method in MemoryFile 255 if (mOffset >= mSharedMemory.getSize()) { in available() 258 return mSharedMemory.getSize() - mOffset; in available() 308 if (mOffset + n > mSharedMemory.getSize()) { in skip() 309 n = mSharedMemory.getSize() - mOffset; in skip()
|
/frameworks/av/media/ndk/ |
D | NdkMediaDataSource.cpp | 48 AMediaDataSourceGetSize getSize; member 58 AMediaDataSource_setGetSize(mDataSource, dataSource->getSize); in NdkDataSource() 86 status_t NdkDataSource::getSize(off64_t *size) { in getSize() function in NdkDataSource 88 if (mDataSource->getSize == NULL || mDataSource->userdata == NULL) { in getSize() 92 *size = mDataSource->getSize(mDataSource->userdata); in getSize() 188 mSource->getSize = NULL; in AMediaDataSource_new() 238 void AMediaDataSource_setGetSize(AMediaDataSource *mSource, AMediaDataSourceGetSize getSize) { in AMediaDataSource_setGetSize() argument 239 mSource->getSize = getSize; in AMediaDataSource_setGetSize()
|
/frameworks/base/tools/aapt/ |
D | ZipFile.cpp | 794 size_t getSize; in compressFpToFp() local 801 getSize = size > kBufSize ? kBufSize : size; in compressFpToFp() 802 memcpy(inBuf, data, getSize); in compressFpToFp() 803 data = ((const char*)data) + getSize; in compressFpToFp() 804 size -= getSize; in compressFpToFp() 806 getSize = fread(inBuf, 1, kBufSize, srcFp); in compressFpToFp() 812 if (getSize < kBufSize) { in compressFpToFp() 814 (int)getSize); in compressFpToFp() 818 crc = crc32(crc, inBuf, getSize); in compressFpToFp() 821 zstream.avail_in = getSize; in compressFpToFp() [all …]
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | ImageDecoderTest.java | 45 assertThat(info.getSize().getWidth()).isEqualTo(432); in onDecodeHeader_png_returnsPopulatedData() 46 assertThat(info.getSize().getHeight()).isEqualTo(291); in onDecodeHeader_png_returnsPopulatedData() 59 assertThat(info.getSize().getWidth()).isEqualTo(278); in onDecodeHeader_animatedWebP_returnsPopulatedData() 60 assertThat(info.getSize().getHeight()).isEqualTo(183); in onDecodeHeader_animatedWebP_returnsPopulatedData()
|
/frameworks/native/opengl/libs/EGL/ |
D | BlobCache.cpp | 117 size_t newTotalSize = mTotalSize + valueSize - oldValueBlob->getSize(); in set() 158 size_t valueBlobSize = valueBlob->getSize(); in get() 179 size += align4(sizeof(EntryHeader) + keyBlob->getSize() + valueBlob->getSize()); in getFlattenedSize() 205 size_t keySize = keyBlob->getSize(); in flatten() 206 size_t valueSize = valueBlob->getSize(); in flatten() 307 mTotalSize -= entry.getKey()->getSize() + entry.getValue()->getSize(); in clean() 341 size_t BlobCache::Blob::getSize() const { in getSize() function in android::BlobCache::Blob
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/animation/ |
D | MeasurementInput.kt | 38 return View.MeasureSpec.getSize(widthMeasureSpec) 42 return View.MeasureSpec.getSize(heightMeasureSpec)
|
/frameworks/av/media/libstagefright/ |
D | CallbackDataSource.cpp | 93 status_t CallbackDataSource::getSize(off64_t *size) { in getSize() function in android::CallbackDataSource 94 status_t err = mIDataSource->getSize(size); in getSize() 182 status_t TinyCacheSource::getSize(off64_t *size) { in getSize() function in android::TinyCacheSource 183 return mSource->getSize(size); in getSize()
|
/frameworks/base/core/java/android/hardware/camera2/extension/ |
D | ExtensionOutputConfiguration.java | 72 if (surface.getSize() != null) { in initializeOutputConfig() 74 config.size.width = surface.getSize().getWidth(); in initializeOutputConfig() 75 config.size.height = surface.getSize().getHeight(); in initializeOutputConfig()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | FrameManager.java | 127 public int getSize() { in getSize() method in FrameManager.BackingCache 149 public int getSize() { in getSize() method in FrameManager.BackingCacheNone 182 mSize -= backing.getSize(); in fetchBacking() 193 if (reserve(backing.getSize())) { in cacheBacking() 225 mSize -= dropped.getSize(); in reserve() 303 return mCache.getSize(); in getCacheSize()
|
/frameworks/av/media/libstagefright/include/ |
D | ThrottledSource.h | 45 virtual status_t getSize(off64_t *size) { in getSize() function 46 return mSource->getSize(size); in getSize()
|
/frameworks/av/media/img_utils/src/ |
D | TiffIfd.cpp | 120 valueOffset += mEntries[i]->getSize(); in writeData() 124 uint32_t footer = (mNextIfd != NULL) ? offset + getSize() : 0; in writeData() 136 if (mEntries[i]->getSize() > OFFSET_SIZE) { in writeData() 141 size_t actual = mEntries[i]->getSize(); in writeData() 148 assert(out->getCurrentOffset() == offset + getSize()); in writeData() 153 size_t TiffIfd::getSize() const { in getSize() function in android::img_utils::TiffIfd 158 total += mEntries[i]->getSize(); in getSize()
|
/frameworks/base/core/java/android/inputmethodservice/navigationbar/ |
D | DeadZone.java | 94 private float getSize(long now) { in getSize() method in DeadZone 152 int size = (int) getSize(event.getEventTime()); in onTouchEvent() 183 Log.v(TAG, "poked! size=" + getSize(mLastPokeTime)); 202 final int size = (int) getSize(SystemClock.uptimeMillis());
|
/frameworks/base/services/core/java/com/android/server/input/debug/ |
D | RotaryInputGraphView.java | 104 while (mGraphValues.getSize() > 0 in addValue() 110 if (mGraphValues.getSize() == 0) { in addValue() 118 final float prevPos = (mGraphValues.getSize() == 0 ? 0 : mGraphValues.getLast().mPos); in addValue() 183 if (mGraphValues.getSize() == 0) { 317 int getSize() {
|
/frameworks/base/core/java/android/os/health/ |
D | HealthStatsWriter.java | 68 final int timerCount = constants.getSize(HealthKeys.TYPE_TIMER); in HealthStatsWriter() 74 final int measurementCount = constants.getSize(HealthKeys.TYPE_MEASUREMENT); in HealthStatsWriter() 79 final int statsCount = constants.getSize(HealthKeys.TYPE_STATS); in HealthStatsWriter() 83 final int timersCount = constants.getSize(HealthKeys.TYPE_TIMERS); in HealthStatsWriter() 87 final int measurementsCount = constants.getSize(HealthKeys.TYPE_MEASUREMENTS); in HealthStatsWriter()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ |
D | DeadZone.java | 103 private float getSize(long now) { in getSize() method in DeadZone 172 int size = (int) getSize(event.getEventTime()); in onTouchEvent() 202 Slog.v(TAG, "poked! size=" + getSize(mLastPokeTime)); 220 final int size = (int) getSize(SystemClock.uptimeMillis());
|
/frameworks/base/core/java/android/util/jar/ |
D | StrictJarFile.java | 216 return new JarFileInputStream(is, ze.getSize(), entry); in getInputStream() 249 ze.getDataOffset() + ze.getSize()); in getZipInputStream() 254 int bufSize = Math.max(1024, (int) Math.min(ze.getSize(), 65535L)); in getZipInputStream() 409 if (entry.getSize() != bytesRead) { in read() 411 + entry.getSize()); in read() 426 return super.available() == 0 ? 0 : (int) (entry.getSize() - bytesRead); in available()
|
/frameworks/native/include/binder/ |
D | IMemory.h | 43 virtual size_t getSize() const = 0; 50 size_t virtualSize() const { return getSize(); } in virtualSize()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedLockImageSpan.java | 64 public int getSize(Paint paint, CharSequence text, int start, int end, in getSize() method in RestrictedLockImageSpan 66 int size = super.getSize(paint, text, start, end, fontMetrics); in getSize()
|
/frameworks/native/libs/binder/include/binder/ |
D | IMemory.h | 43 virtual size_t getSize() const = 0; 50 size_t virtualSize() const { return getSize(); } in virtualSize()
|