/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/java/android/hardware/camera2/params/ |
D | BlackLevelPattern.java | 51 public BlackLevelPattern(int[] offsets) { in BlackLevelPattern() argument 52 if (offsets == null) { in BlackLevelPattern() 55 if (offsets.length < COUNT) { in BlackLevelPattern() 58 mCfaOffsets = Arrays.copyOf(offsets, COUNT); in BlackLevelPattern()
|
/frameworks/base/core/jni/android/graphics/ |
D | YuvToJpegEncoder.cpp | 38 int height, int* offsets, int jpegQuality) { in encode() argument 58 compress(&cinfo, (uint8_t*) inYuv, offsets); in encode() 89 uint8_t* yuv, int* offsets) { in compress() argument 101 uint8_t* yPlanar = yuv + offsets[0]; in compress() 102 uint8_t* vuPlanar = yuv + offsets[1]; //width * height; in compress() 165 uint8_t* yuv, int* offsets) { in compress() argument 181 uint8_t* yuvOffset = yuv + offsets[0]; in compress() 237 jint format, jint width, jint height, jintArray offsets, in YuvImage_compressToJpeg() argument 243 jint* imgOffsets = env->GetIntArrayElements(offsets, NULL); in YuvImage_compressToJpeg() 254 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/libnblog/ |
D | Merger.cpp | 83 std::vector<EntryIterator> offsets; in merge() local 84 offsets.reserve(nLogs); in merge() 87 offsets.push_back(snapshots[i]->begin()); in merge() 95 if (offsets[i] != snapshots[i]->end()) { in merge() 96 std::unique_ptr<AbstractEntry> abstractEntry = AbstractEntry::buildEntry(offsets[i]); in merge() 107 offsets[index] = AbstractEntry::buildEntry(offsets[index])-> in merge() 111 if (offsets[index] != snapshots[index]->end()) { in merge() 112 int64_t ts = AbstractEntry::buildEntry(offsets[index])->timestamp(); in merge()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/ |
D | NitzStateMachineTestSupport.java | 130 int[] offsets = new int[2]; in createNitzData() local 131 mZone.getOffset(mActualTimeMillis, false /* local */, offsets); in createNitzData() 132 int zoneOffsetMillis = offsets[0] + offsets[1]; in createNitzData() 134 zoneOffsetMillis, offsets[1], mActualTimeMillis, in createNitzData()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/ |
D | TimeZoneLookupHelper.java | 291 int[] offsets = new int[2]; in offsetMatchesAtTime() local 292 timeZone.getOffset(whenMillis, false /* local */, offsets); in offsetMatchesAtTime() 294 if (totalOffsetMillis != (offsets[0] + offsets[1])) { in offsetMatchesAtTime() 298 return isDst == null || isDst == (offsets[1] != 0); in offsetMatchesAtTime()
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmWriter.cpp | 562 uint64_t offsets[nElems]; in start() local 571 offsets[i] = ::lseek(mFd, 0, SEEK_CUR); in start() 576 mSegmentOffset = offsets[1]; in start() 577 mSegmentDataStart = offsets[2]; in start() 578 mInfoOffset = offsets[3]; in start() 580 mTracksOffset = offsets[4]; in start() 581 mCuesOffset = offsets[5]; in start()
|
/frameworks/rs/ |
D | rsAllocation.cpp | 126 void Allocation::adapterOffset(Context *rsc, const uint32_t *offsets, size_t len) { in adapterOffset() argument 128 mHal.state.originX = offsets[0]; in adapterOffset() 129 mHal.state.originY = offsets[1]; in adapterOffset() 130 mHal.state.originZ = offsets[2]; in adapterOffset() 131 mHal.state.originLOD = offsets[3]; in adapterOffset() 132 mHal.state.originFace = offsets[4]; in adapterOffset() 133 mHal.state.originArray[0] = offsets[5]; in adapterOffset() 134 mHal.state.originArray[1] = offsets[6]; in adapterOffset() 135 mHal.state.originArray[2] = offsets[7]; in adapterOffset() 136 mHal.state.originArray[3] = offsets[8]; in adapterOffset() [all …]
|
D | rsHidlAdaptation.h | 105 …static void AllocationAdapterOffset(RsContext rsc, RsAllocation alloc, const uint32_t * offsets, s…
|
D | rsAllocation.h | 189 void adapterOffset(Context *rsc, const uint32_t *offsets, size_t len);
|
/frameworks/base/core/java/android/service/textservice/ |
D | SpellCheckerService.java | 446 final int[] offsets = new int[querySize]; in reconstructSuggestions() local 460 offsets[i] = item.mStart; in reconstructSuggestions() 467 : "<none>") + ", offset = " + offsets[i] + ", length = " in reconstructSuggestions() 471 return new SentenceSuggestionsInfo(reconstructedSuggestions, offsets, lengths); in reconstructSuggestions()
|
/frameworks/base/tools/aapt2/format/binary/ |
D | TableFlattener.cpp | 343 std::vector<uint32_t> offsets; in FlattenConfig() local 344 offsets.resize(num_total_entries, 0xffffffffu); in FlattenConfig() 349 offsets[flat_entry.entry->id.value()] = values_buffer.size(); in FlattenConfig() 380 if (offsets[i] != ResTable_type::NO_ENTRY) { in FlattenConfig() 381 CHECK((offsets[i] & 0x03) == 0); in FlattenConfig() 383 indices->offset = util::HostToDevice16(offsets[i] / 4u); in FlattenConfig() 391 indices[i] = util::HostToDevice32(offsets[i]); in FlattenConfig()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | MagnificationControllerTest.java | 219 final PointF offsets = computeOffsets(INITIAL_MAGNIFICATION_BOUNDS, center, scale); 224 final MagnificationSpec expectedSpec = getMagnificationSpec(scale, offsets); 253 PointF offsets = computeOffsets(INITIAL_MAGNIFICATION_BOUNDS, newCenter, scale); 254 MagnificationSpec endSpec = getMagnificationSpec(scale, offsets); 325 PointF offsets = computeOffsets(INITIAL_MAGNIFICATION_BOUNDS, newCenter, scale); 326 MagnificationSpec endSpec = getMagnificationSpec(scale, offsets); 371 PointF offsets = computeOffsets(INITIAL_MAGNIFICATION_BOUNDS, newCenter, 374 MagnificationController.MAX_SCALE, offsets); 1073 private MagnificationSpec getMagnificationSpec(float scale, PointF offsets) { 1074 return getMagnificationSpec(scale, offsets.x, offsets.y);
|
/frameworks/native/libs/binder/ |
D | IPCThreadState.cpp | 141 << "offsets=" << btd->data.ptr.offsets << " (" << (void*)btd->offsets_size in printBinderTransactionData() 884 reinterpret_cast<const binder_size_t*>(tr.data.ptr.offsets), in waitForResponse() 892 reinterpret_cast<const binder_size_t*>(tr.data.ptr.offsets), in waitForResponse() 899 reinterpret_cast<const binder_size_t*>(tr.data.ptr.offsets), in waitForResponse() 1048 tr.data.ptr.offsets = data.ipcObjects(); in writeTransactionData() 1055 tr.data.ptr.offsets = 0; in writeTransactionData() 1173 reinterpret_cast<const binder_size_t*>(tr.data.ptr.offsets), in executeCommand() 1211 << reinterpret_cast<const size_t*>(tr.data.ptr.offsets) << endl; in executeCommand()
|
/frameworks/base/core/java/android/view/animation/ |
D | AnimationSet.java | 492 final long[] offsets = mStoredOffsets; in restoreChildrenStartOffset() local 493 if (offsets == null) return; in restoreChildrenStartOffset() 499 children.get(i).setStartOffset(offsets[i]); in restoreChildrenStartOffset()
|
/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/ml/nn/common/operations/ |
D | RoiAlign.cpp | 156 uint32_t offsets[] = {y1 * inWidth * inDepth + x1 * inDepth, in roiAlignNhwc() local 164 interpolation += ws[c] * batchBase[offsets[c] + k]; in roiAlignNhwc() 282 uint32_t offsets[] = {y1 * inWidth * inDepth + x1 * inDepth, in roiAlignQuantNhwc() local 292 wQuant * (static_cast<int32_t>(batchBase[offsets[c] + k]) - in roiAlignQuantNhwc()
|
/frameworks/native/libs/vr/libvrflinger/ |
D | hardware_composer.cpp | 744 VsyncEyeOffsets offsets; in PostThread() local 745 offsets.left_ns = in PostThread() 751 offsets.right_ns = (target_display_->vsync_period_ns - vblank_ns) / 2; in PostThread() 754 offsets.right_ns = in PostThread() 755 property_get_int64(kRightEyeOffsetProperty, offsets.right_ns); in PostThread() 757 return offsets; in PostThread()
|
/frameworks/rs/driver/ |
D | rsdAllocation.cpp | 311 size_t offsets[Allocation::MAX_LOD]; in AllocationBuildPointerTable() local 312 memset(offsets, 0, sizeof(offsets)); in AllocationBuildPointerTable() 320 offsets[ct] = (size_t)alloc->mHal.drvState.lod[ct].mallocPtr; in AllocationBuildPointerTable() 332 offsets[lod] = o; in AllocationBuildPointerTable() 344 alloc->mHal.drvState.lod[lod].mallocPtr = ptr + offsets[lod]; in AllocationBuildPointerTable()
|
/frameworks/minikin/tests/unittest/ |
D | GraphemeBreakTests.cpp | 307 TEST(GraphemeBreak, offsets) { in TEST() argument
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 415 jlong* offsets = reinterpret_cast<jlong*>(env->GetPrimitiveArrayCritical(out_offsets, 0)); in ReturnParcelFileDescriptor() local 416 if (offsets == nullptr) { in ReturnParcelFileDescriptor() 421 offsets[0] = start_offset; in ReturnParcelFileDescriptor() 422 offsets[1] = length; in ReturnParcelFileDescriptor() 424 env->ReleasePrimitiveArrayCritical(out_offsets, offsets, 0); in ReturnParcelFileDescriptor()
|
/frameworks/hardware/interfaces/sensorservice/1.0/ |
D | ISensorManager.hal | 59 * The memory layout looks as follows. These offsets can be found in
|