Home
last modified time | relevance | path

Searched refs:table (Results 1 – 25 of 499) sorted by relevance

12345678910>>...20

/frameworks/base/libs/androidfw/tests/
DSplit_test.cpp66 ResTable table; in TEST() local
67 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST()
74 ResTable table; in TEST() local
75 table.setParameters(&frenchConfig); in TEST()
77 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST()
84 … ssize_t block = table.getResource(base::R::string::test1, &val, MAY_NOT_BE_BAG, 0, NULL, &config); in TEST()
99 ResTable table; in TEST() local
100 table.setParameters(&expectedConfig); in TEST()
102 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST()
103 ASSERT_EQ(NO_ERROR, table.add(split_de_fr_arsc, split_de_fr_arsc_len)); in TEST()
[all …]
DResTable_test.cpp45 ResTable table; in TEST() local
46 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST()
50 ResTable table; in TEST() local
51 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST()
53 EXPECT_TRUE(IsStringEqual(table, base::R::string::test1, "test1")); in TEST()
57 ResTable table; in TEST() local
58 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST()
62 uint32_t resID = table.identifierForName(testName.string(), testName.size(), in TEST()
70 ResTable table; in TEST() local
71 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST()
[all …]
/frameworks/base/docs/html-intl/intl/zh-cn/design/style/
Dwriting.jd25 <table class="ui-table good"><tbody><tr><td>
27 </td></tr></tbody></table>
34 <table class="ui-table good"><tbody><tr><td>
36 </td></tr></tbody></table>
48 <table class="ui-table bad">
65 </table>
72 <table class="ui-table good">
88 </table>
108 <table class="ui-table good"><tbody><tr><td>
110 </td></tr></tbody></table>
[all …]
/frameworks/base/tools/aapt2/
DResourceTable_test.cpp64 ResourceTable table; in TEST() local
65 table.setPackage(u"android"); in TEST()
67 EXPECT_FALSE(table.addResource( in TEST()
72 EXPECT_FALSE(table.addResource( in TEST()
81 ResourceTable table; in TEST() local
82 table.setPackage(kAndroidPackage); in TEST()
86 EXPECT_TRUE(table.addResource(name, {}, SourceLine{ "test/path/file.xml", 23 }, in TEST()
91 std::tie(type, entry) = table.findResource(name); in TEST()
105 ResourceTable table; in TEST() local
106 table.setPackage(kAndroidPackage); in TEST()
[all …]
DMain.cpp115 void versionStylesForCompat(const std::shared_ptr<ResourceTable>& table) { in versionStylesForCompat() argument
116 for (auto& type : *table) { in versionStylesForCompat()
172 &table->getValueStringPool())) in versionStylesForCompat()
255 bool addFileReference(const std::shared_ptr<ResourceTable>& table, const T& item) { in addFileReference() argument
256 StringPool& pool = table->getValueStringPool(); in addFileReference()
259 return table->addResource(item.name, item.config, item.source.line(0), in addFileReference()
322 IdCollector(const Source& source, const std::shared_ptr<ResourceTable>& table) : in IdCollector()
323 mSource(source), mTable(table) { in IdCollector()
357 bool compileXml(const AaptOptions& options, const std::shared_ptr<ResourceTable>& table, in compileXml() argument
372 IdCollector idCollector(item.source, table); in compileXml()
[all …]
DResourceTableResolver.cpp33 std::shared_ptr<const ResourceTable> table, in ResourceTableResolver() argument
35 mTable(table), mSources(sources) { in ResourceTableResolver()
105 const android::ResTable& table = assetManager->getResources(false); in findName() local
108 if (!table.getResourceName(resId.id, false, &resourceName)) { in findName()
131 const android::ResTable& table = assetManager->getResources(false); in buildCacheEntry() local
135 table.identifierForName( in buildCacheEntry()
153 ssize_t bags = table.lockBag(resId.id, &bagBegin); in buildCacheEntry()
155 table.unlockBag(bagBegin); in buildCacheEntry()
178 bool result = table.getResourceName(bagBegin[i].map.name.ident, false, in buildCacheEntry()
196 table.unlockBag(bagBegin); in buildCacheEntry()
/frameworks/base/cmds/settings/src/com/android/commands/settings/
DSettingsCmd.java184 private List<String> listForUser(IContentProvider provider, int userHandle, String table) { in listForUser() argument
185 final Uri uri = "system".equals(table) ? Settings.System.CONTENT_URI in listForUser()
186 : "secure".equals(table) ? Settings.Secure.CONTENT_URI in listForUser()
187 : "global".equals(table) ? Settings.Global.CONTENT_URI in listForUser()
207 System.err.println("List failed in " + table + " for user " + userHandle); in listForUser()
222 final String table, final String key) { in getForUser() argument
224 if ("system".equals(table)) callGetCommand = Settings.CALL_METHOD_GET_SYSTEM; in getForUser()
225 else if ("secure".equals(table)) callGetCommand = Settings.CALL_METHOD_GET_SECURE; in getForUser()
226 else if ("global".equals(table)) callGetCommand = Settings.CALL_METHOD_GET_GLOBAL; in getForUser()
229 throw new IllegalArgumentException("Invalid table " + table); in getForUser()
[all …]
/frameworks/base/docs/html/ndk/reference/
Dstruct_a_sensor_event.jd15 <table class="memberdecls">
71 </table>
76 <table class="memname">
80 </table>
88 <table class="memname">
92 </table>
100 <table class="memname">
104 </table>
112 <table class="memname">
116 </table>
[all …]
Dstruct_a_sensor_vector.jd15 <table class="memberdecls">
45 </table>
52 <table class="memname">
56 </table>
64 <table class="memname">
68 </table>
76 <table class="memname">
80 </table>
88 <table class="memname">
92 </table>
[all …]
Dstruct_a_uncalibrated_event.jd15 <table class="memberdecls">
46 </table>
51 <table class="memname">
55 </table>
63 <table class="memname">
67 </table>
75 <table class="memname">
79 </table>
87 <table class="memname">
91 </table>
[all …]
Dstruct_a_native_window___buffer.jd15 <table class="memberdecls">
30 </table>
38 <table class="memname">
42 </table>
50 <table class="memname">
54 </table>
62 <table class="memname">
66 </table>
74 <table class="memname">
78 </table>
[all …]
Dstruct_a_native_activity.jd15 <table class="memberdecls">
38 </table>
45 <table class="memname">
49 </table>
58 <table class="memname">
62 </table>
64 <p>Pointer to the callback function table of the native application. You can set the functions here…
71 <table class="memname">
75 </table>
86 <table class="memname">
[all …]
Dgroup___bitmap.jd17 <table class="memberdecls">
22 </table><table class="memberdecls">
27 </table><table class="memberdecls">
32 </table><table class="memberdecls">
51 </table><table class="memberdecls">
60 </table>
66 <table class="memname">
70 </table>
80 <table class="memname">
84 </table>
[all …]
/frameworks/base/tools/preload/
Dsorttable.js34 forEach(document.getElementsByTagName('table'), function(table) { argument
35 if (table.className.search(/\bsortable\b/) != -1) {
36 sorttable.makeSortable(table);
42 makeSortable: function(table) { argument
43 if (table.getElementsByTagName('thead').length == 0) {
47 the.appendChild(table.rows[0]);
48 table.insertBefore(the,table.firstChild);
51 if (table.tHead == null) table.tHead = table.getElementsByTagName('thead')[0];
53 if (table.tHead.rows.length != 1) return; // can't cope with two header rows
60 for (var i=0; i<table.rows.length; i++) {
[all …]
/frameworks/wilhelm/tests/examples/
DxaVideoDecoderCapabilities.cpp64 const char *id_to_string(XAuint32 id, const id_to_string_t *table, size_t numEntries) in id_to_string() argument
68 if (id == table[i].id) { in id_to_string()
69 return table[i].string; in id_to_string()
83 const char *id_pair_to_string(XAuint32 id1, XAuint32 id2, const id_pair_to_string_t *table, in id_pair_to_string() argument
88 if (id1 == table[i].id1) { in id_pair_to_string()
89 return id_to_string(id2, table[i].id2_table, table[i].id2_numEntries); in id_pair_to_string()
148 static const id_pair_to_string_t table[] = { in videoProfileToString() local
155 return id_pair_to_string(codec, profile, table, sizeof(table) / sizeof(table[0])); in videoProfileToString()
212 static const id_pair_to_string_t table[] = { in videoLevelToString() local
219 return id_pair_to_string(codec, level, table, sizeof(table) / sizeof(table[0])); in videoLevelToString()
/frameworks/base/core/java/com/android/internal/content/
DSelectionBuilder.java99 public Cursor query(SQLiteDatabase db, String table, String[] columns, String orderBy) { in query() argument
100 return query(db, table, columns, null, null, orderBy, null); in query()
106 public Cursor query(SQLiteDatabase db, String table, String[] columns, String groupBy, in query() argument
108 return db.query(table, columns, getSelection(), getSelectionArgs(), groupBy, having, in query()
115 public int update(SQLiteDatabase db, String table, ContentValues values) { in update() argument
116 return db.update(table, values, getSelection(), getSelectionArgs()); in update()
122 public int delete(SQLiteDatabase db, String table) { in delete() argument
123 return db.delete(table, getSelection(), getSelectionArgs()); in delete()
/frameworks/base/docs/html/guide/topics/renderscript/reference/
Drs_quaternion.jd10 <table class='jd-sumtable'><tbody>
92 </tbody></table>
101 <table class='jd-tagtable'><tbody>
107 </tbody></table>
110 <table class='jd-tagtable'><tbody>
113 </tbody></table>
128 <table class='jd-tagtable'><tbody>
134 </tbody></table>
137 <table class='jd-tagtable'><tbody>
139 </tbody></table>
[all …]
Drs_atomic.jd23 <table class='jd-sumtable'><tbody>
105 </tbody></table>
114 <table class='jd-tagtable'><tbody>
127 </tbody></table>
130 <table class='jd-tagtable'><tbody>
133 </tbody></table>
136 <table class='jd-tagtable'><tbody>
138 </tbody></table>
153 <table class='jd-tagtable'><tbody>
166 </tbody></table>
[all …]
Drs_time.jd11 <table class='jd-sumtable'><tbody>
29 </tbody></table>
30 <table class='jd-sumtable'><tbody>
72 </tbody></table>
99 <table class='jd-tagtable'><tbody>
109 </tbody></table><br/>
123 <table class='jd-tagtable'><tbody>
129 </tbody></table>
132 <table class='jd-tagtable'><tbody>
134 </tbody></table>
[all …]
Drs_io.jd12 <table class='jd-sumtable'><tbody>
46 </tbody></table>
55 <table class='jd-tagtable'><tbody>
62 </tbody></table>
65 <table class='jd-tagtable'><tbody>
67 </tbody></table>
82 <table class='jd-tagtable'><tbody>
89 </tbody></table>
92 <table class='jd-tagtable'><tbody>
94 </tbody></table>
[all …]
Drs_object_info.jd70 <table class='jd-sumtable'><tbody>
256 </tbody></table>
257 <table class='jd-sumtable'><tbody>
267 </tbody></table>
276 <table class='jd-tagtable'><tbody>
282 </tbody></table>
285 <table class='jd-tagtable'><tbody>
287 </tbody></table>
306 <table class='jd-tagtable'><tbody>
312 </tbody></table>
[all …]
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dlsp_lsf.cpp111 extern const Word16 table[];
231 L_tmp = ((Word32)(table[ind + 1] - table[ind]) * offset) >> 8; in Lsf_lsp()
232 lsp[i] = add(table[ind], (Word16) L_tmp, pOverflow); in Lsf_lsp()
367 while (table[ind] < temp) in Lsp_lsf()
375 L_tmp = (Word32)(temp - table[ind]) * slope[ind]; in Lsp_lsf()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabase.java935 public void markTableSyncable(String table, String deletedTable) { in markTableSyncable() argument
951 public void markTableSyncable(String table, String foreignKey, String updateTable) { in markTableSyncable() argument
1031 public Cursor query(boolean distinct, String table, String[] columns, in query() argument
1034 return queryWithFactory(null, distinct, table, columns, selection, selectionArgs, in query()
1072 public Cursor query(boolean distinct, String table, String[] columns, in query() argument
1075 return queryWithFactory(null, distinct, table, columns, selection, selectionArgs, in query()
1112 boolean distinct, String table, String[] columns, in queryWithFactory() argument
1115 return queryWithFactory(cursorFactory, distinct, table, columns, selection, in queryWithFactory()
1155 boolean distinct, String table, String[] columns, in queryWithFactory() argument
1161 distinct, table, columns, selection, groupBy, having, orderBy, limit); in queryWithFactory()
[all …]
/frameworks/base/graphics/java/android/graphics/
DTableMaskFilter.java24 public TableMaskFilter(byte[] table) { in TableMaskFilter() argument
25 if (table.length < 256) { in TableMaskFilter()
28 native_instance = nativeNewTable(table); in TableMaskFilter()
43 private static native long nativeNewTable(byte[] table); in nativeNewTable() argument
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Disp_isf.c49 while (table[ind] < isp[i]) in Isp_isf()
52 L_tmp = vo_L_mult(vo_sub(isp[i], table[ind]), slope[ind]); in Isp_isf()
82 L_tmp = vo_L_mult(vo_sub(table[ind + 1], table[ind]), offset); in Isf_isp()
83 isp[i] = add1(table[ind], (Word16)((L_tmp >> 8))); in Isf_isp()

12345678910>>...20