Home
last modified time | relevance | path

Searched refs:block (Results 1 – 25 of 104) sorted by relevance

12345

/frameworks/base/tools/aapt/
DResourceTable.cpp254 ResXMLTree& block, bool _appendComment) in PendingAttribute()
256 , sourcePos(in->getPrintableSource(), block.getLineNumber()) in PendingAttribute()
298 ResXMLTree& block, in compileAttribute() argument
304 PendingAttribute attr(myPackage, in, block, inStyleable); in compileAttribute()
317 ssize_t identIdx = block.indexOfAttribute(NULL, "name"); in compileAttribute()
319 attr.ident = String16(block.getAttributeStringValue(identIdx, &len)); in compileAttribute()
329 block.getComment(&len) ? block.getComment(&len) : nulStr); in compileAttribute()
331 ssize_t typeIdx = block.indexOfAttribute(NULL, "format"); in compileAttribute()
333 String16 typeStr = String16(block.getAttributeStringValue(typeIdx, &len)); in compileAttribute()
349 ssize_t minIdx = block.indexOfAttribute(NULL, "min"); in compileAttribute()
[all …]
DResource.cpp203 ResXMLTree block; in parsePackage() local
204 status_t err = parseXMLResource(file, &block); in parsePackage()
211 while ((code=block.next()) != ResXMLTree::START_TAG in parsePackage()
219 file->getPrintableSource().string(), block.getLineNumber()); in parsePackage()
222 if (strcmp16(block.getElementName(&len), String16("manifest").string()) != 0) { in parsePackage()
224 file->getPrintableSource().string(), block.getLineNumber(), in parsePackage()
225 String8(block.getElementName(&len)).string()); in parsePackage()
229 ssize_t nameIndex = block.indexOfAttribute(NULL, "package"); in parsePackage()
232 file->getPrintableSource().string(), block.getLineNumber()); in parsePackage()
236 assets->setPackage(String8(block.getAttributeStringValue(nameIndex, &len))); in parsePackage()
[all …]
DXMLNode.cpp408 void printXMLBlock(ResXMLTree* block) in printXMLBlock() argument
410 block->restart(); in printXMLBlock()
416 while ((code=block->next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) { in printXMLBlock()
421 const uint16_t* ns16 = block->getElementNamespace(&len); in printXMLBlock()
423 const uint16_t* com16 = block->getComment(&len); in printXMLBlock()
428 String8(block->getElementName(&len)).string(), in printXMLBlock()
429 block->getLineNumber()); in printXMLBlock()
430 int N = block->getAttributeCount(); in printXMLBlock()
434 uint32_t res = block->getAttributeNameResID(i); in printXMLBlock()
435 ns16 = block->getAttributeNamespace(i, &len); in printXMLBlock()
[all …]
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_image.c183 u32 block; in h264bsdWriteOutputBlocks() local
209 for (block = 0; block < 16; block++) in h264bsdWriteOutputBlocks()
211 x = h264bsdBlockX[block]; in h264bsdWriteOutputBlocks()
212 y = h264bsdBlockY[block]; in h264bsdWriteOutputBlocks()
214 pRes = residual[block]; in h264bsdWriteOutputBlocks()
274 for (block = 16; block <= 23; block++) in h264bsdWriteOutputBlocks()
276 x = h264bsdBlockX[block & 0x3]; in h264bsdWriteOutputBlocks()
277 y = h264bsdBlockY[block & 0x3]; in h264bsdWriteOutputBlocks()
279 pRes = residual[block]; in h264bsdWriteOutputBlocks()
286 if (block >= 20) in h264bsdWriteOutputBlocks()
Dh264bsd_intra_prediction.c264 u32 constrainedIntraPred, u32 block) in h264bsdIntra4x4Prediction() argument
281 ASSERT(pMb->intra4x4PredMode[block] < 9); in h264bsdIntra4x4Prediction()
283 neighbour = *h264bsdNeighbour4x4BlockA(block); in h264bsdIntra4x4Prediction()
292 neighbourB = *h264bsdNeighbour4x4BlockB(block); in h264bsdIntra4x4Prediction()
303 &neighbour, &neighbourB, block, nMb, nMb2); in h264bsdIntra4x4Prediction()
304 pMb->intra4x4PredMode[block] = (u8)mode; in h264bsdIntra4x4Prediction()
306 neighbour = *h264bsdNeighbour4x4BlockC(block); in h264bsdIntra4x4Prediction()
315 neighbour = *h264bsdNeighbour4x4BlockD(block); in h264bsdIntra4x4Prediction()
324 x = h264bsdBlockX[block]; in h264bsdIntra4x4Prediction()
325 y = h264bsdBlockY[block]; in h264bsdIntra4x4Prediction()
[all …]
/frameworks/base/core/java/android/content/res/
DAssetManager.java151 int block = loadResourceValue(ident, (short) 0, tmpValue, true); in getResourceText() local
152 if (block >= 0) { in getResourceText()
154 return mStringBlocks[block].get(tmpValue.data); in getResourceText()
169 int block = loadResourceBagValue(ident, bagEntryId, tmpValue, true); in getResourceBagText() local
170 if (block >= 0) { in getResourceBagText()
172 return mStringBlocks[block].get(tmpValue.data); in getResourceBagText()
196 int block = loadResourceValue(ident, (short) density, outValue, resolveRefs); in getResourceValue() local
197 if (block >= 0) { in getResourceValue()
201 outValue.string = mStringBlocks[block].get(outValue.data); in getResourceValue()
216 int block; in getResourceTextArray() local
[all …]
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp82 const Res_value& value, uint32_t ref, ssize_t block,
86 const Res_value& value, uint32_t ref, ssize_t block, in copyValue() argument
91 (jint)table->getTableCookie(block)); in copyValue()
100 return block; in copyValue()
697 ssize_t block = res.getResource(ident, &value, false, density, &typeSpecFlags, &config); in android_content_AssetManager_loadResourceValue() local
699 if (block == BAD_INDEX) { in android_content_AssetManager_loadResourceValue()
706 block = res.resolveReference(&value, block, &ref); in android_content_AssetManager_loadResourceValue()
708 if (block == BAD_INDEX) { in android_content_AssetManager_loadResourceValue()
714 …return block >= 0 ? copyValue(env, outValue, &res, value, ref, block, typeSpecFlags, &config) : bl… in android_content_AssetManager_loadResourceValue()
730 ssize_t block = -1; in android_content_AssetManager_loadResourceBagValue() local
[all …]
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/
Dfastcodemb.h32 Int(*DCT)(Int block[ ], Int coeff[ ], approxDCT *);
55 Int getBlockSAV(Int block[]);
60 Int AppVCA1_dct(Int block[], Int out[ ], approxDCT *function);
61 Int AppVCA2_dct(Int block[], Int out[ ], approxDCT *function);
62 Int AppVCA3_dct(Int block[], Int out[ ], approxDCT *function);
63 Int AppVCA4_dct(Int block[], Int out[ ], approxDCT *function);
64 Int AppVCA5_dct(Int block[], Int out[ ], approxDCT *function);
97 void BlockIDCTMotionComp(Int *block, UChar *bitmapcol, UChar bitmaprow,
Dfastcodemb.cpp86 output = video->outputMB->block[0]; in CodeMB_H263()
317 output = video->outputMB->block[0]; in CodeMB_MPEG()
484 Int getBlockSAV(Short block[]) in getBlockSAV() argument
491 val = *block++; in getBlockSAV()
494 val = *block++; in getBlockSAV()
497 val = *block++; in getBlockSAV()
500 val = *block++; in getBlockSAV()
503 val = *block++; in getBlockSAV()
506 val = *block++; in getBlockSAV()
509 val = *block++; in getBlockSAV()
[all …]
/frameworks/base/core/java/android/os/
DConditionVariable.java92 public void block() in block() method in ConditionVariable
117 public boolean block(long timeout) in block() method in ConditionVariable
137 this.block(); in block()
/frameworks/compile/libbcc/runtime/www/
Dmenu.css22 display:block;
26 display:block;
33 display:block;
/frameworks/base/media/libstagefright/codecs/avc/enc/src/
Dblock.cpp82 int16 *coef = video->block; in dct_luma()
262 int16 *coef, *coef8 = video->block; in MBInterIdct()
366 int16 *coef = video->block; in dct_luma_16x16()
729 int16 *coef = video->block + 256; in dct_chroma()
1117 int16 *block = video->block; in TransQuantIntra16DC() local
1120 int16 *ptr = block; in TransQuantIntra16DC()
1146 ptr = block; in TransQuantIntra16DC()
1173 data = block[idx]; in TransQuantIntra16DC()
1188 block[idx] = lev; in TransQuantIntra16DC()
1193 block[idx] = -lev; in TransQuantIntra16DC()
[all …]
/frameworks/compile/libbcc/helper/
Dsha1.c116 #define blk0(i) (block->l[i]=(rol(block->l[i],24)&0xFF00FF00) \
117 |(rol(block->l[i],8)&0x00FF00FF))
119 #define blk0(i) block->l[i]
121 #define blk(i) (block->l[i&15] = rol(block->l[(i+13)&15]^block->l[(i+8)&15] \
122 ^block->l[(i+2)&15]^block->l[i&15],1))
142 CHAR64LONG16* block; in SHA1Transform() local
145 block = (CHAR64LONG16*)workspace; in SHA1Transform()
146 memcpy(block, buffer, 64); in SHA1Transform()
148 block = (CHAR64LONG16*)buffer; in SHA1Transform()
/frameworks/base/tests/DumpRenderTree/assets/results/
Dlayout_tests_nontext.txt642 /sdcard/android/layout_tests/editing/style/create-block-for-style-013.html
644 /sdcard/android/layout_tests/editing/style/create-block-for-style-005.html
647 /sdcard/android/layout_tests/editing/style/create-block-for-style-009.html
649 /sdcard/android/layout_tests/editing/style/block-style-004.html
654 /sdcard/android/layout_tests/editing/style/create-block-for-style-010.html
655 /sdcard/android/layout_tests/editing/style/create-block-for-style-002.html
657 /sdcard/android/layout_tests/editing/style/create-block-for-style-006.html
659 /sdcard/android/layout_tests/editing/style/block-style-001.html
664 /sdcard/android/layout_tests/editing/style/block-style-005.html
674 /sdcard/android/layout_tests/editing/style/create-block-for-style-011.html
[all …]
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
DomxVCM4P2_PredictReconCoefIntra_s.s19 ; * Performs adaptive DC/AC coefficient prediction for an intra block. Prior
28 ; * block; must be aligned on a 4-byte boundary. The
35 ; * [in] curQP quantization parameter of the current block. curQP may
36 ; * equal to predQP especially when the current block and
37 ; * the predictor block are in the same macroblock.
38 ; * [in] predQP quantization parameter of the predictor block
47 ; * alpha) of the current block
50 ; * block
/frameworks/base/tools/preload/
Dsorttable.js449 Array.forEach = function(array, block, context) { argument
451 block.call(context, array[i], i, array);
457 Function.prototype.forEach = function(object, block, context) { argument
460 block.call(context, object[key], key, object);
466 String.forEach = function(string, block, context) { argument
468 block.call(context, chr, index, string);
473 var forEach = function(object, block, context) {
481 object.forEach(block, context);
490 resolve.forEach(object, block, context);
/frameworks/base/services/java/com/android/server/
DRandomBlock.java37 private byte[] block = new byte[BLOCK_SIZE]; field in RandomBlock
56 int result = in.read(retval.block, total, BLOCK_SIZE - total); in fromStream()
88 out.write(block); in toDataOut()
/frameworks/base/media/libstagefright/matroska/
DMatroskaExtractor.cpp98 const mkvparser::Block *block() const;
303 } while (!eos() && block()->GetTrackNumber() != mTrackNum); in reset()
316 while (!eos() && block()->GetTrackNumber() != mTrackNum); in seek()
325 const mkvparser::Block *BlockIterator::block() const { in block() function in android::BlockIterator
369 const mkvparser::Block *block = mBlockIter.block(); in readBlock() local
373 for (int i = 0; i < block->GetFrameCount(); ++i) { in readBlock()
374 const mkvparser::Block::Frame &frame = block->GetFrame(i); in readBlock()
378 mbuf->meta_data()->setInt32(kKeyIsSyncFrame, block->IsKey()); in readBlock()
775 if (iter.block()->IsKey()) { in findThumbnails()
779 for (int i = 0; i < iter.block()->GetFrameCount(); ++i) { in findThumbnails()
[all …]
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
DomxVCM4P2_PredictReconCoefIntra_s.s19 ; * Performs adaptive DC/AC coefficient prediction for an intra block. Prior
28 ; * block; must be aligned on a 4-byte boundary. The
35 ; * [in] curQP quantization parameter of the current block. curQP may
36 ; * equal to predQP especially when the current block and
37 ; * the predictor block are in the same macroblock.
38 ; * [in] predQP quantization parameter of the predictor block
47 ; * alpha) of the current block
50 ; * block
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/
Didct.cpp538 res = (*pred++ + block[0+(i<<3)]); in idct()
541 res = (*pred++ + block[1+(i<<3)]); in idct()
544 res = (*pred++ + block[2+(i<<3)]); in idct()
547 res = (*pred++ + block[3+(i<<3)]); in idct()
550 res = (*pred++ + block[4+(i<<3)]); in idct()
553 res = (*pred++ + block[5+(i<<3)]); in idct()
556 res = (*pred++ + block[6+(i<<3)]); in idct()
559 res = (*pred++ + block[7+(i<<3)]); in idct()
/frameworks/base/core/java/android/nfc/tech/
DMifareClassic.java640 private static void validateBlock(int block) { in validateBlock() argument
642 if (block < 0 || block >= MAX_BLOCK_COUNT) { in validateBlock()
643 throw new IndexOutOfBoundsException("block out of bounds: " + block); in validateBlock()
/frameworks/base/media/libstagefright/codecs/avc/common/include/
Davclib_common.h314 void Intra16DCTrans(int16 *block, int Qq, int Rq);
325 void itrans(int16 *block, uint8 *pred, uint8 *cur, int width);
335 void ictrans(int16 *block, uint8 *pred, uint8 *cur, int width);
344 void ChromaDCTrans(int16 *block, int Qq, int Rq);
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
Dh264bsd_interpolate_chroma_hor.s38 block RN 1 label
116 ADD block, sp, #0x1c ;// block
123 ADD block, sp, #0x1c ;// block
125 MLA block, chrPH, tmp8, block;// block + (chromaPH)*(chromaPW+1)
Dh264bsd_interpolate_chroma_ver.s37 block RN 1 label
115 ADD block, sp, #0x1c ;// block
122 ADD block, sp, #0x1c ;// block
124 MLA block, chrPW, tmp1, block;// block + (chromaPW)*(chromaPH+1)
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCameraTest.java95 if (!startDone.block(WAIT_FOR_COMMAND_TO_COMPLETE)) { in initializeMessageLooper()
173 if (!mPreviewDone.block(WAIT_FOR_COMMAND_TO_COMPLETE)) { in waitForPreviewDone()
180 if (!mSnapshotDone.block(MediaNames.WAIT_SNAPSHOT_TIME)) { in waitForSnapshotDone()

12345