/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
H A D | log2_tab.h | 28 static const Word16 table[33] = variable
|
H A D | isp_isf.tab | 22 /* table of cos(x) in Q15 */ 24 static const Word16 table[129] = {
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
H A D | lsp_lsf_tbl.cpp | 37 Description: Added #ifdef __cplusplus and removed "extern" from table 80 extern const Word16 table[]; 81 const Word16 table[65] = variable
|
H A D | lsp_lsf.cpp | 50 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 D | TableMaskFilter.java | 24 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/tools/aapt2/ |
H A D | ResourceTable_test.cpp | 30 ResourceTable table; local 32 EXPECT_FALSE(table.AddResource( 37 EXPECT_FALSE(table.AddResource( 44 ResourceTable table; local 46 EXPECT_TRUE(table.AddResourceAllowMangled( 52 ResourceTable table; local 54 EXPECT_TRUE(table.AddResource( 59 ASSERT_NE(nullptr, test::GetValue<Id>(&table, "android:attr/id")); 63 ResourceTable table; local 69 EXPECT_TRUE(table 99 ResourceTable table; local 119 ResourceTable table; local [all...] |
H A D | Debug.h | 34 static void PrintTable(ResourceTable* table, 36 static void PrintStyleGraph(ResourceTable* table,
|
/frameworks/base/tools/aapt2/optimize/ |
H A D | VersionCollapser_test.cpp | 40 std::unique_ptr<ResourceTable> table = BuildTableWithConfigs( local 45 ASSERT_TRUE(collapser.Consume(context.get(), table.get())); 49 test::GetValueForConfig<Id>(table.get(), res_name, 52 test::GetValueForConfig<Id>(table.get(), res_name, 57 test::GetValueForConfig<Id>(table.get(), res_name, 62 test::GetValueForConfig<Id>(table.get(), res_name, 67 test::GetValueForConfig<Id>(table.get(), res_name, 70 test::GetValueForConfig<Id>(table.get(), res_name, 73 test::GetValueForConfig<Id>(table.get(), res_name, 83 std::unique_ptr<ResourceTable> table local [all...] |
H A D | ResourceDeduper_test.cpp | 32 std::unique_ptr<ResourceTable> table = local 49 ASSERT_TRUE(ResourceDeduper().Consume(context.get(), table.get())); 51 table.get(), "android:string/dedupe", en_config)); 53 table.get(), "android:string/dedupe", land_config)); 55 table.get(), "android:string/dedupe2", en_config)); 57 table.get(), "android:string/dedupe2", en_v21_config)); 68 std::unique_ptr<ResourceTable> table = local 78 ASSERT_TRUE(ResourceDeduper().Consume(context.get(), table.get())); 80 table.get(), "android:string/keep", en_config)); 82 table [all...] |
/frameworks/base/tools/aapt2/link/ |
H A D | ProductFilter_test.cpp | 29 ResourceTable table; local 30 ASSERT_TRUE(table.AddResource( 34 ASSERT_TRUE(table.AddResource( 39 ASSERT_TRUE(table.AddResource( 43 ASSERT_TRUE(table.AddResource( 49 ASSERT_TRUE(filter.Consume(context.get(), &table)); 52 &table, "android:string/one", land, "")); 54 &table, "android:string/one", land, "tablet")); 56 &table, "android:string/one", port, "")); 58 &table, "androi 64 ResourceTable table; local 90 ResourceTable table; local 114 ResourceTable table; local [all...] |
H A D | ReferenceLinker_test.cpp | 26 std::unique_ptr<ResourceTable> table = local 46 util::make_unique<ResourceTableSymbolSource>(table.get())) 54 ASSERT_TRUE(linker.Consume(context.get(), table.get())); 56 Reference* ref = test::GetValue<Reference>(table.get(), "com.app.test:string/foo"); 61 ref = test::GetValue<Reference>(table.get(), "com.app.test:string/bar"); 66 ref = test::GetValue<Reference>(table.get(), "com.app.test:string/baz"); 73 std::unique_ptr<ResourceTable> table = local 88 // table, because we need access to the string pool. 89 Style* style = test::GetValue<Style>(table.get(), "com.app.test:style/Theme"); 92 util::make_unique<RawString>(table 154 std::unique_ptr<ResourceTable> table = local 175 std::unique_ptr<ResourceTable> table = local 200 std::unique_ptr<ResourceTable> table = local 228 std::unique_ptr<ResourceTable> table = local [all...] |
H A D | PrivateAttributeMover_test.cpp | 26 std::unique_ptr<ResourceTable> table = local 39 ASSERT_TRUE(mover.Consume(context.get(), table.get())); 41 ResourceTablePackage* package = table->FindPackage("android"); 60 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local 66 ASSERT_TRUE(mover.Consume(context.get(), table.get())); 68 ResourceTablePackage* package = table->FindPackage("android"); 81 std::unique_ptr<ResourceTable> table = local 87 ResourceTablePackage* package = table->FindPackage("android"); 93 ASSERT_TRUE(mover.Consume(context.get(), table.get()));
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | isp_isf.cpp | 58 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/libs/androidfw/tests/ |
H A D | Split_test.cpp | 67 ResTable table; local 69 table.add(basic_contents_.data(), basic_contents_.size())); 76 ResTable table; local 77 table.setParameters(&frenchConfig); 80 table.add(basic_contents_.data(), basic_contents_.size())); 87 ssize_t block = table.getResource(R::string::test1, &val, MAY_NOT_BE_BAG, 0, 105 ResTable table; local 106 table.setParameters(&expectedConfig); 109 table.add(basic_contents_.data(), basic_contents_.size())); 110 ASSERT_EQ(NO_ERROR, table 129 ResTable table; local 158 ResTable table; local 188 ResTable table; local 214 ResTable table; local 232 ResTable table; local 253 ResTable table; local [all...] |
H A D | AppAsLib_test.cpp | 34 ResTable table; local 35 ASSERT_EQ(NO_ERROR, table.add(contents.data(), contents.size())); 38 ssize_t block = table.getResource(app::R::integer::number1, &val); 51 ResTable table; local 53 ASSERT_EQ(NO_ERROR, table.add(contents.data(), contents.size(), NULL, 0, -1, 57 ssize_t block = table.getResource(lib::R::integer::number1, &val); 70 ResTable table; local 72 ASSERT_EQ(NO_ERROR, table.add(contents.data(), contents.size(), NULL, 0, -1, 76 ssize_t block = table.getResource(lib::R::integer::number1, &val);
|
H A D | ResTable_test.cpp | 40 ResTable table; local 41 ASSERT_EQ(NO_ERROR, table.add(contents.data(), contents.size())); 49 ResTable table; local 50 ASSERT_EQ(NO_ERROR, table.add(contents.data(), contents.size())); 55 table.setParameters(&config); 60 table.identifierForName(name.string(), name.size(), nullptr, 0, nullptr, 0, &flags); 66 table.getResource(resid, &val, false /*mayBeBag*/, 0u /*density*/, &flags, &selected_config), 77 ResTable table; local 78 ASSERT_EQ(NO_ERROR, table.add(contents.data(), contents.size())); 80 EXPECT_TRUE(IsStringEqual(table, basi 88 ResTable table; local 105 ResTable table; local 129 ResTable table; local 153 ResTable table; local 177 ResTable table; local 198 ResTable table; local 231 ResTable table; local 258 ResTable table; local 372 ResTable table; local 406 ResTable table; local [all...] |
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/ |
H A D | FakeSettingsProvider.java | 64 * 3. Calling ContentResolver#notifyChange(getUriFor(table, arg), ...) on every settings change. 80 private Uri getUriFor(String table, String key) { argument 81 switch (table) { 89 throw new UnsupportedOperationException("Unknown settings table " + table); 97 String table = commands[1]; 103 value = mTables.get(table).get(arg); 107 table, arg, value)); 116 table, arg, value)); 119 mTables.get(table) [all...] |
/frameworks/base/libs/hwui/ |
H A D | GammaFontRenderer.h | 41 const uint8_t* table = nullptr; local 43 table = &mGammaTable[0]; 45 mRenderer.reset(new FontRenderer(table));
|
/frameworks/base/core/java/com/android/internal/content/ |
H A D | SelectionBuilder.java | 99 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/base/core/tests/coretests/src/com/android/internal/app/procstats/ |
H A D | SparseMappingTableTest.java | 51 final SparseMappingTable.Table table = new SparseMappingTable.Table(data); 57 table.writeToParcel(tableParcel); 79 final SparseMappingTable.Table table = new SparseMappingTable.Table(data); 81 key = table.getOrAddKey(ID1, 1); 82 table.setValue(key, VALUE1); 84 key = table.getOrAddKey(ID2, 1); 85 table.setValue(key, VALUE2); 91 table.writeToParcel(tableParcel); 120 final SparseMappingTable.Table table = new SparseMappingTable.Table(data); 122 key = table [all...] |
/frameworks/base/tools/aapt2/process/ |
H A D | SymbolTable_test.cpp | 24 std::unique_ptr<ResourceTable> table = local 32 ResourceTableSymbolSource symbol_source(table.get()); 43 std::unique_ptr<ResourceTable> table = local 49 ResourceTableSymbolSource symbol_source(table.get()); 57 std::unique_ptr<ResourceTable> table = local 65 symbol_table.AppendSource(util::make_unique<ResourceTableSymbolSource>(table.get()));
|
/frameworks/base/tools/aapt2/split/ |
H A D | TableSplitter_test.cpp | 24 std::unique_ptr<ResourceTable> table = local 44 splitter.SplitTable(table.get()); 47 table.get(), "android:drawable/icon", 50 table.get(), "android:drawable/icon", 53 table.get(), "android:drawable/icon", 56 table.get(), "android:drawable/icon", 58 EXPECT_NE(nullptr, test::GetValue<Id>(table.get(), "android:string/one")); 62 std::unique_ptr<ResourceTable> table = local 83 splitter.SplitTable(table.get()); 88 table 107 std::unique_ptr<ResourceTable> table = local 191 ResourceTable table; local [all...] |
/frameworks/base/tools/aapt2/compile/ |
H A D | IdAssigner_test.cpp | 23 ::testing::AssertionResult VerifyIds(ResourceTable* table); 26 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local 36 ASSERT_TRUE(assigner.Consume(context.get(), table.get())); 37 ASSERT_TRUE(VerifyIds(table.get())); 41 std::unique_ptr<ResourceTable> table = local 59 ASSERT_TRUE(assigner.Consume(context.get(), table.get())); 60 ASSERT_TRUE(VerifyIds(table.get())); 66 maybe_result = table->FindResource(test::ParseNameOrDie("android:dimen/two")); 71 table->FindResource(test::ParseNameOrDie("android:integer/three")); 79 table 95 std::unique_ptr<ResourceTable> table = local 110 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local 132 VerifyIds(ResourceTable* table) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | isp_isf.c | 25 * 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 D | log2.c | 45 * 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...] |