Searched defs:table (Results 1 - 25 of 79) sorted by relevance

1234

/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
H A Dlog2_tab.h28 static const Word16 table[33] = variable
/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
/frameworks/base/libs/androidfw/tests/
H A DAppAsLib_test.cpp32 ResTable table; local
33 ASSERT_EQ(NO_ERROR, table.add(appaslib_arsc, appaslib_arsc_len));
36 ssize_t block = table.getResource(appaslib::R::app::integer::number1, &val);
44 ResTable table; local
46 ASSERT_EQ(NO_ERROR, table.add(appaslib_arsc, appaslib_arsc_len, NULL, 0, -1, false, true));
49 ssize_t block = table.getResource(appaslib::R::lib::integer::number1, &val);
57 ResTable table; local
59 ASSERT_EQ(NO_ERROR, table.add(appaslib_lib_arsc, appaslib_lib_arsc_len, NULL, 0, -1, false, true));
62 ssize_t block = table.getResource(appaslib::R::lib::integer::number1, &val);
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);
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/base/tools/aapt2/process/
H A DSymbolTable_test.cpp23 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local
30 ResourceTableSymbolSource symbolSource(table.get());
41 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local
46 ResourceTableSymbolSource symbolSource(table.get());
/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.
H A DAddColumnTest.java17 package android.widget.layout.table;
19 import android.widget.layout.table.AddColumn;
30 * {@link android.widget.layout.table.AddColumn} is
31 * setup to exercise the case of adding row programmatically in a table.
47 mTable = (TableLayout) activity.findViewById(R.id.table);
H A DCellSpanTest.java17 package android.widget.layout.table;
19 import android.widget.layout.table.CellSpan;
27 * {@link android.widget.layout.table.CellSpan} is
H A DFixedWidthTest.java17 package android.widget.layout.table;
19 import android.widget.layout.table.FixedWidth;
27 * {@link android.widget.layout.table.FixedWidth} is
/frameworks/base/tools/aapt2/link/
H A DPrivateAttributeMover_test.cpp28 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local
38 ASSERT_TRUE(mover.consume(context.get(), table.get()));
40 ResourceTablePackage* package = table->findPackage(u"android");
59 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local
65 ASSERT_TRUE(mover.consume(context.get(), table.get()));
67 ResourceTablePackage* package = table->findPackage(u"android");
H A DProductFilter_test.cpp31 ResourceTable table; local
32 ASSERT_TRUE(table.addResource(test::parseNameOrDie(u"@android:string/one"),
37 ASSERT_TRUE(table.addResource(test::parseNameOrDie(u"@android:string/one"),
43 ASSERT_TRUE(table.addResource(test::parseNameOrDie(u"@android:string/one"),
48 ASSERT_TRUE(table.addResource(test::parseNameOrDie(u"@android:string/one"),
55 ASSERT_TRUE(filter.consume(context.get(), &table));
57 EXPECT_EQ(nullptr, test::getValueForConfigAndProduct<Id>(&table, u"@android:string/one",
59 EXPECT_NE(nullptr, test::getValueForConfigAndProduct<Id>(&table, u"@android:string/one",
61 EXPECT_EQ(nullptr, test::getValueForConfigAndProduct<Id>(&table, u"@android:string/one",
63 EXPECT_NE(nullptr, test::getValueForConfigAndProduct<Id>(&table,
70 ResourceTable table; local
96 ResourceTable table; local
120 ResourceTable table; local
[all...]
H A DReferenceLinker_test.cpp25 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local
41 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get()))
48 ASSERT_TRUE(linker.consume(context.get(), table.get()));
50 Reference* ref = test::getValue<Reference>(table.get(), u"@com.app.test:string/foo");
55 ref = test::getValue<Reference>(table.get(), u"@com.app.test:string/bar");
60 ref = test::getValue<Reference>(table.get(), u"@com.app.test:string/baz");
67 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local
78 // table, because we need access to the string pool.
79 Style* style = test::getValue<Style>(table.get(), u"@com.app.test:style/Theme");
82 table
139 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local
158 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local
179 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local
202 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local
[all...]
/frameworks/av/media/libstagefright/
H A DSampleIterator.cpp33 SampleIterator::SampleIterator(SampleTable *table) argument
34 : mTable(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/tools/aapt2/
H A DResourceTable_test.cpp32 ResourceTable table; local
34 EXPECT_FALSE(table.addResource(
40 EXPECT_FALSE(table.addResource(
48 ResourceTable table; local
50 EXPECT_TRUE(table.addResource(test::parseNameOrDie(u"@android:attr/id"),
57 ASSERT_NE(nullptr, test::getValue<Id>(&table, u"@android:attr/id"));
61 ResourceTable table; local
67 EXPECT_TRUE(table.addResource(
74 EXPECT_TRUE(table.addResource(
81 EXPECT_TRUE(table
105 ResourceTable table; local
123 ResourceTable table; local
[all...]
/frameworks/base/tools/aapt2/compile/
H A DIdAssigner_test.cpp26 ::testing::AssertionResult verifyIds(ResourceTable* table);
29 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local
39 ASSERT_TRUE(assigner.consume(context.get(), table.get()));
40 ASSERT_TRUE(verifyIds(table.get()));
44 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local
56 ASSERT_TRUE(assigner.consume(context.get(), table.get()));
57 ASSERT_TRUE(verifyIds(table.get()));
61 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local
71 ASSERT_FALSE(assigner.consume(context.get(), table.get()));
74 ::testing::AssertionResult verifyIds(ResourceTable* table) { argument
[all...]
H A DPseudolocaleGenerator_test.cpp76 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local
85 String* val = test::getValue<String>(table.get(), u"@android:string/four");
90 ASSERT_TRUE(generator.consume(context.get(), table.get()));
93 ASSERT_NE(nullptr, test::getValueForConfig<String>(table.get(), u"@android:string/one",
95 ASSERT_NE(nullptr, test::getValueForConfig<String>(table.get(), u"@android:string/one",
99 ASSERT_EQ(nullptr, test::getValueForConfig<String>(table.get(), u"@android:string/two",
101 ASSERT_EQ(nullptr, test::getValueForConfig<String>(table.get(), u"@android:string/two",
106 val = test::getValueForConfig<String>(table.get(), u"@android:string/three",
111 ASSERT_NE(nullptr, test::getValueForConfig<String>(table.get(), u"@android:string/three",
115 ASSERT_EQ(nullptr, test::getValueForConfig<String>(table
[all...]
/frameworks/base/tools/aapt2/split/
H A DTableSplitter_test.cpp26 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local
41 splitter.splitTable(table.get());
43 EXPECT_EQ(nullptr, test::getValueForConfig<FileReference>(table.get(),
46 EXPECT_EQ(nullptr, test::getValueForConfig<FileReference>(table.get(),
49 EXPECT_NE(nullptr, test::getValueForConfig<FileReference>(table.get(),
52 EXPECT_EQ(nullptr, test::getValueForConfig<FileReference>(table.get(),
55 EXPECT_NE(nullptr, test::getValue<Id>(table.get(), u"@android:string/one"));
59 ResourceTable table; local
62 ASSERT_TRUE(table.addResource(foo, test::parseConfigOrDie("land-hdpi"), {},
65 ASSERT_TRUE(table
[all...]
/frameworks/av/media/mtp/
H A DMtpDebug.cpp371 static const char* getCodeName(uint16_t code, const CodeEntry* table) { argument
372 const CodeEntry* entry = table;

Completed in 377 milliseconds

1234