Searched refs:table (Results 1 - 25 of 90) sorted by relevance

1234

/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
H A Dlog2_tab.h28 static const Word16 table[33] = variable
H A Disp_isf.tab22 /* table of cos(x) in Q15 */
24 static const Word16 table[129] = {
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dlsp_lsf_tbl.cpp37 Description: Added #ifdef __cplusplus and removed "extern" from table
80 extern const Word16 table[];
81 const Word16 table[65] = variable
H A Dlsp_lsf.cpp50 Description: Placed table declarations in a .c file, rather than an included
63 Description: Added #ifdef __cplusplus around extern'ed table.
111 extern const Word16 table[];
140 table = cosine table
152 The transformation from lsp[i] to lsf[i] is approximated by a look-up table
182 // lsp[i] = table[ind]+ ((table[ind+1]-table[ind])*offset) / 256
184 L_tmp = L_mult (sub (table[in
[all...]
/frameworks/base/tools/aapt2/
H A DDebug.h28 static void printTable(const std::shared_ptr<ResourceTable>& table);
29 static void printStyleGraph(const std::shared_ptr<ResourceTable>& table,
H A DResourceTable_test.cpp64 ResourceTable table; local
65 table.setPackage(u"android");
67 EXPECT_FALSE(table.addResource(
72 EXPECT_FALSE(table.addResource(
81 ResourceTable table; local
82 table.setPackage(kAndroidPackage);
86 EXPECT_TRUE(table.addResource(name, {}, SourceLine{ "test/path/file.xml", 23 },
91 std::tie(type, entry) = table.findResource(name);
105 ResourceTable table; local
106 table
200 ResourceTable table; local
[all...]
H A DTableFlattener.h43 * Set this to false when emitting the final table to be used
51 bool flatten(BigBuffer* out, const ResourceTable& table);
/frameworks/base/graphics/java/android/graphics/
H A DTableMaskFilter.java24 public TableMaskFilter(byte[] table) { argument
25 if (table.length < 256) {
26 throw new RuntimeException("table.length must be >= 256");
28 native_instance = nativeNewTable(table);
43 private static native long nativeNewTable(byte[] table); argument
/frameworks/base/libs/androidfw/tests/
H A DSplit_test.cpp31 * Include a binary resource table. This table
32 * is a base table for an APK split.
39 * Include a binary resource table. This table
40 * is a configuration split table for an APK split.
50 * Include a binary resource table. This table
51 * is a feature split table for an APK split.
66 ResTable table; local
74 ResTable table; local
99 ResTable table; local
120 ResTable table; local
150 ResTable table; local
175 ResTable table; local
197 ResTable table; local
213 ResTable table; local
234 ResTable table; local
[all...]
H A DResTable_test.cpp36 * Include a binary resource table.
45 ResTable table; local
46 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len));
50 ResTable table; local
51 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len));
53 EXPECT_TRUE(IsStringEqual(table, base::R::string::test1, "test1"));
57 ResTable table; local
58 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len));
62 uint32_t resID = table.identifierForName(testName.string(), testName.size(),
70 ResTable table; local
90 ResTable table; local
110 ResTable table; local
125 ResTable table; local
141 ResTable table; local
169 ResTable table; local
195 ResTable table; local
[all...]
H A DTestHelpers.cpp25 ::testing::AssertionResult IsStringEqual(const ResTable& table, uint32_t resourceId, const char* expectedStr) { argument
27 ssize_t block = table.getResource(resourceId, &val, MAY_NOT_BE_BAG);
36 const ResStringPool* pool = table.getTableStringBlock(block);
38 return ::testing::AssertionFailure() << "table has no string pool for block " << block;
H A DTheme_test.cpp40 ResTable table; local
41 ASSERT_EQ(NO_ERROR, table.add(system_arsc, system_arsc_len));
42 ASSERT_EQ(NO_ERROR, table.add(app_arsc, app_arsc_len));
44 ResTable::Theme theme1(table);
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Disp_isf.cpp58 approximated by a look-up table and interpolation.
107 /* Look-up table for transformations */
109 /* table of cos(x) in Q15 */
111 static const int16 table[129] = variable
168 /* isp[i] = table[ind]+ ((table[ind+1]-table[ind])*offset) / 128 */
170 L_tmp = mul_16by16_to_int32(table[ind + 1] - table[ind], offset);
171 isp[i] = add_int16(table[in
[all...]
/frameworks/base/core/java/com/android/internal/content/
H A DSelectionBuilder.java99 public Cursor query(SQLiteDatabase db, String table, String[] columns, String orderBy) { argument
100 return query(db, table, columns, null, null, orderBy, null);
106 public Cursor query(SQLiteDatabase db, String table, String[] columns, String groupBy, argument
108 return db.query(table, columns, getSelection(), getSelectionArgs(), groupBy, having,
115 public int update(SQLiteDatabase db, String table, ContentValues values) { argument
116 return db.update(table, values, getSelection(), getSelectionArgs());
122 public int delete(SQLiteDatabase db, String table) { argument
123 return db.delete(table, getSelection(), getSelectionArgs());
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Disp_isf.c25 * are approximated by a look-up table and interpolation *
31 #include "isp_isf.tab" /* Look-up table for transformations */
41 ind = 127; /* beging at end of table -1 */
46 ind = 127; /* beging at end of table -1 */
48 /* find value in table that is just greater than isp[i] */
49 while (table[ind] < isp[i])
51 /* acos(isp[i])= ind*128 + ( ( isp[i]-table[ind] ) * slope[ind] )/2048 */
52 L_tmp = vo_L_mult(vo_sub(isp[i], table[ind]), slope[ind]);
53 isf[i] = vo_round((L_tmp << 4)); /* (isp[i]-table[ind])*slope[ind])>>11 */
81 /* isp[i] = table[in
[all...]
H A Dlog2.c45 * The function Log2(L_x) is approximated by a table and linear
52 * 5- fraction = table[i]<<16 - (table[i] - table[i+1]) * a * 2
78 L_y = L_deposit_h (table[i]); /* table[i] << 16 */
79 tmp = vo_sub(table[i], table[i + 1]); /* table[i] - table[
[all...]
/frameworks/base/cmds/settings/src/com/android/commands/settings/
H A DSettingsCmd.java184 private List<String> listForUser(IContentProvider provider, int userHandle, String table) { argument
185 final Uri uri = "system".equals(table) ? Settings.System.CONTENT_URI
186 : "secure".equals(table) ? Settings.Secure.CONTENT_URI
187 : "global".equals(table) ? Settings.Global.CONTENT_URI
207 System.err.println("List failed in " + table + " for user " + userHandle);
222 final String table, final String key) {
224 if ("system".equals(table)) callGetCommand = Settings.CALL_METHOD_GET_SYSTEM;
225 else if ("secure".equals(table)) callGetCommand = Settings.CALL_METHOD_GET_SECURE;
226 else if ("global".equals(table)) callGetCommand = Settings.CALL_METHOD_GET_GLOBAL;
228 System.err.println("Invalid table; n
221 getForUser(IContentProvider provider, int userHandle, final String table, final String key) argument
246 putForUser(IContentProvider provider, int userHandle, final String table, final String key, final String value) argument
267 deleteForUser(IContentProvider provider, int userHandle, final String table, final String key) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/
H A DAddColumn.java17 package android.widget.layout.table;
30 * This test adds an extra row with an extra column in the table.
41 final TableLayout table = (TableLayout) findViewById(R.id.table);
49 table.addView(newRow, new TableLayout.LayoutParams());
H A DCellSpan.java17 package android.widget.layout.table;
25 * Exercise table layout with cells spanning.
H A DFixedWidth.java17 package android.widget.layout.table;
25 * Exercise table layout with cells having a fixed width and height.
H A DHorizontalGravity.java17 package android.widget.layout.table;
25 * Exercise table layout with cells using a horizontal gravity.
H A DVerticalGravity.java17 package android.widget.layout.table;
25 * Exercise table layout with cells using a vertical gravity.
H A DWeight.java17 package android.widget.layout.table;
25 * Exercise table layout with cells having a weight.
/frameworks/wilhelm/tests/examples/
H A DxaVideoDecoderCapabilities.cpp57 // Use a table of [integer, string] entries to map an integer to a string
64 const char *id_to_string(XAuint32 id, const id_to_string_t *table, size_t numEntries) argument
68 if (id == table[i].id) {
69 return table[i].string;
75 // Use a table of [integer, table] entries to map a pair of integers to a string
83 const char *id_pair_to_string(XAuint32 id1, XAuint32 id2, const id_pair_to_string_t *table, argument
88 if (id1 == table[i].id1) {
89 return id_to_string(id2, table[i].id2_table, table[
148 static const id_pair_to_string_t table[] = { local
212 static const id_pair_to_string_t table[] = { local
[all...]
/frameworks/base/tools/preload/
H A Dsorttable.js10 Add class="sortable" to any table you'd like to make sortable
34 forEach(document.getElementsByTagName('table'), function(table) {
35 if (table.className.search(/\bsortable\b/) != -1) {
36 sorttable.makeSortable(table);
42 makeSortable: function(table) {
43 if (table.getElementsByTagName('thead').length == 0) {
44 // table doesn't have a tHead. Since it should have, create one and
45 // put the first table row in it.
47 the.appendChild(table
[all...]

Completed in 6503 milliseconds

1234