/frameworks/base/graphics/java/android/graphics/ |
D | YuvImage.java | 139 int[] offsets = calculateOffsets(rectangle.left, rectangle.top); in compressToJpeg() local 142 rectangle.height(), offsets, mStrides, quality, stream, in compressToJpeg() 183 int[] offsets = null; in calculateOffsets() local 185 offsets = new int[] {top * mStrides[0] + left, in calculateOffsets() 188 return offsets; in calculateOffsets() 192 offsets = new int[] {top * mStrides[0] + left / 2 * 4}; in calculateOffsets() 193 return offsets; in calculateOffsets() 196 return offsets; in calculateOffsets() 238 int format, int width, int height, int[] offsets, int[] strides, in nativeCompressToJpeg() argument
|
/frameworks/base/libs/androidfw/tests/ |
D | TypeWrappers_test.cpp | 33 uint32_t offsets[3]; in createTypeData() local 34 t.entriesStart = t.header.headerSize + sizeof(offsets); in createTypeData() 37 offsets[0] = 0; in createTypeData() 48 offsets[1] = ResTable_type::NO_ENTRY; in createTypeData() 50 offsets[2] = sizeof(e1) + sizeof(v1); in createTypeData() 65 memcpy(p, offsets, sizeof(offsets)); in createTypeData() 66 p += sizeof(offsets); in createTypeData()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | BlackLevelPattern.java | 47 public BlackLevelPattern(int[] offsets) { in BlackLevelPattern() argument 48 if (offsets == null) { in BlackLevelPattern() 51 if (offsets.length < COUNT) { in BlackLevelPattern() 54 mCfaOffsets = Arrays.copyOf(offsets, COUNT); in BlackLevelPattern()
|
/frameworks/base/core/java/android/view/textservice/ |
D | SentenceSuggestionsInfo.java | 46 SuggestionsInfo[] suggestionsInfos, int[] offsets, int[] lengths) { in SentenceSuggestionsInfo() argument 47 if (suggestionsInfos == null || offsets == null || lengths == null) { in SentenceSuggestionsInfo() 50 if (suggestionsInfos.length != offsets.length || offsets.length != lengths.length) { in SentenceSuggestionsInfo() 55 mOffsets = Arrays.copyOf(offsets, infoSize); in SentenceSuggestionsInfo()
|
/frameworks/base/core/jni/android/graphics/ |
D | YuvToJpegEncoder.cpp | 25 int height, int* offsets, int jpegQuality) { in encode() argument 43 compress(&cinfo, (uint8_t*) inYuv, offsets); in encode() 72 uint8_t* yuv, int* offsets) { in compress() argument 84 uint8_t* yPlanar = yuv + offsets[0]; in compress() 85 uint8_t* vuPlanar = yuv + offsets[1]; //width * height; in compress() 148 uint8_t* yuv, int* offsets) { in compress() argument 164 uint8_t* yuvOffset = yuv + offsets[0]; in compress() 220 jint format, jint width, jint height, jintArray offsets, in YuvImage_compressToJpeg() argument 226 jint* imgOffsets = env->GetIntArrayElements(offsets, NULL); in YuvImage_compressToJpeg() 237 env->ReleaseIntArrayElements(offsets, imgOffsets, 0); in YuvImage_compressToJpeg()
|
D | YuvToJpegEncoder.h | 34 int height, int* offsets, int jpegQuality); 45 uint8_t* yuv, int* offsets) = 0; 59 void compress(jpeg_compress_struct* cinfo, uint8_t* yuv, int* offsets); 69 void compress(jpeg_compress_struct* cinfo, uint8_t* yuv, int* offsets);
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmWriter.cpp | 489 uint64_t offsets[nElems]; in start() local 498 offsets[i] = ::lseek(mFd, 0, SEEK_CUR); in start() 503 mSegmentOffset = offsets[1]; in start() 504 mSegmentDataStart = offsets[2]; in start() 505 mInfoOffset = offsets[3]; in start() 507 mTracksOffset = offsets[4]; in start() 508 mCuesOffset = offsets[5]; in start()
|
/frameworks/base/core/java/android/service/textservice/ |
D | SpellCheckerService.java | 422 final int[] offsets = new int[querySize]; in reconstructSuggestions() local 436 offsets[i] = item.mStart; in reconstructSuggestions() 443 : "<none>") + ", offset = " + offsets[i] + ", length = " in reconstructSuggestions() 447 return new SentenceSuggestionsInfo(reconstructedSuggestions, offsets, lengths); in reconstructSuggestions()
|
/frameworks/native/libs/binder/ |
D | IPCThreadState.cpp | 151 << "offsets=" << btd->data.ptr.offsets << " (" << (void*)btd->offsets_size in printBinderTransactionData() 761 reinterpret_cast<const binder_size_t*>(tr.data.ptr.offsets), in waitForResponse() 769 reinterpret_cast<const binder_size_t*>(tr.data.ptr.offsets), in waitForResponse() 776 reinterpret_cast<const binder_size_t*>(tr.data.ptr.offsets), in waitForResponse() 919 tr.data.ptr.offsets = data.ipcObjects(); in writeTransactionData() 926 tr.data.ptr.offsets = 0; in writeTransactionData() 1035 reinterpret_cast<const binder_size_t*>(tr.data.ptr.offsets), in executeCommand() 1080 << reinterpret_cast<const size_t*>(tr.data.ptr.offsets) << endl; in executeCommand()
|
/frameworks/native/cmds/servicemanager/ |
D | binder.c | 45 binder_size_t *offs = (binder_size_t *)(uintptr_t)txn->data.ptr.offsets; in binder_dump_txn() 190 data.txn.data.ptr.offsets = 0; in binder_send_reply() 196 data.txn.data.ptr.offsets = (uintptr_t)reply->offs0; in binder_send_reply() 339 writebuf.txn.data.ptr.offsets = (uintptr_t)msg->offs0; in binder_call() 409 bio->offs = bio->offs0 = (binder_size_t *)(intptr_t)txn->data.ptr.offsets; in bio_init_from_txn()
|
/frameworks/base/core/java/android/view/animation/ |
D | AnimationSet.java | 496 final long[] offsets = mStoredOffsets; in restoreChildrenStartOffset() local 497 if (offsets == null) return; in restoreChildrenStartOffset() 503 children.get(i).setStartOffset(offsets[i]); in restoreChildrenStartOffset()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | BaseGridView.java | 502 public void getViewSelectedOffsets(View view, int[] offsets) { in getViewSelectedOffsets() argument 503 mLayoutManager.getViewSelectedOffsets(view, offsets); in getViewSelectedOffsets()
|
D | GridLayoutManager.java | 2033 public void getViewSelectedOffsets(View view, int[] offsets) { 2035 offsets[0] = getPrimarySystemScrollPosition(view) - mScrollOffsetPrimary; 2036 offsets[1] = getSecondarySystemScrollPosition(view) - mScrollOffsetSecondary; 2038 offsets[1] = getPrimarySystemScrollPosition(view) - mScrollOffsetPrimary; 2039 offsets[0] = getSecondarySystemScrollPosition(view) - mScrollOffsetSecondary;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
D | ExifOutputStream.java | 469 long[] offsets = new long[stripCount]; in calculateAllOffset() local 471 offsets[i] = offset; in calculateAllOffset() 475 offsets); in calculateAllOffset()
|
/frameworks/base/libs/hwui/ |
D | SpotShadow.h | 69 static int getEdgeStartIndex(const int* offsets, int rayIndex, int totalRayNumber,
|
D | SpotShadow.cpp | 1196 inline int SpotShadow::getEdgeStartIndex(const int* offsets, int rayIndex, int totalRayNumber, in getEdgeStartIndex() argument 1198 int tempOffset = offsets[rayIndex]; in getEdgeStartIndex()
|
/frameworks/rs/driver/ |
D | rsdAllocation.cpp | 315 size_t offsets[Allocation::MAX_LOD]; in AllocationBuildPointerTable() local 316 memset(offsets, 0, sizeof(offsets)); in AllocationBuildPointerTable() 324 offsets[ct] = (size_t)alloc->mHal.drvState.lod[ct].mallocPtr; in AllocationBuildPointerTable() 336 offsets[lod] = o; in AllocationBuildPointerTable() 348 alloc->mHal.drvState.lod[lod].mallocPtr = ptr + offsets[lod]; in AllocationBuildPointerTable()
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 236 jlong* offsets = (jlong*)env->GetPrimitiveArrayCritical(outOffsets, 0); in returnParcelFileDescriptor() local 237 if (offsets == NULL) { in returnParcelFileDescriptor() 242 offsets[0] = startOffset; in returnParcelFileDescriptor() 243 offsets[1] = length; in returnParcelFileDescriptor() 245 env->ReleasePrimitiveArrayCritical(outOffsets, offsets, 0); in returnParcelFileDescriptor()
|
/frameworks/base/docs/html/training/gestures/ |
D | scroll.jd | 78 actually draw anything. Scrollers track scroll offsets for you over time, but 139 visible in the screen. Because pixel offsets are generally treated as integers,
|
/frameworks/base/docs/html/training/custom-views/ |
D | making-interactive.jd | 215 … technique requires that you compute scroll offsets in {@link android.view.View#onDraw onDraw()}
|
/frameworks/base/docs/html/guide/topics/sensors/ |
D | sensors_motion.jd | 473 the device on a table, and then read the offsets for all three axes. You can then subtract that
|
/frameworks/base/docs/html/training/articles/ |
D | perf-jni.jd | 133 * field offsets. This native function looks up and caches interesting
|