Home
last modified time | relevance | path

Searched refs:outSize (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/graphics/java/android/graphics/pdf/
DPdfEditor.java167 public void getPageSize(int pageIndex, @NonNull Point outSize) { in getPageSize() argument
169 throwIfOutSizeNull(outSize); in getPageSize()
173 nativeGetPageSize(mNativeDocument, pageIndex, outSize); in getPageSize()
329 private void throwIfOutSizeNull(Point outSize) { in throwIfOutSizeNull() argument
330 if (outSize == null) { in throwIfOutSizeNull()
366 private static native void nativeGetPageSize(long documentPtr, int pageIndex, Point outSize); in nativeGetPageSize() argument
/frameworks/av/media/codec2/components/gsm/
DC2SoftGsmDec.cpp145 size_t outSize = 0; in decodeGSM() local
155 outSize += FRGSM_OUT_FRM_SZ; in decodeGSM()
161 outSize += FRGSM_OUT_FRM_SZ; in decodeGSM()
165 return outSize * sizeof(int16_t); in decodeGSM()
226 size_t outSize = decodeGSM(mGsm, output, outCapacity, input, inSize); in process() local
227 if (!outSize) { in process()
233 ALOGV("out buffer attr. size %zu", outSize); in process()
236 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, 0, outSize)); in process()
/frameworks/av/media/codec2/components/mp3/
DC2SoftMp3Dec.cpp401 int outSize = 0; in process() local
416 mConfig->outputFrameSize = (calOutSize - outSize) / sizeof(int16_t); in process()
417 mConfig->pOutputBuffer = reinterpret_cast<int16_t *> (wView.data() + outSize); in process()
468 outSize += mConfig->outputFrameSize * sizeof(int16_t); in process()
483 outSize + kPVMP3DecoderDelay * numChannels * sizeof(int16_t)) { in process()
484 if (!memset(reinterpret_cast<int16_t*>(wView.data() + outSize), 0, in process()
492 outSize += kPVMP3DecoderDelay * numChannels * sizeof(int16_t); in process()
499 mProcessedSamples += ((outSize - outOffset) / (numChannels * sizeof(int16_t))); in process()
501 outSize - outOffset, mAnchorTimeStamp + outTimeStamp); in process()
504 createLinearBuffer(block, outOffset, outSize - outOffset)); in process()
/frameworks/minikin/libs/minikin/
DLocaleListCache.cpp35 static size_t toLanguageTag(char* output, size_t outSize, const StringPiece& locale) { in toLanguageTag() argument
45 outLength = uloc_canonicalize(localeString.c_str(), output, outSize, &uErr); in toLanguageTag()
59 outLength = (size_t)snprintf(output, outSize, "und%s", buf.c_str()); in toLanguageTag()
74 outLength = uloc_toLanguageTag(likelyChars, output, outSize, false, &uErr); in toLanguageTag()
/frameworks/av/media/module/codecs/flac/dec/test/
DFlacDecoderTest.cpp143 size_t outSize = mHasStreamInfo in processFlacDecoder() local
147 void *out_buf = malloc(outSize); in processFlacDecoder()
157 &outSize, outputFloat); in processFlacDecoder()
170 ostrm.write(reinterpret_cast<char *>(out_buf), outSize); in processFlacDecoder()
/frameworks/av/media/codec2/components/flac/
DC2SoftFlacDec.cpp280 size_t outSize = mHasStreamInfo ? in process() local
286 c2_status_t err = pool->fetchLinearBlock(outSize, usage, &block); in process()
300 input, inSize, wView.data(), &outSize, outputFloat); in process()
309 ALOGV("out buffer attr. size %zu", outSize); in process()
312 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, 0, outSize)); in process()
/frameworks/base/core/java/android/view/
DDisplay.java950 public void getSize(Point outSize) { in getSize() argument
954 outSize.x = mTempMetrics.widthPixels; in getSize()
955 outSize.y = mTempMetrics.heightPixels; in getSize()
968 public void getRectSize(Rect outSize) { in getRectSize() argument
972 outSize.set(0, 0, mTempMetrics.widthPixels, mTempMetrics.heightPixels); in getRectSize()
1768 public void getRealSize(Point outSize) { in getRealSize() argument
1774 outSize.x = bounds.width(); in getRealSize()
1775 outSize.y = bounds.height(); in getRealSize()
1777 Log.d(TAG, "getRealSize determined from max bounds: " + outSize); in getRealSize()
1783 outSize.x = mDisplayInfo.logicalWidth; in getRealSize()
[all …]
/frameworks/native/libs/binder/tests/parcel_fuzzer/
Dhwbinder.cpp107 size_t outSize = 0; in __anon0e0202860602() local
108 const char16_t* str = p.readString16Inplace(&outSize); in __anon0e0202860602()
109 FUZZ_LOG() << "readString16Inplace: " << HexString(str, sizeof(char16_t) * outSize); in __anon0e0202860602()
/frameworks/av/media/codec2/components/g711/
DC2SoftG711Dec.cpp160 int outSize = inSize * sizeof(int16_t); in process() local
180 c2_status_t err = pool->fetchLinearBlock(outSize, usage, &block); in process()
202 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, 0, outSize)); in process()
/frameworks/base/libs/androidfw/include/androidfw/
DCursorWindow.h137 inline const void* getFieldSlotValueBlob(FieldSlot* fieldSlot, size_t* outSize) { in getFieldSlotValueBlob() argument
138 *outSize = fieldSlot->data.buffer.size; in getFieldSlotValueBlob()
DBackupHelpers.h140 const String8& rootPath, const String8& filePath, off64_t* outSize,
DAssetManager.h213 uint32_t targetCrc, uint32_t overlayCrc, uint32_t** outData, size_t* outSize);
/frameworks/base/libs/hwui/jni/pdf/
DPdfEditor.cpp162 jint pageIndex, jobject outSize) { in nativeGetPageSize() argument
182 env->SetIntField(outSize, gPointClassInfo.x, width); in nativeGetPageSize()
183 env->SetIntField(outSize, gPointClassInfo.y, height); in nativeGetPageSize()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.h314 inline void applySizeScaleAndBias(float& outSize) const { in applySizeScaleAndBias()
316 outSize *= *sizeScale; in applySizeScaleAndBias()
319 outSize += *sizeBias; in applySizeScaleAndBias()
321 if (outSize < 0) { in applySizeScaleAndBias()
322 outSize = 0; in applySizeScaleAndBias()
/frameworks/native/include/android/
Dnative_activity.h149 void* (*onSaveInstanceState)(ANativeActivity* activity, size_t* outSize);
/frameworks/av/media/codec2/components/opus/
DC2SoftOpusDec.cpp421 int outSize = numSamples * sizeof(int16_t) * mHeader.channels; in process() local
422 ALOGV("out buffer attr. offset %d size %d ", outOffset, outSize); in process()
426 … work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, outOffset, outSize)); in process()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java334 Point outSize = getDefaultWallpaperSize(getResources(), getDisplay()); in cropImageAndSetWallpaper() local
336 inSize.x, inSize.y, outSize.x, outSize.y, false); in cropImageAndSetWallpaper()
346 crop, rotation, outSize.x, outSize.y, true, false, onEndCrop); in cropImageAndSetWallpaper()
/frameworks/libs/binary_translation/native_activity/
Dnative_activity_wrapper.cc79 void* Wrap_OnSaveInstanceState(ANativeActivity* activity, size_t* outSize) { in Wrap_OnSaveInstanceState() argument
87 call.AddArgGuestAddr(ToGuestAddr(outSize)); in Wrap_OnSaveInstanceState()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DWindowMagnificationGestureHandler.java182 private void getScreenSize(Point outSize) { in getScreenSize() argument
184 display.getRealSize(outSize); in getScreenSize()
/frameworks/av/media/codec2/components/vorbis/
DC2SoftVorbisDec.cpp426 int outSize = numFrames * sizeof(int16_t) * mVi->channels; in process() local
430 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, 0, outSize)); in process()
/frameworks/base/libs/androidfw/
DBackupHelpers.cpp486 const String8& rootpath, const String8& filepath, off64_t* outSize, in write_tarfile() argument
497 *outSize = 0; in write_tarfile()
541 *outSize = 512 + (needExtended ? 1024 : 0) + 512*((s.st_size + 511)/512); in write_tarfile()
DAssetManager.cpp331 uint32_t targetCrc, uint32_t overlayCrc, uint32_t** outData, size_t* outSize) in createIdmap() argument
356 targetApkPath, overlayApkPath, (void**)outData, outSize) == NO_ERROR; in createIdmap()
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp346 size_t outSize = frameCount * sizeof(process_buffer_t) * FCC_2; in process() local
352 if (pContext->OutFrames == NULL || pContext->bufferSizeOut < outSize) { in process()
354 pContext->bufferSizeOut = outSize; in process()
/frameworks/base/tools/aapt/
DAaptAssets.cpp466 void* AaptFile::editData(size_t* outSize) in editData() argument
468 if (outSize) { in editData()
469 *outSize = mDataSize; in editData()
DAaptAssets.h173 void* editData(size_t* outSize = NULL);

12