/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/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 | 27 int height, int* offsets, int jpegQuality) { in encode() argument 45 compress(&cinfo, (uint8_t*) inYuv, offsets); in encode() 74 uint8_t* yuv, int* offsets) { in compress() argument 86 uint8_t* yPlanar = yuv + offsets[0]; in compress() 87 uint8_t* vuPlanar = yuv + offsets[1]; //width * height; in compress() 150 uint8_t* yuv, int* offsets) { in compress() argument 166 uint8_t* yuvOffset = yuv + offsets[0]; in compress() 222 jint format, jint width, jint height, jintArray offsets, in YuvImage_compressToJpeg() argument 228 jint* imgOffsets = env->GetIntArrayElements(offsets, NULL); in YuvImage_compressToJpeg() 239 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/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/av/media/libstagefright/webm/ |
D | WebmWriter.cpp | 456 uint64_t offsets[nElems]; in start() local 465 offsets[i] = ::lseek(mFd, 0, SEEK_CUR); in start() 470 mSegmentOffset = offsets[1]; in start() 471 mSegmentDataStart = offsets[2]; in start() 472 mInfoOffset = offsets[3]; in start() 474 mTracksOffset = offsets[4]; in start() 475 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/rs/ |
D | rsAllocation.cpp | 117 void Allocation::adapterOffset(Context *rsc, const uint32_t *offsets, size_t len) { in adapterOffset() argument 119 mHal.state.originX = offsets[0]; in adapterOffset() 120 mHal.state.originY = offsets[1]; in adapterOffset() 121 mHal.state.originZ = offsets[2]; in adapterOffset() 122 mHal.state.originLOD = offsets[3]; in adapterOffset() 123 mHal.state.originFace = offsets[4]; in adapterOffset() 124 mHal.state.originArray[0] = offsets[5]; in adapterOffset() 125 mHal.state.originArray[1] = offsets[6]; in adapterOffset() 126 mHal.state.originArray[2] = offsets[7]; in adapterOffset() 127 mHal.state.originArray[3] = offsets[8]; in adapterOffset() [all …]
|
D | rsAllocation.h | 183 void adapterOffset(Context *rsc, const uint32_t *offsets, size_t len);
|
D | rs.spec | 104 param const uint32_t *offsets
|
/frameworks/native/libs/binder/ |
D | IPCThreadState.cpp | 134 << "offsets=" << btd->data.ptr.offsets << " (" << (void*)btd->offsets_size in printBinderTransactionData() 764 reinterpret_cast<const binder_size_t*>(tr.data.ptr.offsets), in waitForResponse() 772 reinterpret_cast<const binder_size_t*>(tr.data.ptr.offsets), in waitForResponse() 779 reinterpret_cast<const binder_size_t*>(tr.data.ptr.offsets), in waitForResponse() 922 tr.data.ptr.offsets = data.ipcObjects(); in writeTransactionData() 929 tr.data.ptr.offsets = 0; in writeTransactionData() 1038 reinterpret_cast<const binder_size_t*>(tr.data.ptr.offsets), in executeCommand() 1083 << reinterpret_cast<const size_t*>(tr.data.ptr.offsets) << endl; in executeCommand()
|
/frameworks/native/cmds/servicemanager/ |
D | binder.c | 46 binder_size_t *offs = (binder_size_t *)(uintptr_t)txn->data.ptr.offsets; in binder_dump_txn() 193 data.txn.data.ptr.offsets = 0; in binder_send_reply() 199 data.txn.data.ptr.offsets = (uintptr_t)reply->offs0; in binder_send_reply() 342 writebuf.txn.data.ptr.offsets = (uintptr_t)msg->offs0; in binder_call() 412 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 | 611 public void getViewSelectedOffsets(View view, int[] offsets) { in getViewSelectedOffsets() argument 612 mLayoutManager.getViewSelectedOffsets(view, offsets); in getViewSelectedOffsets()
|
D | GridLayoutManager.java | 2282 public void getViewSelectedOffsets(View view, int[] offsets) { 2284 offsets[0] = getPrimarySystemScrollPosition(view) - mScrollOffsetPrimary; 2285 offsets[1] = getSecondarySystemScrollPosition(view) - mScrollOffsetSecondary; 2287 offsets[1] = getPrimarySystemScrollPosition(view) - mScrollOffsetPrimary; 2288 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/rs/driver/ |
D | rsdAllocation.cpp | 318 size_t offsets[Allocation::MAX_LOD]; in AllocationBuildPointerTable() local 319 memset(offsets, 0, sizeof(offsets)); in AllocationBuildPointerTable() 327 offsets[ct] = (size_t)alloc->mHal.drvState.lod[ct].mallocPtr; in AllocationBuildPointerTable() 339 offsets[lod] = o; in AllocationBuildPointerTable() 351 alloc->mHal.drvState.lod[lod].mallocPtr = ptr + offsets[lod]; in AllocationBuildPointerTable()
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 238 jlong* offsets = (jlong*)env->GetPrimitiveArrayCritical(outOffsets, 0); in returnParcelFileDescriptor() local 239 if (offsets == NULL) { in returnParcelFileDescriptor() 244 offsets[0] = startOffset; in returnParcelFileDescriptor() 245 offsets[1] = length; in returnParcelFileDescriptor() 247 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
|
/frameworks/base/docs/html/ndk/reference/ |
D | group___input.jd | 2261 <p>The motion event contains relative vertical and/or horizontal scroll offsets. Use getAxisValue t…
|