/external/snakeyaml/src/test/java/org/yaml/snakeyaml/extensions/compactnotation/ |
Row.java | 18 public class Row { 25 public Row(String id) { 78 return "Row id=" + id;
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
MockSuggestionProviderCursor.java | 28 private final ArrayList<Row> mRows; 32 mRows = new ArrayList<Row>(); 35 public Row addRow(Object... values) { 36 Row row = new Row(values); local 37 mRows.add(row); 38 return row; 90 private class Row { 92 public Row(Object... values) [all...] |
/external/chromium-trace/catapult/dashboard/dashboard/ |
graph_csv.py | 48 q = graph_data.Row.query() 49 q = q.filter(graph_data.Row.parent_test == utils.OldStyleTestKey(test_key)) 51 q = q.filter(graph_data.Row.revision <= int(rev)) 52 q = q.order(-graph_data.Row.revision) 72 points: A list of Row entities. 73 attributes: A list of properties of Row entities to get. 80 row = [] 82 row.append(getattr(point, attr, '')) 83 rows.append(row)
|
new_points.py | 31 # Construct a query for recently added Row entities. 32 query = graph_data.Row.query() 33 query = query.order(-graph_data.Row.timestamp) 42 # Row entities that belong to a test that matches the pattern. 62 query = query.filter(graph_data.Row.parent_test.IN(test_keys)) 70 # Fetch the Row entities. 75 for row in rows: 77 'test': utils.TestPath(row.parent_test), 78 'added_time': row.timestamp.strftime('%Y-%m-%d %H:%M:%S %Z'), 79 'revision': row.revision [all...] |
datastore_hooks_test.py | 38 # Need to be privileged to add TestMetadata and Row objects to the datastore 80 graph_data.Row( 83 graph_data.Row( 153 rows = graph_data.Row.query().fetch() 159 rows = graph_data.Row.query(ndb.OR( 160 graph_data.Row.revision < 20, graph_data.Row.revision > 70)).filter( 161 graph_data.Row.value == 20).fetch() 201 rows = graph_data.Row.query().filter(graph_data.Row.value == 20).fetch( [all...] |
dump_graph_json.py | 45 num_points: Max number of Row entities (optional). 51 TestMetadata, Row, Anomaly and Sheriff entities). 67 # Get the Row entities. 68 q = graph_data.Row.query() 70 q = q.filter(graph_data.Row.parent_test == utils.OldStyleTestKey(test_key)) 72 q = q.filter(graph_data.Row.revision <= int(end_rev)) 73 q = q.order(-graph_data.Row.revision) 92 num_points: Max number of Row entities (optional). 98 TestMetadata, Row, Anomaly and Sheriff entities). 116 # Get the Row entities [all...] |
find_anomalies.py | 89 """Gets the Row entities that we want to analyze. 100 query = graph_data.Row.query(projection=['revision', 'value']) 102 graph_data.Row.parent_test == utils.OldStyleTestKey(test.key)) 106 query = query.filter(graph_data.Row.revision > test.last_alerted_revision) 107 query = query.order(-graph_data.Row.revision) 114 """Gets the revision number of the Row with the highest ID for a test.""" 115 query = graph_data.Row.query( 116 graph_data.Row.parent_test == utils.OldStyleTestKey(test_key)) 117 query = query.order(-graph_data.Row.revision) 209 """Gets the revision number of the Row immediately before the given one [all...] |
delete_test_data_test.py | 55 """Adds sample TestMetadata and Row entities.""" 58 # Add 50 Row entities to some of the tests. 66 num_rows = graph_data.Row.query( 67 graph_data.Row.parent_test == utils.OldStyleTestKey(test_key) 75 num_rows = graph_data.Row.query( 76 graph_data.Row.parent_test == utils.OldStyleTestKey(test_key)).count()
|
graph_revisions_test.py | 38 row = graph_data.Row(parent=test_container_key, 40 row.timestamp = datetime.datetime(2013, 8, 1) 41 row.put() 50 for index, row in enumerate(json.loads(response.body)): 55 self.assertEqual([expected_rev, expected_value, expected_timestamp], row) 78 row1 = graph_data.Row(parent=test_container_key, 82 row2 = graph_data.Row(parent=test_container_key, 86 row3 = graph_data.Row(parent=test_container_key,
|
new_points_test.py | 40 # The times of the Row entities will have to be explicitly set, since being 46 mytest_row = graph_data.Row( 53 other_row = graph_data.Row( 68 graph_data.Row(parent=test_container_key, id=i + 1000, value=i + 1000, 111 # Only the header row is listed, not any others rows. 120 graph_data.Row(parent=test_container_key, id=1, value=1).put() 127 # 12 points across 12 tests, plus one row for the header.
|
/external/webrtc/webrtc/system_wrappers/source/ |
aligned_array_unittest.cc | 31 ASSERT_TRUE(IsAligned(arr.Row(i), 128)); 32 ASSERT_EQ(arr.Row(i), arr.Array()[i]); 48 ASSERT_EQ(arr.Row(i)[j], 20 * i + j);
|
data_log.cc | 30 // A Row contains cells, which are indexed by the column names as std::string. 32 class Row { 34 Row(); 35 ~Row(); 56 // A LogTable contains multiple rows, where only the latest row is active for 70 // Buffers the current row while it is waiting to be written to file, 71 // which is done by a call to Flush(). A new row is available when the 94 typedef std::list<Row*> RowList; 100 Row* current_row_; 106 Row::Row( [all...] |
/developers/build/prebuilts/gradle/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/ |
SampleGridPagerAdapter.java | 38 * Constructs fragments as requested by the GridViewPager. For each row a different background is 49 private List<Row> mRows; 58 mRows = new ArrayList<SampleGridPagerAdapter.Row>(); 60 mRows.add(new Row(cardFragment(R.string.welcome_title, R.string.welcome_text))); 61 mRows.add(new Row(cardFragment(R.string.about_title, R.string.about_text))); 62 mRows.add(new Row( 65 mRows.add(new Row( 68 mRows.add(new Row(new CustomFragment())); 69 mRows.add(new Row(cardFragment(R.string.dismiss_title, R.string.dismiss_text))); 76 protected Drawable create(final Integer row) { [all...] |
/developers/samples/android/wearable/wear/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/ |
SampleGridPagerAdapter.java | 38 * Constructs fragments as requested by the GridViewPager. For each row a different background is 49 private List<Row> mRows; 58 mRows = new ArrayList<SampleGridPagerAdapter.Row>(); 60 mRows.add(new Row(cardFragment(R.string.welcome_title, R.string.welcome_text))); 61 mRows.add(new Row(cardFragment(R.string.about_title, R.string.about_text))); 62 mRows.add(new Row( 65 mRows.add(new Row( 68 mRows.add(new Row(new CustomFragment())); 69 mRows.add(new Row(cardFragment(R.string.dismiss_title, R.string.dismiss_text))); 76 protected Drawable create(final Integer row) { [all...] |
/development/samples/browseable/GridViewPager/src/com.example.android.wearable.gridviewpager/ |
SampleGridPagerAdapter.java | 38 * Constructs fragments as requested by the GridViewPager. For each row a different background is 49 private List<Row> mRows; 58 mRows = new ArrayList<SampleGridPagerAdapter.Row>(); 60 mRows.add(new Row(cardFragment(R.string.welcome_title, R.string.welcome_text))); 61 mRows.add(new Row(cardFragment(R.string.about_title, R.string.about_text))); 62 mRows.add(new Row( 65 mRows.add(new Row( 68 mRows.add(new Row(new CustomFragment())); 69 mRows.add(new Row(cardFragment(R.string.dismiss_title, R.string.dismiss_text))); 76 protected Drawable create(final Integer row) { [all...] |
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/ |
VerticalGridFragment.java | 24 import android.support.v17.leanback.widget.Row; 72 public void onItemSelected(Object item, Row row) { 78 public void onItemClicked(Object item, Row row) {
|
/external/chromium-trace/catapult/dashboard/dashboard/models/ |
graph_data.py | 29 The graph data points are represented by Row entities. Each Row entity contains 33 The keys of the Row entities for a particular data series are start with a 34 TestContainer key, instead of a TestMetadata key. This way, the Row entities for 38 For example, Row entities are organized like this: 41 Row: revision 12345, value 2.5 42 Row: revision 12346, value 2.0 43 Row: revision 12347, value 2.1 45 Row: revision 12345, value 2.4 46 Row: revision 12346, value 2. [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/ |
XEquivalenceMap.java | 17 import android.icu.impl.Row; 18 import android.icu.impl.Row.R2; 27 Map<K,Row.R2<V,Set<R>>> source_target_reasons = new HashMap<K,Row.R2<V,Set<R>>>(); 58 target_reasons = Row.of(target, reasons);
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
XEquivalenceMap.java | 16 import com.ibm.icu.impl.Row; 17 import com.ibm.icu.impl.Row.R2; 26 Map<K,Row.R2<V,Set<R>>> source_target_reasons = new HashMap<K,Row.R2<V,Set<R>>>(); 57 target_reasons = Row.of(target, reasons);
|
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
VerticalGridFragment.java | 23 import android.support.v17.leanback.widget.Row; 91 RowPresenter.ViewHolder rowViewHolder, Row row) { 92 Log.i(TAG, "onItemSelected: " + item + " row " + row); 99 RowPresenter.ViewHolder rowViewHolder, Row row) { 100 Log.i(TAG, "onItemClicked: " + item + " row " + row);
|
VerticalGridSupportFragment.java | 25 import android.support.v17.leanback.widget.Row; 93 RowPresenter.ViewHolder rowViewHolder, Row row) { 94 Log.i(TAG, "onItemSelected: " + item + " row " + row); 101 RowPresenter.ViewHolder rowViewHolder, Row row) { 102 Log.i(TAG, "onItemClicked: " + item + " row " + row);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
ListRowDataAdapter.java | 6 import android.support.v17.leanback.widget.Row; 15 * invisible row at the end of a RowsFragment, it creates a jumping effect as the layout manager 49 Row item = (Row) mAdapter.get(i);
|
/external/skia/src/gpu/ |
GrRectanizer_pow2.cpp | 24 Row* row = &fRows[HeightToRowIndex(height)]; local 25 SkASSERT(row->fRowHeight == 0 || row->fRowHeight == height); 27 if (0 == row->fRowHeight) { 31 this->initRow(row, height); 33 if (!row->canAddWidth(width, this->width())) { 37 // that row is now "full", so retarget our Row record for 39 this->initRow(row, height) [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
ListRow.java | 17 * A {@link Row} composed of a optional {@link HeaderItem}, and an {@link ObjectAdapter} 20 public class ListRow extends Row {
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/ |
PresenterTest.java | 28 import android.support.v17.leanback.widget.Row; 54 p.onBindViewHolder(vh, new Row(null)); 57 p.onBindViewHolder(vh, new Row(new HeaderItem(""))); 66 Presenter p = ps.getPresenter(new Row()); 67 assertTrue("Row header instance", 74 assertTrue("Row header instance", 81 assertTrue("Row header instance", 85 assertTrue("Row header instance",
|