/cts/tests/tests/graphics/src/android/opengl/cts/ |
D | CompressedTextureLoader.java | 152 PVRHeader header = new PVRHeader(); in readPVRHeader() local 154 header.mHeaderSize = headerBuffer.getInt(); in readPVRHeader() 155 header.mHeight = headerBuffer.getInt(); in readPVRHeader() 156 header.mWidth = headerBuffer.getInt(); in readPVRHeader() 157 header.mMipMapCount = headerBuffer.getInt(); in readPVRHeader() 158 header.mpfFlags = headerBuffer.getInt(); in readPVRHeader() 159 header.mDataSize = headerBuffer.getInt(); in readPVRHeader() 160 header.mBitCount = headerBuffer.getInt(); in readPVRHeader() 161 header.mRBitMask = headerBuffer.getInt(); in readPVRHeader() 162 header.mGBitMask = headerBuffer.getInt(); in readPVRHeader() [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | HeaderViewListAdapterTest.java | 48 ArrayList<ListView.FixedViewInfo> header = new ArrayList<ListView.FixedViewInfo>(); in testConstructor() local 50 new HeaderViewListAdapter(header, footer, null); in testConstructor() 52 new HeaderViewListAdapter(header, footer, new HeaderViewEmptyAdapter()); in testConstructor() 60 ArrayList<ListView.FixedViewInfo> header = new ArrayList<ListView.FixedViewInfo>(4); in testGetHeadersCount() local 61 header.add(lv.new FixedViewInfo()); in testGetHeadersCount() 62 headerViewListAdapter = new HeaderViewListAdapter(header, null, null); in testGetHeadersCount() 93 ArrayList<ListView.FixedViewInfo> header = new ArrayList<ListView.FixedViewInfo>(4); in testRemoveHeader() local 100 header.add(info1); in testRemoveHeader() 101 header.add(info2); in testRemoveHeader() 102 HeaderViewListAdapter headerViewListAdapter = new HeaderViewListAdapter(header, null, null); in testRemoveHeader() [all …]
|
D | ExpandableListWithHeaders.java | 45 Button header = new Button(this); in onCreate() local 46 header.setText("Header View"); in onCreate() 47 expandableListView.addHeaderView(header); in onCreate()
|
D | ListViewTest.java | 622 final AttachDetachAwareView header = new AttachDetachAwareView(mActivity); in testFullDetachHeaderViewOnScroll() local 625 mListView.addHeaderView(header); in testFullDetachHeaderViewOnScroll() 627 assertEquals("test sanity", 1, header.mOnAttachCount); in testFullDetachHeaderViewOnScroll() 628 assertEquals("test sanity", 0, header.mOnDetachCount); in testFullDetachHeaderViewOnScroll() 632 assertNull("test sanity, header should be removed", header.getParent()); in testFullDetachHeaderViewOnScroll() 633 assertEquals("header view should be detached", 1, header.mOnDetachCount); in testFullDetachHeaderViewOnScroll() 634 assertFalse(header.isTemporarilyDetached()); in testFullDetachHeaderViewOnScroll() 639 final AttachDetachAwareView header = new AttachDetachAwareView(mActivity); in testFullDetachHeaderViewOnRelayout() local 642 mListView.addHeaderView(header); in testFullDetachHeaderViewOnRelayout() 644 assertEquals("test sanity", 1, header.mOnAttachCount); in testFullDetachHeaderViewOnRelayout() [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | XmpDepthDecode.java | 278 private static boolean hasHeader(byte[] data, String header) { in hasHeader() argument 279 if (data.length < header.length()) { in hasHeader() 283 byte[] buffer = new byte[header.length()]; in hasHeader() 284 System.arraycopy(data, 0, buffer, 0, header.length()); in hasHeader() 285 if (new String(buffer, "UTF-8").equals(header)) { in hasHeader() 305 byte[] header = new byte[XMP_EXTENSION_HEADER_GUID_SIZE]; in readSection() 306 is.read(header, 0, header.length); in readSection() 308 if (hasHeader(header, XMP_EXTENSION_HEADER) && skipExtendedContent) { in readSection() 311 section.length = header.length + 2; in readSection() 312 section.data = header; in readSection() [all …]
|
/cts/suite/audio_quality/lib/src/ |
D | SignalProcessingImpl.cpp | 158 int32_t header[4]; // id 0 - no of types - id 0x10 - ExecutionResult in run() local 159 if (!read((char*)header, sizeof(header))) { in run() 163 if (header[0] != 0) { in run() 167 if (header[2] != EExecutionResult) { in run() 171 if (header[3] == TaskGeneric::EResultError) { in run() 172 LOGE("script returned error %d", header[3]); in run() 173 return (TaskGeneric::ExecutionResult)header[3]; in run() 175 if ((header[1] - 1) != nOutputs) { in run() 238 return (TaskGeneric::ExecutionResult)header[3]; in run()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
D | HceUtils.java | 42 public static String getHexBytes(String header, byte[] bytes) { in getHexBytes() argument 44 if (header != null) { in getHexBytes() 45 sb.append(header + ": "); in getHexBytes()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | ListScenario.java | 321 TextView header = mHeadersFocusable ? in onCreate() local 324 header.setText("Header: " + i); in onCreate() 325 mListView.addHeaderView(header); in onCreate() 329 TextView header = new TextView(this); in onCreate() local 330 header.setText("Footer: " + i); in onCreate() 331 mListView.addFooterView(header); in onCreate()
|
/cts/suite/audio_quality/test_description/ |
D | processing_main.py | 68 header = self.readI32() 69 if header == CMD_TERMINATE: 73 if header == CMD_HEADER:
|
/cts/libs/testserver/src/android/webkit/cts/ |
D | TestWebServer.java | 420 for (Pair<String, String> header : response.mResponseHeaders) { in getResponse() 421 httpResponse.addHeader(header.first, header.second); in getResponse() 431 for (Pair<String, String> header : response.mResponseHeaders) { in getResponse() 432 httpResponse.addHeader(header.first, header.second); in getResponse()
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | VpnTest.java | 288 byte[] header; in checkPing() 295 header = new byte[] { (byte) 0x80, (byte) 0x00, (byte) 0x00, (byte) 0x00 }; in checkPing() 299 header = new byte[] { (byte) 0x08, (byte) 0x00, (byte) 0x00, (byte) 0x00 }; in checkPing() 301 System.arraycopy(header, 0, packet, 0, header.length); in checkPing()
|
/cts/tools/vm-tests-tf/src/dot/junit/format/f1/d/ |
D | T_f1_1.dfh | 3 // DEX file header:
|
D | T_f1_8.dfh | 3 // DEX file header:
|
D | T_f1_10.dfh | 4 // DEX file header:
|
D | T_f1_11.dfh | 3 // DEX file header:
|
D | T_f1_12.dfh | 3 // DEX file header:
|
D | T_f1_2.dfh | 3 // DEX file header:
|
D | T_f1_3.dfh | 3 // DEX file header:
|
D | T_f1_4.dfh | 3 // DEX file header:
|
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/ui/ |
D | MainFragment.java | 182 HeaderItem header = new HeaderItem(i, entry.getKey()); 184 mRowsAdapter.add(new ListRow(header, listRowAdapter));
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebViewTest.java | 494 Header header = matchingHeaders[0]; 495 assertEquals(mWebView.getContext().getApplicationInfo().packageName, header.getValue()); 569 Header header = matchingHeaders[0]; 570 assertEquals(requester, header.getValue()); 592 Header header = matchingHeaders[0]; 593 assertEquals(requester, header.getValue()); 615 String header = value.getKey(); 616 Header[] matchingHeaders = request.getHeaders(header); 617 assertEquals("header " + header + " not found", 1, matchingHeaders.length);
|
/cts/tools/vm-tests-tf/src/dot/junit/verify/a1/d/ |
D | T_a1_1.dfh | 3 // DEX file header:
|
/cts/tools/vm-tests-tf/src/dot/junit/verify/a3/d/ |
D | T_a3_1.dfh | 3 // DEX file header:
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/goto_16/d/ |
D | T_goto_16_2.dfh | 3 // DEX file header:
|
D | T_goto_16_3.dfh | 3 // DEX file header:
|