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

123

/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/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.cpp32 * Include a binary resource table.
41 ResTable table; local
42 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len));
46 ResTable table; local
47 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len));
49 EXPECT_TRUE(IsStringEqual(table, base::R::string::test1, "test1"));
53 ResTable table; local
54 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len));
58 uint32_t resID = table.identifierForName(testName.string(), testName.size(),
66 ResTable table; local
86 ResTable table; local
106 ResTable table; local
121 ResTable table; local
137 ResTable table; local
165 ResTable table; local
191 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;
/frameworks/rs/cpu_ref/linkloader/include/impl/
H A DELFSectionSymTab.hxx26 for (size_t i = 0; i < table.size(); ++i) {
27 delete table[i];
34 for (size_t i = 0; i < table.size(); ++i) {
35 if (table[i] && table[i]->isConcreteFunc()) {
45 for (size_t i = 0; i < table.size(); ++i) {
46 if (table[i] && table[i]->isExternFunc()) {
55 for (size_t i = 0; i < table.size(); ++i) {
56 ELFSymbolTy *symbol = table[
[all...]
H A DELFSectionHeaderTable.hxx28 for (size_t i = 0; i < table.size(); ++i) {
29 delete table[i];
43 // Allocate a new section header table and assign the owner.
64 tab->table.push_back(sh.release());
79 for (size_t i = 0; i < table.size(); ++i) {
88 for (size_t i = 0; i < table.size(); ++i) {
89 ELFSectionHeaderTy *sh = table[i];
103 return table[0];
/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/rs/cpu_ref/linkloader/include/
H A DELFSectionRelTable.h32 std::vector<ELFRelocTy *> table; member in class:ELFSectionRelTable
46 return table.size();
50 return table[index];
54 return table[index];
H A DELFSectionHeaderTable.h33 std::vector<ELFSectionHeaderTy *> table; member in class:ELFSectionHeaderTable
47 return table[i];
51 return table[i];
H A DELFSectionSymTab.h33 std::vector<ELFSymbolTy *> table; member in class:ELFSectionSymTab
49 return table.size();
53 return table[index];
57 return table[index];
/frameworks/base/core/jni/android/graphics/
H A DNinePatchPeeker.cpp42 SkImageDecoder::PrefConfigTable table; local
43 table.fPrefFor_8Index_NoAlpha_src = SkBitmap::kIndex8_Config;
44 table.fPrefFor_8Index_YesAlpha_src = SkBitmap::kIndex8_Config;
45 table.fPrefFor_8Gray_src = SkBitmap::kARGB_8888_Config;
46 table.fPrefFor_8bpc_NoAlpha_src = SkBitmap::kARGB_8888_Config;
47 table.fPrefFor_8bpc_YesAlpha_src = SkBitmap::kARGB_8888_Config;
49 mHost->setPrefConfigTable(table);
/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.java177 final String table, final String key) {
179 if ("system".equals(table)) callGetCommand = Settings.CALL_METHOD_GET_SYSTEM;
180 else if ("secure".equals(table)) callGetCommand = Settings.CALL_METHOD_GET_SECURE;
181 else if ("global".equals(table)) callGetCommand = Settings.CALL_METHOD_GET_GLOBAL;
183 System.err.println("Invalid table; no put performed");
184 throw new IllegalArgumentException("Invalid table " + table);
196 System.err.println("Can't read key " + key + " in " + table + " for user " + userHandle);
202 final String table, final String key, final String value) {
204 if ("system".equals(table)) callPutComman
176 getForUser(IContentProvider provider, int userHandle, final String table, final String key) argument
201 putForUser(IContentProvider provider, int userHandle, final String table, final String key, final String value) argument
222 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.

Completed in 1407 milliseconds

123