/frameworks/base/tools/aapt/ |
H A D | XMLNode.cpp | 1165 ssize_t idx = mAttributeOrder.valueAt(i); 1171 const attribute_entry& attr = mAttributes.itemAt(idx); 1404 ssize_t idx = -1; 1413 idx = strIdx; 1420 idx = strIdx; 1425 if (idx < 0) { 1426 idx = outPool->add(attr.name); 1428 printf("Adding attr %s (resid 0x%08x) to pool: idx=%zd\n", 1429 String8(attr.name).string(), id, SSIZE(idx)); 1432 while ((ssize_t)outResIds->size() <= idx) { [all...] |
H A D | ZipFile.cpp | 135 ZipEntry* ZipFile::getEntryByIndex(int idx) const 137 if (idx < 0 || idx >= (int) mEntries.size()) 140 return mEntries[idx]; 158 int idx; local 160 for (idx = mEntries.size()-1; idx >= 0; idx--) { 161 ZipEntry* pEntry = mEntries[idx];
|
H A D | ZipFile.h | 165 ZipEntry* getEntryByIndex(int idx) const;
|
H A D | ResourceTable.cpp | 2142 ssize_t idx = entry->getBag().indexOfKey(formatKey16); local 2143 if (idx >= 0) { 2147 const Item& formatItem = entry->getBag().valueAt(idx); 3993 ssize_t idx = mConfigs.indexOfKey(entry); local 3994 if (idx < 0) { 3998 sp<ConfigList> removed = mConfigs.valueAt(idx); 3999 mConfigs.removeItemsAt(idx); 4045 int32_t idx = Res_GETENTRY(p.ident); local 4053 if (idx >= (int32_t)mOrderedConfigs.size()) { 4054 mOrderedConfigs.resize(idx 4193 int32_t idx = t->getPublicIndex(); local 4548 ssize_t idx = entries.indexOfKey(sourceConfig); local [all...] |
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcStress.cpp | 429 unsigned int idx = testRandMod(selectedFrames[n1].size()); local 430 sp<GraphicBuffer> gBuf = selectedFrames[n1][idx]; 500 unsigned int idx = testRandMod(selectedFrames[n1].size()); local 501 sp<GraphicBuffer> gBuf = selectedFrames[n1][idx];
|
/frameworks/av/media/libstagefright/httplive/ |
H A D | LiveSession.cpp | 970 LiveSession::StreamType LiveSession::indexToType(int idx) { argument 971 CHECK(idx >= 0 && idx < kNumSources); 972 return (StreamType)(1 << idx); 1996 for (size_t idx = 0; idx < kMaxStreams; idx++) { 1997 StreamType stream = indexToType(idx); 1998 if ((mSwapMask & stream) && (oldUri == mStreams[idx].mUri)) { 2001 if ((mNewStreamMask & stream) && mStreams[idx] 2027 ssize_t idx = typeToIndex(stream); local [all...] |
/frameworks/base/core/java/com/android/internal/graphics/drawable/ |
H A D | AnimationScaleListDrawable.java | 71 int idx = mAnimationScaleListState.getCurrentDrawableIndexBasedOnScale(); 72 return selectDrawable(idx) || changed;
|
/frameworks/base/core/jni/ |
H A D | android_os_Debug.cpp | 862 for (size_t idx = 0; idx < gNumBacktraceElements; idx++) { 863 uintptr_t addr1 = bt1[idx]; 864 uintptr_t addr2 = bt2[idx]; 931 for (size_t idx = 0; idx < recordCount; idx++) {
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | LevelListDrawable.java | 80 int idx = mLevelListState.indexOfLevel(level); 81 if (selectDrawable(idx)) {
|
/frameworks/base/services/core/java/com/android/server/camera/ |
H A D | CameraServiceProxy.java | 322 int idx = 0; 324 ret[idx++] = i;
|
/frameworks/base/tools/aapt2/util/ |
H A D | Util.h | 144 android::StringPiece16 GetString16(const android::ResStringPool& pool, size_t idx); 154 std::string GetString(const android::ResStringPool& pool, size_t idx);
|
/frameworks/base/core/java/android/hardware/input/ |
H A D | InputManager.java | 410 int idx = findOnTabletModeChangedListenerLocked(listener); 411 if (idx < 0) { 430 int idx = findOnTabletModeChangedListenerLocked(listener); 431 if (idx >= 0) { 432 OnTabletModeChangedListenerDelegate d = mOnTabletModeChangedListeners.remove(idx);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | ApnSetting.java | 374 for (int idx=0; idx<len; idx++) { 375 char c = imsiDB.charAt(idx); 376 if ((c == 'x') || (c == 'X') || (c == imsiSIM.charAt(idx))) {
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | IntentResolver.java | 668 for (int idx=LAST; idx>=0; idx--) { 669 if (array[idx] == object) { 670 final int remain = LAST - idx; 672 System.arraycopy(array, idx+1, array, idx, remain);
|
/frameworks/rs/script_api/ |
H A D | Specification.cpp | 476 for (unsigned idx = 0; idx < mReplaceables.size(); idx ++) { 477 string toString = mReplaceables[idx][replacementIndexes[idx]]; 480 s = expandRSTypeInString(s, kRSTypePatterns[idx], toString); 483 s = stringReplace(s, kCTypePatterns[idx], toString);
|
/frameworks/base/libs/androidfw/ |
H A D | AttributeResolution.cpp | 236 ssize_t idx = xml_parser->indexOfStyle(); local 237 if (idx >= 0 && xml_parser->getAttributeValue(idx, &value) >= 0) {
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | vlc_encode.cpp | 1794 Int run, idx; local 1834 idx = intra; 1863 RLB->level[idx] = -level; 1864 RLB->s[idx] = 1; 1865 RLB->run[idx] = run; 1867 idx++; 1871 RLB->level[idx] = level; 1872 RLB->s[idx] = 0; 1873 RLB->run[idx] = run; 1875 idx [all...] |
/frameworks/rs/cpu_ref/ |
H A D | rsCpuCore.h | 55 typedef void (*WorkerCallback_t)(void *usr, uint32_t idx);
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | pitch_ol.cpp | 676 idx = 16 bit value specifies the frame index 730 Word16 idx, // i : frame index 867 if (sub(idx, 1) == 0) 947 Word16 idx, /* i : frame index */ 1155 if (idx == 1) 939 Pitch_ol( vadState *vadSt, enum Mode mode, Word16 signal[], Word16 pit_min, Word16 pit_max, Word16 L_frame, Word16 idx, Flag dtx, Flag *pOverflow ) argument
|
/frameworks/compile/mclinker/lib/Support/Unix/ |
H A D | FileSystem.inc | 49 // idx does not stay at the end, but all elements had beed put into cache.
|
/frameworks/rs/ |
H A D | rsMesh.cpp | 268 RsAllocation * idx, size_t idxCount, 279 sm->setPrimitive((Allocation*)idx[i], (RsPrimitive)primType[i], i); 266 rsi_MeshCreate(Context *rsc, RsAllocation * vtx, size_t vtxCount, RsAllocation * idx, size_t idxCount, uint32_t * primType, size_t primTypeCount) argument
|
/frameworks/native/vulkan/libvulkan/ |
H A D | driver.cpp | 756 int idx = Hal::Get().GetDebugReportIndex(); local 757 if (idx < 0) { 760 static_cast<uint32_t>(idx) < *pPropertyCount) { 761 pProperties[idx].specVersion = 762 std::min(pProperties[idx].specVersion,
|
/frameworks/av/media/libstagefright/codecs/mpeg2dec/ |
H A D | SoftMPEG2.cpp | 94 int idx = -1; local 99 idx = i; 103 return idx;
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/ |
H A D | omxVCM4P10_InterpolateLuma_s.s | 89 idx RN 6 label 191 M_LDR idx, ptridx 196 ADD index, idx, idy, LSL #2 ;// [index] = [idy][idx]
|
/frameworks/base/core/java/android/content/ |
H A D | UndoManager.java | 194 int idx = in.readInt(); 195 UndoOwner owner = mStateOwners[idx]; 201 mStateOwners[idx] = owner;
|