Searched refs:outSize (Results 1 - 21 of 21) sorted by relevance

/frameworks/base/graphics/java/android/graphics/pdf/
H A DPdfEditor.java140 * @param outSize The size output.
142 public void getPageSize(int pageIndex, @NonNull Point outSize) { argument
144 throwIfOutSizeNull(outSize);
146 nativeGetPageSize(mNativeDocument, pageIndex, outSize);
274 private void throwIfOutSizeNull(Point outSize) { argument
275 if (outSize == null) {
276 throw new NullPointerException("outSize cannot be null");
311 private static native void nativeGetPageSize(long documentPtr, int pageIndex, Point outSize); argument
H A DPdfRenderer.java431 Point outSize);
430 nativeOpenPageAndGetSize(long documentPtr, int pageIndex, Point outSize) argument
/frameworks/base/core/java/android/view/
H A DDisplay.java479 * @param outSize A {@link Point} object to receive the size information.
481 public void getSize(Point outSize) { argument
485 outSize.x = mTempMetrics.widthPixels;
486 outSize.y = mTempMetrics.heightPixels;
493 * @param outSize A {@link Rect} object to receive the size information.
496 public void getRectSize(Rect outSize) { argument
500 outSize.set(0, 0, mTempMetrics.widthPixels, mTempMetrics.heightPixels);
794 * @param outSize Set to the real size of the display.
796 public void getRealSize(Point outSize) { argument
799 outSize
[all...]
/frameworks/base/include/androidfw/
H A DCursorWindow.h134 inline const void* getFieldSlotValueBlob(FieldSlot* fieldSlot, size_t* outSize) { argument
135 *outSize = fieldSlot->data.buffer.size;
H A DBackupHelpers.h140 const String8& rootPath, const String8& filePath, off_t* outSize,
H A DAssetManager.h234 uint32_t targetCrc, uint32_t overlayCrc, uint32_t** outData, size_t* outSize);
H A DResourceTypes.h1834 void** outData, size_t* outSize) const;
/frameworks/base/cmds/hid/jni/
H A Dcom_android_commands_hid_Device.cpp176 std::unique_ptr<uint8_t[]> getData(JNIEnv* env, jbyteArray javaArray, size_t& outSize) { argument
178 outSize = scopedArray.size();
179 std::unique_ptr<uint8_t[]> data(new uint8_t[outSize]);
180 for (size_t i = 0; i < outSize; i++) {
/frameworks/native/include/android/
H A Dnative_activity.h145 * outSize with the number of bytes in the allocation. Note that the
149 void* (*onSaveInstanceState)(ANativeActivity* activity, size_t* outSize);
/frameworks/base/core/jni/android/graphics/pdf/
H A DPdfRenderer.cpp108 jint pageIndex, jobject outSize) {
130 env->SetIntField(outSize, gPointClassInfo.x, width);
131 env->SetIntField(outSize, gPointClassInfo.y, height);
107 nativeOpenPageAndGetSize(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, jobject outSize) argument
H A DPdfEditor.cpp231 jint pageIndex, jobject outSize) {
251 env->SetIntField(outSize, gPointClassInfo.x, width);
252 env->SetIntField(outSize, gPointClassInfo.y, height);
230 nativeGetPageSize(JNIEnv* env, jclass thiz, jlong documentPtr, jint pageIndex, jobject outSize) argument
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DWallpaperCropActivity.java334 Point outSize = getDefaultWallpaperSize(getResources(),
337 inSize.x, inSize.y, outSize.x, outSize.y, false);
347 crop, rotation, outSize.x, outSize.y, true, false, onEndCrop);
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DRequestThreadManager.java381 Size outSize = outPair.second;
394 callbackOutputSizes.add(outSize);
400 previewOutputSizes.add(outSize);
/frameworks/native/services/inputflinger/
H A DInputReader.h1378 inline void applySizeScaleAndBias(float* outSize) const {
1380 *outSize *= sizeScale;
1383 *outSize += sizeBias;
1385 if (*outSize < 0) {
1386 *outSize = 0;
/frameworks/base/libs/androidfw/
H A DBackupHelpers.cpp481 const String8& rootpath, const String8& filepath, off_t* outSize,
492 *outSize = 0;
536 *outSize = 512 + (needExtended ? 1024 : 0) + 512*((s.st_size + 511)/512);
480 write_tarfile(const String8& packageName, const String8& domain, const String8& rootpath, const String8& filepath, off_t* outSize, BackupDataWriter* writer) argument
H A DAssetManager.cpp313 uint32_t targetCrc, uint32_t overlayCrc, uint32_t** outData, size_t* outSize)
332 targetApkPath, overlayApkPath, (void**)outData, outSize) == NO_ERROR;
312 createIdmap(const char* targetApkPath, const char* overlayApkPath, uint32_t targetCrc, uint32_t overlayCrc, uint32_t** outData, size_t* outSize) argument
H A DResourceTypes.cpp6366 void** outData, size_t* outSize) const
6386 *outSize = ResTable::IDMAP_HEADER_SIZE_BYTES;
6389 *outSize += 2 * sizeof(uint16_t);
6460 *outSize += (4 * sizeof(uint16_t)) + (typeMap.entryMap.size() * sizeof(uint32_t));
6469 if ((*outData = malloc(*outSize)) == NULL) {
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp367 static void toLanguageTag(char* output, size_t outSize, argument
369 if (output == NULL || outSize <= 0) {
387 uloc_toLanguageTag(likelyChars, output, outSize, FALSE, &uErr);
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp462 void* AaptFile::editData(size_t* outSize) argument
464 if (outSize) {
465 *outSize = mDataSize;
H A DAaptAssets.h173 void* editData(size_t* outSize = NULL);
/frameworks/native/opengl/libagl/
H A Dtexture.cpp362 GGLSurface** outSurface, int32_t* outSize, GLint level,
392 *outSize = size;
404 *outSize = size;
361 createTextureSurface(ogles_context_t* c, GGLSurface** outSurface, int32_t* outSize, GLint level, GLenum format, GLenum type, GLsizei width, GLsizei height, GLenum compressedFormat = 0) argument

Completed in 2572 milliseconds