OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:menu
(Results
26 - 50
of
4273
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/chromium-trace/catapult/third_party/polymer/components/paper-dropdown-menu/
demo.html
18
<title>paper-dropdown-
menu
</title>
23
<link href="../core-
menu
/core-
menu
.html" rel="import">
27
<link href="paper-dropdown-
menu
.html" rel="import">
48
html /deep/ paper-dropdown-
menu
{
53
html /deep/ core-
menu
{
100
<paper-dropdown-
menu
label="Your favorite pastry">
102
<core-
menu
class="
menu
">
106
</core-
menu
>
[
all
...]
README.md
1
paper-dropdown-
menu
6
See the [component page](https://www.polymer-project.org/docs/elements/paper-elements.html#paper-dropdown-
menu
) for more information.
/frameworks/base/core/tests/coretests/src/android/view/menu/
MenuLayout.java
17
package android.view.
menu
;
19
import android.view.
menu
.MenuScenario.Params;
22
import android.view.
Menu
;
41
public boolean onPrepareOptionsMenu(
Menu
menu
) {
44
* This activity is meant to try a bunch of different
menu
layouts. So,
45
* we recreate the
menu
every time it is prepared.
47
menu
.clear();
48
onCreateOptionsMenu(
menu
);
/cts/tests/app/app/src/android/app/stubs/
TestDialog.java
23
import android.view.
Menu
;
32
private static final int OPTIONS_MENU_ITEM_0 =
Menu
.FIRST;
33
private static final int OPTIONS_MENU_ITEM_1 =
Menu
.FIRST + 1;
34
private static final int OPTIONS_MENU_ITEM_2 =
Menu
.FIRST + 2;
35
private static final int OPTIONS_MENU_ITEM_3 =
Menu
.FIRST + 3;
36
private static final int OPTIONS_MENU_ITEM_4 =
Menu
.FIRST + 4;
37
private static final int OPTIONS_MENU_ITEM_5 =
Menu
.FIRST + 5;
38
private static final int OPTIONS_MENU_ITEM_6 =
Menu
.FIRST + 6;
39
private static final int CONTEXT_MENU_ITEM_0 =
Menu
.FIRST + 7;
40
private static final int CONTEXT_MENU_ITEM_1 =
Menu
.FIRST + 8
[
all
...]
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/
ActionBarFragmentMenu.java
27
import android.view.
Menu
;
36
* Demonstrates how fragments can participate in the options
menu
.
60
// Make sure the two
menu
fragments are created.
126
* A fragment that displays a
menu
. This fragment happens to not
138
public void onCreateOptionsMenu(
Menu
menu
, MenuInflater inflater) {
139
MenuItemCompat.setShowAsAction(
menu
.add("
Menu
1a"), MenuItem.SHOW_AS_ACTION_IF_ROOM);
140
MenuItemCompat.setShowAsAction(
menu
.add("
Menu
1b"), MenuItem.SHOW_AS_ACTION_IF_ROOM)
[
all
...]
/packages/apps/TV/src/com/android/tv/menu/
MenuRow.java
17
package com.android.tv.
menu
;
22
* A base class of the item which will be displayed in the main
menu
.
31
private final
Menu
mMenu;
34
public MenuRow(Context context,
Menu
menu
, int titleResId, int heightResId) {
35
this(context,
menu
, context.getString(titleResId), heightResId);
38
public MenuRow(Context context,
Menu
menu
, String title, int heightResId) {
41
mMenu =
menu
;
53
* Returns the
menu
object
[
all
...]
IMenuView.java
17
package com.android.tv.
menu
;
19
import com.android.tv.
menu
.
Menu
.MenuShowReason;
24
* An base interface for
menu
view.
28
* Sets
menu
rows.
33
* Shows the main
menu
.
35
* <p> The inherited class should show the
menu
and select the row corresponding to
36
* {@code rowIdToSelect}. If the
menu
is already visible, change the current selection to the
45
* Hides the main
menu
50
* Updates the
menu
contents
[
all
...]
MenuRowFactory.java
17
package com.android.tv.
menu
;
31
* A factory class to create
menu
rows.
50
public MenuRow createMenuRow(
Menu
menu
, Class<?> key) {
52
return new PlayControlsRow(mMainActivity,
menu
, mMainActivity.getTimeShiftManager());
54
return new ChannelsRow(mMainActivity,
menu
, mMainActivity.getProgramDataManager());
60
return new PartnerRow(mMainActivity,
menu
, title, customActions);
64
return new TvOptionsRow(mMainActivity,
menu
, mTvCustomizationManager
67
return new PipOptionsRow(mMainActivity,
menu
);
73
* A
menu
row which represents the TV options row
[
all
...]
/frameworks/base/core/java/com/android/internal/view/menu/
MenuPresenter.java
17
package com.android.internal.view.
menu
;
26
* A MenuPresenter is responsible for building views for a
Menu
object.
31
* Called by
menu
implementation to notify another component of open/close events.
35
* Called when a
menu
is closing.
36
* @param
menu
39
public void onCloseMenu(MenuBuilder
menu
, boolean allMenusAreClosing);
43
* of
menu
state so that it does not attempt to hide the action bar
54
* Initializes this presenter for the given context and
menu
.
61
* @param
menu
the
menu
to host, or {@code null} to clear the hosted men
[
all
...]
/development/samples/ApiDemos/src/com/example/android/apis/view/
LinearLayout8.java
25
import android.view.
Menu
;
38
//
Menu
item Ids
39
public static final int VERTICAL_ID =
Menu
.FIRST;
40
public static final int HORIZONTAL_ID =
Menu
.FIRST + 1;
42
public static final int TOP_ID =
Menu
.FIRST + 2;
43
public static final int MIDDLE_ID =
Menu
.FIRST + 3;
44
public static final int BOTTOM_ID =
Menu
.FIRST + 4;
46
public static final int LEFT_ID =
Menu
.FIRST + 5;
47
public static final int CENTER_ID =
Menu
.FIRST + 6;
48
public static final int RIGHT_ID =
Menu
.FIRST + 7
[
all
...]