/frameworks/base/core/java/android/view/ |
D | WindowCallbackWrapper.java | 70 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 …]
|
D | Window.java | 297 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/ |
D | WindowCallbackWrapper.java | 79 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/ |
D | AppCompatDelegateImplBase.java | 107 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 …]
|
D | AppCompatDelegateImplV7.java | 502 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 …]
|
D | AppCompatActivity.java | 146 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()
|
D | AppCompatDialog.java | 126 public boolean supportRequestWindowFeature(int featureId) { in supportRequestWindowFeature() argument 127 return getDelegate().requestWindowFeature(featureId); in supportRequestWindowFeature()
|
D | AppCompatDelegate.java | 256 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/ |
D | WindowCallback.java | 58 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/ |
D | PhoneWindow.java | 315 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/ |
D | Dialog.java | 842 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 …]
|
D | Activity.java | 2832 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/ |
D | FragmentActivity.java | 260 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/ |
D | BaseTestActivity.java | 64 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/ |
D | PhoneWindowActionModeTest.java | 209 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/ |
D | ToolbarActionBar.java | 554 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/ |
D | DreamService.java | 276 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/ |
D | com_android_server_power_PowerManagerService.cpp | 159 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/ |
D | ToolbarActionBar.java | 504 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/ |
D | PowerManagerService.java | 463 private static native void nativeSetFeature(int featureId, int data); in nativeSetFeature() argument
|