Home
last modified time | relevance | path

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

/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.java297 public View onCreatePanelView(int featureId); in onCreatePanelView() argument
315 public boolean onCreatePanelMenu(int featureId, Menu menu); in onCreatePanelMenu() argument
331 public boolean onPreparePanel(int featureId, View view, Menu menu); in onPreparePanel() argument
343 public boolean onMenuOpened(int featureId, Menu menu); in onMenuOpened() argument
355 public boolean onMenuItemSelected(int featureId, MenuItem item); in onMenuItemSelected() argument
405 public void onPanelClosed(int featureId, Menu menu); in onPanelClosed() argument
978 public boolean requestFeature(int featureId) { in requestFeature() argument
979 final int flag = 1<<featureId; in requestFeature()
988 protected void removeFeature(int featureId) { in removeFeature() argument
989 final int flag = 1<<featureId; in removeFeature()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/
DWindowCallbackWrapper.java79 public View onCreatePanelView(int featureId) { in onCreatePanelView() argument
80 return mWrapped.onCreatePanelView(featureId); in onCreatePanelView()
84 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu() argument
85 return mWrapped.onCreatePanelMenu(featureId, menu); in onCreatePanelMenu()
89 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument
90 return mWrapped.onPreparePanel(featureId, view, menu); in onPreparePanel()
94 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() argument
95 return mWrapped.onMenuOpened(featureId, menu); in onMenuOpened()
99 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected() argument
100 return mWrapped.onMenuItemSelected(featureId, item); in onMenuItemSelected()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAppCompatDelegateImplBase.java107 abstract void onPanelClosed(int featureId, Menu menu); in onPanelClosed() argument
109 abstract boolean onMenuOpened(int featureId, Menu menu); in onMenuOpened() argument
235 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu() argument
236 if (featureId == Window.FEATURE_OPTIONS_PANEL && !(menu instanceof MenuBuilder)) { in onCreatePanelMenu()
241 return super.onCreatePanelMenu(featureId, menu); in onCreatePanelMenu()
251 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument
254 if (featureId == Window.FEATURE_OPTIONS_PANEL && mb == null) { in onPreparePanel()
268 final boolean handled = super.onPreparePanel(featureId, view, menu); in onPreparePanel()
278 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() argument
279 return super.onMenuOpened(featureId, menu) in onMenuOpened()
[all …]
DAppCompatDelegateImplV7.java502 public boolean requestWindowFeature(int featureId) { in requestWindowFeature() argument
503 featureId = sanitizeWindowFeatureId(featureId); in requestWindowFeature()
505 if (mWindowNoTitle && featureId == FEATURE_SUPPORT_ACTION_BAR) { in requestWindowFeature()
508 if (mHasActionBar && featureId == Window.FEATURE_NO_TITLE) { in requestWindowFeature()
513 switch (featureId) { in requestWindowFeature()
540 return mWindow.requestFeature(featureId); in requestWindowFeature()
544 public boolean hasWindowFeature(int featureId) { in hasWindowFeature() argument
545 featureId = sanitizeWindowFeatureId(featureId); in hasWindowFeature()
546 switch (featureId) { in hasWindowFeature()
560 return mWindow.hasFeature(featureId); in hasWindowFeature()
[all …]
DAppCompatActivity.java146 public final boolean onMenuItemSelected(int featureId, android.view.MenuItem item) { in onMenuItemSelected() argument
147 if (super.onMenuItemSelected(featureId, item)) { in onMenuItemSelected()
185 public boolean supportRequestWindowFeature(int featureId) { in supportRequestWindowFeature() argument
186 return getDelegate().requestWindowFeature(featureId); in supportRequestWindowFeature()
436 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() argument
437 return super.onMenuOpened(featureId, menu); in onMenuOpened()
447 public void onPanelClosed(int featureId, Menu menu) { in onPanelClosed() argument
448 super.onPanelClosed(featureId, menu); in onPanelClosed()
DAppCompatDialog.java126 public boolean supportRequestWindowFeature(int featureId) { in supportRequestWindowFeature() argument
127 return getDelegate().requestWindowFeature(featureId); in supportRequestWindowFeature()
DAppCompatDelegate.java256 public abstract boolean requestWindowFeature(int featureId); in requestWindowFeature() argument
266 public abstract boolean hasWindowFeature(int featureId); in hasWindowFeature() argument
/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/core/java/com/android/internal/policy/
DPhoneWindow.java315 public boolean requestFeature(int featureId) { in requestFeature() argument
320 final int newFeatures = features | (1 << featureId); in requestFeature()
328 if ((features & (1 << FEATURE_NO_TITLE)) != 0 && featureId == FEATURE_ACTION_BAR) { in requestFeature()
331 if ((features & (1 << FEATURE_ACTION_BAR)) != 0 && featureId == FEATURE_NO_TITLE) { in requestFeature()
336 if ((features & (1 << FEATURE_ACTION_BAR)) != 0 && featureId == FEATURE_SWIPE_TO_DISMISS) { in requestFeature()
340 if ((features & (1 << FEATURE_SWIPE_TO_DISMISS)) != 0 && featureId == FEATURE_ACTION_BAR) { in requestFeature()
345 if (featureId == FEATURE_INDETERMINATE_PROGRESS && in requestFeature()
349 return super.requestFeature(featureId); in requestFeature()
534 st.createdPanelView = cb.onCreatePanelView(st.featureId); in preparePanel()
538 (st.featureId == FEATURE_OPTIONS_PANEL || st.featureId == FEATURE_ACTION_BAR); in preparePanel()
[all …]
/frameworks/base/core/java/android/app/
DDialog.java842 public View onCreatePanelView(int featureId) { in onCreatePanelView() argument
849 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu() argument
850 if (featureId == Window.FEATURE_OPTIONS_PANEL) { in onCreatePanelMenu()
860 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument
861 if (featureId == Window.FEATURE_OPTIONS_PANEL && menu != null) { in onPreparePanel()
871 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() argument
872 if (featureId == Window.FEATURE_ACTION_BAR) { in onMenuOpened()
881 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected() argument
888 public void onPanelClosed(int featureId, Menu menu) { in onPanelClosed() argument
889 if (featureId == Window.FEATURE_ACTION_BAR) { in onPanelClosed()
[all …]
DActivity.java2832 public View onCreatePanelView(int featureId) { in onCreatePanelView() argument
2844 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu() argument
2845 if (featureId == Window.FEATURE_OPTIONS_PANEL) { in onCreatePanelMenu()
2862 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument
2863 if (featureId == Window.FEATURE_OPTIONS_PANEL && menu != null) { in onPreparePanel()
2876 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() argument
2877 if (featureId == Window.FEATURE_ACTION_BAR) { in onMenuOpened()
2897 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected() argument
2900 switch (featureId) { in onMenuItemSelected()
2947 public void onPanelClosed(int featureId, Menu menu) { in onPanelClosed() argument
[all …]
/frameworks/support/v4/java/android/support/v4/app/
DFragmentActivity.java260 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu() argument
261 if (featureId == Window.FEATURE_OPTIONS_PANEL) { in onCreatePanelMenu()
262 boolean show = super.onCreatePanelMenu(featureId, menu); in onCreatePanelMenu()
272 return super.onCreatePanelMenu(featureId, menu); in onCreatePanelMenu()
324 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected() argument
325 if (super.onMenuItemSelected(featureId, item)) { in onMenuItemSelected()
329 switch (featureId) { in onMenuItemSelected()
345 public void onPanelClosed(int featureId, Menu menu) { in onPanelClosed() argument
346 switch (featureId) { in onPanelClosed()
351 super.onPanelClosed(featureId, menu); in onPanelClosed()
[all …]
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DBaseTestActivity.java64 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() argument
66 return super.onMenuOpened(featureId, menu); in onMenuOpened()
70 public void onPanelClosed(int featureId, Menu menu) { in onPanelClosed() argument
72 super.onPanelClosed(featureId, menu); in onPanelClosed()
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
DPhoneWindowActionModeTest.java209 public View onCreatePanelView(int featureId) { in onCreatePanelView() argument
214 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu() argument
219 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument
224 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() argument
229 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected() argument
249 public void onPanelClosed(int featureId, Menu menu) {} in onPanelClosed() argument
/frameworks/support/v7/appcompat/src/android/support/v7/internal/app/
DToolbarActionBar.java554 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument
555 final boolean result = super.onPreparePanel(featureId, view, menu); in onPreparePanel()
564 public View onCreatePanelView(int featureId) { in onCreatePanelView() argument
565 switch (featureId) { in onCreatePanelView()
568 if (onPreparePanel(featureId, null, menu) && onMenuOpened(featureId, menu)) { in onCreatePanelView()
573 return super.onCreatePanelView(featureId); in onCreatePanelView()
/frameworks/base/core/java/android/service/dreams/
DDreamService.java276 public View onCreatePanelView(int featureId) { in onCreatePanelView() argument
282 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu() argument
288 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument
294 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() argument
300 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected() argument
331 public void onPanelClosed(int featureId, Menu menu) { in onPanelClosed() argument
/frameworks/base/services/core/jni/
Dcom_android_server_power_PowerManagerService.cpp159 static void nativeSetFeature(JNIEnv *env, jclass clazz, jint featureId, jint data) { in nativeSetFeature() argument
163 gPowerModule->setFeature(gPowerModule, (feature_t)featureId, data_param); in nativeSetFeature()
/frameworks/base/core/java/com/android/internal/app/
DToolbarActionBar.java504 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument
505 final boolean result = super.onPreparePanel(featureId, view, menu); in onPreparePanel()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java463 private static native void nativeSetFeature(int featureId, int data); in nativeSetFeature() argument