Home
last modified time | relevance | path

Searched refs:featureId (Results 1 – 15 of 15) sorted by relevance

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DWindowCallbackWrapper.java43 public boolean onMenuItemSelected(int featureId, MenuItem menuItem) { in onMenuItemSelected() argument
44 return mWrapped.onMenuItemSelected(featureId, menuItem); in onMenuItemSelected()
48 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu() argument
49 return mWrapped.onCreatePanelMenu(featureId, menu); in onCreatePanelMenu()
53 public boolean onPreparePanel(int featureId, View menuView, Menu menu) { in onPreparePanel() argument
54 return mWrapped.onPreparePanel(featureId, menuView, menu); in onPreparePanel()
58 public void onPanelClosed(int featureId, Menu menu) { in onPanelClosed() argument
59 mWrapped.onPanelClosed(featureId, menu); in onPanelClosed()
63 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() argument
64 return mWrapped.onMenuOpened(featureId, menu); in onMenuOpened()
[all …]
/frameworks/base/core/java/android/view/
DWindowCallbackWrapper.java70 public View onCreatePanelView(int featureId) { in onCreatePanelView() argument
71 return mWrapped.onCreatePanelView(featureId); in onCreatePanelView()
75 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu() argument
76 return mWrapped.onCreatePanelMenu(featureId, menu); in onCreatePanelMenu()
80 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument
81 return mWrapped.onPreparePanel(featureId, view, menu); in onPreparePanel()
85 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() argument
86 return mWrapped.onMenuOpened(featureId, menu); in onMenuOpened()
90 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected() argument
91 return mWrapped.onMenuItemSelected(featureId, item); in onMenuItemSelected()
[all …]
DWindow.java294 public View onCreatePanelView(int featureId); in onCreatePanelView() argument
312 public boolean onCreatePanelMenu(int featureId, Menu menu); in onCreatePanelMenu() argument
328 public boolean onPreparePanel(int featureId, View view, Menu menu); in onPreparePanel() argument
340 public boolean onMenuOpened(int featureId, Menu menu); in onMenuOpened() argument
352 public boolean onMenuItemSelected(int featureId, MenuItem item); in onMenuItemSelected() argument
402 public void onPanelClosed(int featureId, Menu menu); in onPanelClosed() argument
949 public boolean requestFeature(int featureId) { in requestFeature() argument
950 final int flag = 1<<featureId; in requestFeature()
959 protected void removeFeature(int featureId) { in removeFeature() argument
960 final int flag = 1<<featureId; in removeFeature()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DActionBarActivity.java151 public final boolean onMenuItemSelected(int featureId, android.view.MenuItem item) { in onMenuItemSelected() argument
152 if (super.onMenuItemSelected(featureId, item)) { in onMenuItemSelected()
190 public boolean supportRequestWindowFeature(int featureId) { in supportRequestWindowFeature() argument
191 return getDelegate().supportRequestWindowFeature(featureId); in supportRequestWindowFeature()
229 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu() argument
230 return getDelegate().onCreatePanelMenu(featureId, menu); in onCreatePanelMenu()
234 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument
235 return getDelegate().onPreparePanel(featureId, view, menu); in onPreparePanel()
239 public void onPanelClosed(int featureId, Menu menu) { in onPanelClosed() argument
240 getDelegate().onPanelClosed(featureId, menu); in onPanelClosed()
[all …]
DActionBarActivityDelegate.java74 public boolean onMenuItemSelected(int featureId, MenuItem menuItem) {
75 return mActivity.onMenuItemSelected(featureId, menuItem);
79 public boolean onCreatePanelMenu(int featureId, Menu menu) {
80 return mActivity.superOnCreatePanelMenu(featureId, menu);
84 public boolean onPreparePanel(int featureId, View menuView, Menu menu) {
85 return mActivity.superOnPreparePanel(featureId, menuView, menu);
89 public void onPanelClosed(int featureId, Menu menu) {
90 mActivity.onPanelClosed(featureId, menu);
94 public boolean onMenuOpened(int featureId, Menu menu) {
95 return mActivity.onMenuOpened(featureId, menu);
[all …]
DActionBarActivityDelegateBase.java458 public boolean supportRequestWindowFeature(int featureId) {
459 switch (featureId) {
482 return mActivity.requestWindowFeature(featureId);
497 public boolean onCreatePanelMenu(int featureId, Menu menu) {
498 if (featureId != Window.FEATURE_OPTIONS_PANEL) {
499 return getWindowCallback().onCreatePanelMenu(featureId, menu);
505 public boolean onPreparePanel(int featureId, View view, Menu menu) {
506 if (featureId != Window.FEATURE_OPTIONS_PANEL) {
507 return getWindowCallback().onPreparePanel(featureId, view, menu);
513 public void onPanelClosed(final int featureId, Menu menu) {
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/app/
DWindowCallback.java32 boolean onMenuItemSelected(int featureId, MenuItem menuItem); in onMenuItemSelected() argument
34 boolean onCreatePanelMenu(int featureId, Menu menu); in onCreatePanelMenu() argument
36 boolean onPreparePanel(int featureId, View menuView, Menu menu); in onPreparePanel() argument
38 void onPanelClosed(int featureId, Menu menu); in onPanelClosed() argument
40 boolean onMenuOpened(int featureId, Menu menu); in onMenuOpened() argument
44 View onCreatePanelView(int featureId); in onCreatePanelView() argument
DToolbarActionBar.java548 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument
549 final boolean result = super.onPreparePanel(featureId, view, menu); in onPreparePanel()
558 public View onCreatePanelView(int featureId) { in onCreatePanelView() argument
559 switch (featureId) { in onCreatePanelView()
563 mWindowCallback.onPreparePanel(featureId, null, menu) && in onCreatePanelView()
564 mWindowCallback.onMenuOpened(featureId, menu)) { in onCreatePanelView()
569 return super.onCreatePanelView(featureId); in onCreatePanelView()
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DWindowCallback.java58 public View onCreatePanelView(int featureId) { in onCreatePanelView() argument
63 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu() argument
68 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument
73 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() argument
78 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected() argument
108 public void onPanelClosed(int featureId, Menu menu) { in onPanelClosed() argument
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindow.java300 public boolean requestFeature(int featureId) { in requestFeature() argument
305 final int newFeatures = features | (1 << featureId); in requestFeature()
313 if ((features & (1 << FEATURE_NO_TITLE)) != 0 && featureId == FEATURE_ACTION_BAR) { in requestFeature()
316 if ((features & (1 << FEATURE_ACTION_BAR)) != 0 && featureId == FEATURE_NO_TITLE) { in requestFeature()
321 if ((features & (1 << FEATURE_ACTION_BAR)) != 0 && featureId == FEATURE_SWIPE_TO_DISMISS) { in requestFeature()
325 if ((features & (1 << FEATURE_SWIPE_TO_DISMISS)) != 0 && featureId == FEATURE_ACTION_BAR) { in requestFeature()
330 if (featureId == FEATURE_INDETERMINATE_PROGRESS && in requestFeature()
334 return super.requestFeature(featureId); in requestFeature()
516 st.createdPanelView = cb.onCreatePanelView(st.featureId); in preparePanel()
520 (st.featureId == FEATURE_OPTIONS_PANEL || st.featureId == FEATURE_ACTION_BAR); in preparePanel()
[all …]
/frameworks/base/core/java/android/app/
DDialog.java820 public View onCreatePanelView(int featureId) { in onCreatePanelView() argument
827 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu() argument
828 if (featureId == Window.FEATURE_OPTIONS_PANEL) { in onCreatePanelMenu()
838 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument
839 if (featureId == Window.FEATURE_OPTIONS_PANEL && menu != null) { in onPreparePanel()
849 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() argument
850 if (featureId == Window.FEATURE_ACTION_BAR) { in onMenuOpened()
859 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected() argument
866 public void onPanelClosed(int featureId, Menu menu) { in onPanelClosed() argument
867 if (featureId == Window.FEATURE_ACTION_BAR) { in onPanelClosed()
[all …]
DActivity.java2809 public View onCreatePanelView(int featureId) { in onCreatePanelView() argument
2821 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu() argument
2822 if (featureId == Window.FEATURE_OPTIONS_PANEL) { in onCreatePanelMenu()
2839 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument
2840 if (featureId == Window.FEATURE_OPTIONS_PANEL && menu != null) { in onPreparePanel()
2853 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() argument
2854 if (featureId == Window.FEATURE_ACTION_BAR) { in onMenuOpened()
2874 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected() argument
2877 switch (featureId) { in onMenuItemSelected()
2924 public void onPanelClosed(int featureId, Menu menu) { in onPanelClosed() argument
[all …]
/frameworks/support/v4/java/android/support/v4/app/
DFragmentActivity.java273 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu() argument
274 if (featureId == Window.FEATURE_OPTIONS_PANEL) { in onCreatePanelMenu()
275 boolean show = super.onCreatePanelMenu(featureId, menu); in onCreatePanelMenu()
285 return super.onCreatePanelMenu(featureId, menu); in onCreatePanelMenu()
349 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected() argument
350 if (super.onMenuItemSelected(featureId, item)) { in onMenuItemSelected()
354 switch (featureId) { in onMenuItemSelected()
370 public void onPanelClosed(int featureId, Menu menu) { in onPanelClosed() argument
371 switch (featureId) { in onPanelClosed()
376 super.onPanelClosed(featureId, menu); in onPanelClosed()
[all …]
/frameworks/base/core/java/android/service/dreams/
DDreamService.java272 public View onCreatePanelView(int featureId) { in onCreatePanelView() argument
278 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu() argument
284 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument
290 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() argument
296 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected() argument
327 public void onPanelClosed(int featureId, Menu menu) { in onPanelClosed() argument
/frameworks/base/core/java/com/android/internal/app/
DToolbarActionBar.java490 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument
491 final boolean result = super.onPreparePanel(featureId, view, menu); in onPreparePanel()