Home
last modified time | relevance | path

Searched refs:MenuItemCompat (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/app/
DAppCompatMenuItemIconTintingTest.java41 import androidx.core.view.MenuItemCompat;
77 assertNull(MenuItemCompat.getIconTintMode(firstItem)); in testIconTinting()
78 assertEquals(Color.WHITE, MenuItemCompat.getIconTintList(firstItem).getDefaultColor()); in testIconTinting()
80 assertEquals(PorterDuff.Mode.SCREEN, MenuItemCompat.getIconTintMode(secondItem)); in testIconTinting()
81 assertNull(MenuItemCompat.getIconTintList(secondItem)); in testIconTinting()
83 assertNull(MenuItemCompat.getIconTintMode(thirdItem)); in testIconTinting()
84 assertNull(MenuItemCompat.getIconTintList(thirdItem)); in testIconTinting()
89 MenuItemCompat.setIconTintList(firstItem, colors); in testIconTinting()
90 MenuItemCompat.setIconTintMode(firstItem, PorterDuff.Mode.XOR); in testIconTinting()
91 assertSame(colors, MenuItemCompat.getIconTintList(firstItem)); in testIconTinting()
[all …]
DBaseKeyEventsTestCase.java46 import androidx.core.view.MenuItemCompat;
222 MenuItemCompat.setContentDescription(alphaItem, in testActionMenuContent()
224 MenuItemCompat.setTooltipText(alphaItem, in testActionMenuContent()
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/
DActionBarUsage.java29 import androidx.core.view.MenuItemCompat;
57 MenuItemCompat.setContentDescription(editItem, in onCreateOptionsMenu()
59 MenuItemCompat.setTooltipText(editItem, in onCreateOptionsMenu()
DActionBarShareActionProvider.java25 import androidx.core.view.MenuItemCompat;
42 final ShareActionProvider sap = (ShareActionProvider) MenuItemCompat.getActionProvider( in onPrepareOptionsPanel()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/
DSupportMenuInflater.java47 import androidx.core.view.MenuItemCompat;
511 MenuItemCompat.setActionProvider(item, itemActionProvider); in setItem()
514 MenuItemCompat.setContentDescription(item, itemContentDescription); in setItem()
515 MenuItemCompat.setTooltipText(item, itemTooltipText); in setItem()
516 MenuItemCompat.setAlphabeticShortcut(item, itemAlphabeticShortcut, in setItem()
518 MenuItemCompat.setNumericShortcut(item, itemNumericShortcut, itemNumericModifiers); in setItem()
521 MenuItemCompat.setIconTintMode(item, itemIconTintMode); in setItem()
524 MenuItemCompat.setIconTintList(item, itemIconTintList); in setItem()
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
DPopupMenuActivity.java34 import androidx.core.view.MenuItemCompat;
77 MenuItemCompat.setContentDescription(editItem, in onCreate()
79 MenuItemCompat.setTooltipText(editItem, in onCreate()
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/widget/
DPopupMenuTest.java71 import androidx.core.view.MenuItemCompat;
139 MenuItemCompat.getContentDescription(hightlightItem)); in testBasicContent()
141 MenuItemCompat.getTooltipText(hightlightItem)); in testBasicContent()
144 assertNotNull(MenuItemCompat.getContentDescription(hightlightItem)); in testBasicContent()
145 assertNotNull(MenuItemCompat.getTooltipText(hightlightItem)); in testBasicContent()
149 MenuItemCompat.setContentDescription(editItem, in testBasicContent()
151 MenuItemCompat.setTooltipText(editItem, in testBasicContent()
/frameworks/support/compat/src/main/java/androidx/core/view/
DMenuItemCompat.java38 public final class MenuItemCompat { class
557 private MenuItemCompat() {}
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/media/
DSampleMediaRouterActivity.java55 import androidx.core.view.MenuItemCompat;
541 (MediaRouteActionProvider) MenuItemCompat.getActionProvider(mediaRouteMenuItem); in onCreateOptionsMenu()
/frameworks/support/jetifier/jetifier/core/src/main/resources/
Ddefault.config1493 "android/support/v4/view/MenuItemCompat/*": ["androidx/core/view/MenuItemCompat/*"],
Ddefault.generated.config3627 "android/support/v4/view/MenuItemCompat": "androidx/core/view/MenuItemCompat",
4068 "android/support/v4/view/MenuItemCompat/*": [
4069 "androidx/core/view/MenuItemCompat/*"
/frameworks/support/jetifier/jetifier/source-transformer/
Ddefault.config1504 "android/support/v4/view/MenuItemCompat/*": ["androidx/core/view/MenuItemCompat/*"],
/frameworks/support/compat/api_legacy/
D28.0.0-alpha1.txt1441 public final class MenuItemCompat {
1461 …nActionExpandListener(android.view.MenuItem, android.support.v4.view.MenuItemCompat.OnActionExpand…
1472 public static abstract deprecated interface MenuItemCompat.OnActionExpandListener {
D26.1.0.txt1387 public final class MenuItemCompat {
1407 …nActionExpandListener(android.view.MenuItem, android.support.v4.view.MenuItemCompat.OnActionExpand…
1418 public static abstract deprecated interface MenuItemCompat.OnActionExpandListener {
Dcurrent.txt1443 public final class MenuItemCompat {
1463 …nActionExpandListener(android.view.MenuItem, android.support.v4.view.MenuItemCompat.OnActionExpand…
1474 public static abstract deprecated interface MenuItemCompat.OnActionExpandListener {
D27.1.0.txt1413 public final class MenuItemCompat {
1433 …nActionExpandListener(android.view.MenuItem, android.support.v4.view.MenuItemCompat.OnActionExpand…
1444 public static abstract deprecated interface MenuItemCompat.OnActionExpandListener {
D27.0.0.txt1362 public final class MenuItemCompat {
1382 …nActionExpandListener(android.view.MenuItem, android.support.v4.view.MenuItemCompat.OnActionExpand…
1393 public static abstract deprecated interface MenuItemCompat.OnActionExpandListener {
D26.0.0.txt1387 public final class MenuItemCompat {
1407 …nActionExpandListener(android.view.MenuItem, android.support.v4.view.MenuItemCompat.OnActionExpand…
1418 public static abstract deprecated interface MenuItemCompat.OnActionExpandListener {
/frameworks/support/compat/api/
Dcurrent.txt1569 public final class MenuItemCompat {
1589 … setOnActionExpandListener(android.view.MenuItem, androidx.core.view.MenuItemCompat.OnActionExpand…
1600 public static abstract deprecated interface MenuItemCompat.OnActionExpandListener {
/frameworks/support/api/
D22.0.0.txt3267 public class MenuItemCompat {
3268 ctor public MenuItemCompat();
3277 …nActionExpandListener(android.view.MenuItem, android.support.v4.view.MenuItemCompat.OnActionExpand…
3286 public static abstract interface MenuItemCompat.OnActionExpandListener {
D22.1.0.txt3480 public class MenuItemCompat {
3481 ctor public MenuItemCompat();
3490 …nActionExpandListener(android.view.MenuItem, android.support.v4.view.MenuItemCompat.OnActionExpand…
3499 public static abstract interface MenuItemCompat.OnActionExpandListener {
D22.2.0.txt3877 public class MenuItemCompat {
3878 ctor public MenuItemCompat();
3887 …nActionExpandListener(android.view.MenuItem, android.support.v4.view.MenuItemCompat.OnActionExpand…
3896 public static abstract interface MenuItemCompat.OnActionExpandListener {
D22.2.1.txt3906 public class MenuItemCompat {
3907 ctor public MenuItemCompat();
3916 …nActionExpandListener(android.view.MenuItem, android.support.v4.view.MenuItemCompat.OnActionExpand…
3925 public static abstract interface MenuItemCompat.OnActionExpandListener {
D23.0.0.txt4576 public class MenuItemCompat {
4577 ctor public MenuItemCompat();
4586 …nActionExpandListener(android.view.MenuItem, android.support.v4.view.MenuItemCompat.OnActionExpand…
4595 public static abstract interface MenuItemCompat.OnActionExpandListener {
D23.1.1.txt4818 public class MenuItemCompat {
4819 ctor public MenuItemCompat();
4828 …nActionExpandListener(android.view.MenuItem, android.support.v4.view.MenuItemCompat.OnActionExpand…
4837 public static abstract interface MenuItemCompat.OnActionExpandListener {

12