Loading core/java/android/app/MediaRouteButton.java +1 −1 Original line number Diff line number Diff line Loading @@ -175,7 +175,7 @@ public class MediaRouteButton extends View { Toast cheatSheet = Toast.makeText(context, contentDesc, Toast.LENGTH_SHORT); if (midy < displayFrame.height()) { // Show along the top; follow action buttons cheatSheet.setGravity(Gravity.TOP | Gravity.END, cheatSheet.setGravity(Gravity.TOP | Gravity.RIGHT, screenWidth - screenPos[0] - width / 2, height); } else { // Show along the bottom center Loading core/java/com/android/internal/view/menu/ActionMenuItemView.java +1 −1 Original line number Diff line number Diff line Loading @@ -240,7 +240,7 @@ public class ActionMenuItemView extends TextView Toast cheatSheet = Toast.makeText(context, mItemData.getTitle(), Toast.LENGTH_SHORT); if (midy < displayFrame.height()) { // Show along the top; follow action buttons cheatSheet.setGravity(Gravity.TOP | Gravity.END, cheatSheet.setGravity(Gravity.TOP | Gravity.RIGHT, screenWidth - screenPos[0] - width / 2, height); } else { // Show along the bottom center Loading Loading
core/java/android/app/MediaRouteButton.java +1 −1 Original line number Diff line number Diff line Loading @@ -175,7 +175,7 @@ public class MediaRouteButton extends View { Toast cheatSheet = Toast.makeText(context, contentDesc, Toast.LENGTH_SHORT); if (midy < displayFrame.height()) { // Show along the top; follow action buttons cheatSheet.setGravity(Gravity.TOP | Gravity.END, cheatSheet.setGravity(Gravity.TOP | Gravity.RIGHT, screenWidth - screenPos[0] - width / 2, height); } else { // Show along the bottom center Loading
core/java/com/android/internal/view/menu/ActionMenuItemView.java +1 −1 Original line number Diff line number Diff line Loading @@ -240,7 +240,7 @@ public class ActionMenuItemView extends TextView Toast cheatSheet = Toast.makeText(context, mItemData.getTitle(), Toast.LENGTH_SHORT); if (midy < displayFrame.height()) { // Show along the top; follow action buttons cheatSheet.setGravity(Gravity.TOP | Gravity.END, cheatSheet.setGravity(Gravity.TOP | Gravity.RIGHT, screenWidth - screenPos[0] - width / 2, height); } else { // Show along the bottom center Loading