aboutsummaryrefslogtreecommitdiff
path: root/src/com/android/tv/menu/IMenuView.java
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2018-06-08 11:08:06 -0700
committerXin Li <delphij@google.com>2018-06-08 11:08:06 -0700
commit3d7a02a34d2e0061d55d4a56721c261d94284eb6 (patch)
treec720748dfccbb7c22ffecdf5767b2af564ab703e /src/com/android/tv/menu/IMenuView.java
parentd195718c2e752876c207fe6d3d7a9a7e5f3692d4 (diff)
parent35b6f17937f6923110447cc8db0721825fd6060d (diff)
downloadTV-3d7a02a34d2e0061d55d4a56721c261d94284eb6.tar.gz
Merge pi-dev-plus-aosp-without-vendor into stage-aosp-master
Bug: 79597307 Change-Id: I2aed66909831766ab308bfe4dd32f310d533c05a
Diffstat (limited to 'src/com/android/tv/menu/IMenuView.java')
-rw-r--r--src/com/android/tv/menu/IMenuView.java23
1 files changed, 7 insertions, 16 deletions
diff --git a/src/com/android/tv/menu/IMenuView.java b/src/com/android/tv/menu/IMenuView.java
index 87c5d9f6..19ebc739 100644
--- a/src/com/android/tv/menu/IMenuView.java
+++ b/src/com/android/tv/menu/IMenuView.java
@@ -17,33 +17,26 @@
package com.android.tv.menu;
import com.android.tv.menu.Menu.MenuShowReason;
-
import java.util.List;
-/**
- * An base interface for menu view.
- */
+/** An base interface for menu view. */
public interface IMenuView {
- /**
- * Sets menu rows.
- */
+ /** Sets menu rows. */
void setMenuRows(List<MenuRow> menuRows);
/**
* Shows the main menu.
*
- * <p> The inherited class should show the menu and select the row corresponding to
- * {@code rowIdToSelect}. If the menu is already visible, change the current selection to the
- * given row.
+ * <p>The inherited class should show the menu and select the row corresponding to {@code
+ * rowIdToSelect}. If the menu is already visible, change the current selection to the given
+ * row.
*
* @param reason A reason why this is called. See {@link MenuShowReason}.
* @param rowIdToSelect An ID of the row which corresponds to the {@code reason}.
*/
void onShow(@MenuShowReason int reason, String rowIdToSelect, Runnable runnableAfterShow);
- /**
- * Hides the main menu
- */
+ /** Hides the main menu */
void onHide();
/**
@@ -60,8 +53,6 @@ public interface IMenuView {
*/
boolean update(String rowId, boolean menuActive);
- /**
- * Checks if the menu view is visible or not.
- */
+ /** Checks if the menu view is visible or not. */
boolean isVisible();
}