Home
last modified time | relevance | path

Searched refs:slice (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/content/pm/
DParceledListSliceTest.java19 ParceledListSlice<SmallObject> slice; in testSmallList() local
25 slice = parcel.readParcelable(getClass().getClassLoader()); in testSmallList()
30 assertNotNull(slice); in testSmallList()
31 assertNotNull(slice.getList()); in testSmallList()
32 assertEquals(objectCount, slice.getList().size()); in testSmallList()
35 assertEquals(i * 2, slice.getList().get(i).mFieldA); in testSmallList()
36 assertEquals((i * 2) + 1, slice.getList().get(i).mFieldB); in testSmallList()
70 ParceledListSlice<LargeObject> slice; in testLargeList() local
76 slice = parcel.readParcelable(getClass().getClassLoader()); in testLargeList()
81 assertNotNull(slice); in testLargeList()
[all …]
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
Dbricked.rs78 uint slice;
89 slice = 0x80000000 & rsGetElementAt_uint(bricks, slice_pos - BRICK_SIZE);
90 out |= slice >> 31;
93 slice = 1 & rsGetElementAt_uint(bricks, slice_pos + BRICK_SIZE);
94 out |= slice << 31;
107 slice = rsGetElementAt_uint(bricks, slice_pos + off_neg_y);
108 out |= slice;
118 slice = rsGetElementAt_uint(bricks, slice_pos + off_pos_y);
119 out |= slice;
128 slice = rsGetElementAt_uint(bricks, slice_pos + off_neg_z);
[all …]
Dvr.rs92 uint slice = rsGetElementAt_uint(bricks, off);
93 return slice & (1 << (p.x & 0x1F));
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_slice_data.c120 pStorage->slice->sliceId++; in h264bsdDecodeSliceData()
124 pStorage->slice->lastMbAddr = 0; in h264bsdDecodeSliceData()
140 pStorage->slice->sliceId, pStorage->activePps->chromaQpIndexOffset); in h264bsdDecodeSliceData()
207 pStorage->slice->lastMbAddr = currMbAddr; in h264bsdDecodeSliceData()
221 if ((pStorage->slice->numDecodedMbs + mbCount) > pStorage->picSizeInMbs) in h264bsdDecodeSliceData()
227 pStorage->slice->numDecodedMbs += mbCount; in h264bsdDecodeSliceData()
313 sliceId = pStorage->slice->sliceId; in h264bsdMarkSliceCorrupted()
317 if (pStorage->slice->lastMbAddr) in h264bsdMarkSliceCorrupted()
319 ASSERT(pStorage->mb[pStorage->slice->lastMbAddr].sliceId == sliceId); in h264bsdMarkSliceCorrupted()
320 i = pStorage->slice->lastMbAddr - 1; in h264bsdMarkSliceCorrupted()
Dh264bsd_storage.h99 sliceStorage_t slice[1]; member
Dh264bsd_storage.c469 pStorage->slice->numDecodedMbs = 0; in h264bsdResetStorage()
470 pStorage->slice->sliceId = 0; in h264bsdResetStorage()
557 if (pStorage->slice->numDecodedMbs == pStorage->picSizeInMbs) in h264bsdIsEndOfPicture()
/frameworks/base/core/java/android/app/usage/
DUsageStatsManager.java133 ParceledListSlice<UsageStats> slice = mService.queryUsageStats(intervalType, beginTime, in queryUsageStats() local
135 if (slice != null) { in queryUsageStats()
136 return slice.getList(); in queryUsageStats()
158 ParceledListSlice<ConfigurationStats> slice = mService.queryConfigurationStats( in queryConfigurations() local
160 if (slice != null) { in queryConfigurations()
161 return slice.getList(); in queryConfigurations()
/frameworks/base/services/core/java/com/android/server/
DConsumerIrService.java79 for (int slice : pattern) { in transmit()
80 if (slice <= 0) { in transmit()
83 totalXmitTime += slice; in transmit()
/frameworks/rs/cpu_ref/
DrsCpuCore.cpp400 uint32_t slice = (uint32_t)__sync_fetch_and_add(&mtls->mSliceNum, 1); in walk_general_foreach() local
402 if (!SelectOuterSlice(mtls, &fep, slice)) { in walk_general_foreach()
427 uint32_t slice = (uint32_t)__sync_fetch_and_add(&mtls->mSliceNum, 1); in walk_2d_foreach() local
428 uint32_t yStart = mtls->start.y + slice * mtls->mSliceSize; in walk_2d_foreach()
452 uint32_t slice = (uint32_t)__sync_fetch_and_add(&mtls->mSliceNum, 1); in walk_1d_foreach() local
453 uint32_t xStart = mtls->start.x + slice * mtls->mSliceSize; in walk_1d_foreach()
548 uint32_t slice = (uint32_t)__sync_fetch_and_add(&mtls->mSliceNum, 1); in walk_1d_reduce() local
549 uint32_t xStart = mtls->start.x + slice * mtls->mSliceSize; in walk_1d_reduce()
587 uint32_t slice = (uint32_t)__sync_fetch_and_add(&mtls->mSliceNum, 1); in walk_2d_reduce() local
588 uint32_t yStart = mtls->start.y + slice * mtls->mSliceSize; in walk_2d_reduce()
[all …]
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/loaders/
DLoaderRaw.java116 short[] slice = new short[v.mDimy * v.mDimx]; in buildRSVolume() local
117 mbb.asShortBuffer().get(slice); in buildRSVolume()
133 alloc_slice.copyFromUnchecked(slice); in buildRSVolume()
DLoaderDicom.java410 short[] slice = (short[]) data.get(0x7fe0, 0x10).mValue; in buildRSVolume()
447 alloc_slice.copyFromUnchecked(slice); in buildRSVolume()
550 short[] slice = (short[]) data.get(0x7fe0, 0x10).mValue; in buildRSVolume2() local
586 alloc_slice.copyFromUnchecked(slice); in buildRSVolume2()
/frameworks/compile/libbcc/include/bcc/Renderscript/
DRSUtils.h68 return T->getStructName().slice(0, LastDot); in getUnsuffixedStructName()
/frameworks/av/media/libstagefright/codecs/avc/enc/
DAndroid.mk18 src/slice.cpp \
/frameworks/base/docs/html/distribute/analyze/
Dgoogle-services.jd27 segmentation tools. You can slice and dice your data in tens-of-thousands of
73 leaving the page; with this integration, you can now slice and dice your data
Dmeasure.jd43 <td>Dimensions help you slice and dice the data so that you can see subsets. Many
86 <li>Upload rich product metadata to slice and dice your data</li>
Dunderstand-user-value.jd206 Segmentation is a powerful way to slice and dice your data in order to unlock
/frameworks/base/core/java/android/util/apk/
DApkSignatureSchemeV2Verifier.java775 ByteBuffer result = source.slice(); in sliceFromTo()
807 ByteBuffer result = source.slice(); in getByteBuffer()
1088 mBuf = buf.slice(); in ByteBufferDataSource()
1112 region = mBuf.slice(); in feedIntoMessageDigests()
DZipUtils.java133 ByteBuffer eocd = buf.slice(); in findZipEndOfCentralDirectoryRecord()
/frameworks/multidex/library/test/src/android/support/multidex/
DZipUtilTest.java86 buffer = buffer.slice(); in testCrcRange()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java719 ParceledListSlice<EphemeralApplicationInfo> slice = in getEphemeralApplications() local
721 if (slice != null) { in getEphemeralApplications()
722 return slice.getList(); in getEphemeralApplications()
970 ParceledListSlice<ProviderInfo> slice = in queryContentProviders() local
972 return slice != null ? slice.getList() : Collections.<ProviderInfo>emptyList(); in queryContentProviders()
/frameworks/compile/slang/
Drs_cc_options.cpp105 ArgVector.append(ArgsIn.slice(1).begin(), ArgsIn.end()); in ParseArguments()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java865 ParceledListSlice<ApplicationInfo> slice = AppGlobals.getPackageManager() in getIdleUidsForUser() local
867 if (slice == null) { in getIdleUidsForUser()
870 apps = slice.getList(); in getIdleUidsForUser()
/frameworks/base/docs/html/training/custom-views/
Dmaking-interactive.jd269 currently selected pie slice in PieChart causes the entire chart to rotate so that the selection
271 in the selected slice. {@link android.animation.ValueAnimator} changes the rotation over a
/frameworks/compile/mclinker/tools/mcld/
DMain.cpp168 llvm::StringRef prefix = prog_name_ref.slice(0, last_component); in ParseProgName()
1009 opt_table.ParseArgs(argv.slice(1), missing_arg_idx, missing_arg_count); in Create()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java592 final ParceledListSlice<PackageInfo> slice = in runListPackages() local
594 final List<PackageInfo> packages = slice.getList(); in runListPackages()

12