Home
last modified time | relevance | path

Searched refs:toolbar (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DToolbarWithMarginsTest.java61 Toolbar toolbar = (Toolbar) mActivity.findViewById(R.id.toolbar2); in testSetTitleMargins() local
63 toolbar.setTitleMargin(5, 10, 15, 20); in testSetTitleMargins()
64 assertEquals(5, toolbar.getTitleMarginStart()); in testSetTitleMargins()
65 assertEquals(10, toolbar.getTitleMarginTop()); in testSetTitleMargins()
66 assertEquals(15, toolbar.getTitleMarginEnd()); in testSetTitleMargins()
67 assertEquals(20, toolbar.getTitleMarginBottom()); in testSetTitleMargins()
69 toolbar.setTitleMarginStart(25); in testSetTitleMargins()
70 toolbar.setTitleMarginTop(30); in testSetTitleMargins()
71 toolbar.setTitleMarginEnd(35); in testSetTitleMargins()
72 toolbar.setTitleMarginBottom(40); in testSetTitleMargins()
[all …]
DWidgetAttributeTest.kt155 val toolbar = rootView.findViewById<Toolbar>(R.id.toolbar_view1) in testGetAttributeSourceResourceMap() constant
156 val attributeMapToobar = toolbar!!.attributeSourceResourceMap in testGetAttributeSourceResourceMap()
/cts/tests/tests/content/HelloWorldApp/src7/com/example/helloworld/
DMainActivity.java32 Toolbar toolbar = findViewById(R.id.toolbar); in onCreate() local
33 setSupportActionBar(toolbar); in onCreate()
/cts/tests/tests/content/HelloWorldApp/src5/com/example/helloworld/
DMainActivity.java32 Toolbar toolbar = findViewById(R.id.toolbar); in onCreate() local
33 setSupportActionBar(toolbar); in onCreate()
/cts/tests/tests/content/HelloWorldApp/src_shell/com/android/shell/
DMainActivity.java32 Toolbar toolbar = findViewById(R.id.toolbar); in onCreate() local
33 setSupportActionBar(toolbar); in onCreate()
/cts/tests/app/app/src/android/app/stubs/
DToolbarActivity.java29 mToolbar = (Toolbar) findViewById(R.id.toolbar); in onCreate()