/frameworks/base/core/java/android/view/ |
D | WindowCallbackWrapper.java | 72 public View onCreatePanelView(int featureId) { in onCreatePanelView() argument 73 return mWrapped.onCreatePanelView(featureId); in onCreatePanelView() 77 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu() argument 78 return mWrapped.onCreatePanelMenu(featureId, menu); in onCreatePanelMenu() 82 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument 83 return mWrapped.onPreparePanel(featureId, view, menu); in onPreparePanel() 87 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() argument 88 return mWrapped.onMenuOpened(featureId, menu); in onMenuOpened() 92 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected() argument 93 return mWrapped.onMenuItemSelected(featureId, item); in onMenuItemSelected() [all …]
|
D | Window.java | 397 public View onCreatePanelView(int featureId); in onCreatePanelView() argument 415 public boolean onCreatePanelMenu(int featureId, Menu menu); in onCreatePanelMenu() argument 431 public boolean onPreparePanel(int featureId, View view, Menu menu); in onPreparePanel() argument 443 public boolean onMenuOpened(int featureId, Menu menu); in onMenuOpened() argument 455 public boolean onMenuItemSelected(int featureId, MenuItem item); in onMenuItemSelected() argument 505 public void onPanelClosed(int featureId, Menu menu); in onPanelClosed() argument 1281 public boolean requestFeature(int featureId) { in requestFeature() argument 1282 final int flag = 1<<featureId; in requestFeature() 1291 protected void removeFeature(int featureId) { in removeFeature() argument 1292 final int flag = 1<<featureId; in removeFeature() [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/ |
D | WindowCallbackWrapper.java | 87 public View onCreatePanelView(int featureId) { in onCreatePanelView() argument 88 return mWrapped.onCreatePanelView(featureId); in onCreatePanelView() 92 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu() argument 93 return mWrapped.onCreatePanelMenu(featureId, menu); in onCreatePanelMenu() 97 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument 98 return mWrapped.onPreparePanel(featureId, view, menu); in onPreparePanel() 102 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() argument 103 return mWrapped.onMenuOpened(featureId, menu); in onMenuOpened() 107 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected() argument 108 return mWrapped.onMenuItemSelected(featureId, item); in onMenuItemSelected() [all …]
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | PhoneWindow.java | 340 public boolean requestFeature(int featureId) { in requestFeature() argument 345 final int newFeatures = features | (1 << featureId); in requestFeature() 353 if ((features & (1 << FEATURE_NO_TITLE)) != 0 && featureId == FEATURE_ACTION_BAR) { in requestFeature() 356 if ((features & (1 << FEATURE_ACTION_BAR)) != 0 && featureId == FEATURE_NO_TITLE) { in requestFeature() 361 if ((features & (1 << FEATURE_ACTION_BAR)) != 0 && featureId == FEATURE_SWIPE_TO_DISMISS) { in requestFeature() 365 if ((features & (1 << FEATURE_SWIPE_TO_DISMISS)) != 0 && featureId == FEATURE_ACTION_BAR) { in requestFeature() 370 if (featureId == FEATURE_INDETERMINATE_PROGRESS && in requestFeature() 374 return super.requestFeature(featureId); in requestFeature() 597 st.createdPanelView = cb.onCreatePanelView(st.featureId); in preparePanel() 601 (st.featureId == FEATURE_OPTIONS_PANEL || st.featureId == FEATURE_ACTION_BAR); in preparePanel() [all …]
|
D | DecorView.java | 260 DecorView(Context context, int featureId, PhoneWindow window, in DecorView() argument 263 mFeatureId = featureId; in DecorView()
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | AppCompatDelegateImplBase.java | 165 abstract void onPanelClosed(int featureId, Menu menu); 167 abstract boolean onMenuOpened(int featureId, Menu menu); 326 public boolean onCreatePanelMenu(int featureId, Menu menu) { 327 if (featureId == Window.FEATURE_OPTIONS_PANEL && !(menu instanceof MenuBuilder)) { 332 return super.onCreatePanelMenu(featureId, menu); 342 public boolean onPreparePanel(int featureId, View view, Menu menu) { 345 if (featureId == Window.FEATURE_OPTIONS_PANEL && mb == null) { 359 final boolean handled = super.onPreparePanel(featureId, view, menu); 369 public boolean onMenuOpened(int featureId, Menu menu) { 370 super.onMenuOpened(featureId, menu); [all …]
|
D | AppCompatDelegateImplV9.java | 567 public boolean requestWindowFeature(int featureId) { 568 featureId = sanitizeWindowFeatureId(featureId); 570 if (mWindowNoTitle && featureId == FEATURE_SUPPORT_ACTION_BAR) { 573 if (mHasActionBar && featureId == Window.FEATURE_NO_TITLE) { 578 switch (featureId) { 605 return mWindow.requestFeature(featureId); 609 public boolean hasWindowFeature(int featureId) { 610 featureId = sanitizeWindowFeatureId(featureId); 611 switch (featureId) { 640 void onPanelClosed(final int featureId, Menu menu) { [all …]
|
D | AppCompatDelegateImplV11.java | 33 public boolean hasWindowFeature(int featureId) { in hasWindowFeature() argument 34 return super.hasWindowFeature(featureId) || mWindow.hasFeature(featureId); in hasWindowFeature()
|
D | AppCompatActivity.java | 195 public final boolean onMenuItemSelected(int featureId, android.view.MenuItem item) { in onMenuItemSelected() argument 196 if (super.onMenuItemSelected(featureId, item)) { in onMenuItemSelected() 234 public boolean supportRequestWindowFeature(int featureId) { in supportRequestWindowFeature() argument 235 return getDelegate().requestWindowFeature(featureId); in supportRequestWindowFeature() 493 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() argument 494 return super.onMenuOpened(featureId, menu); in onMenuOpened() 504 public void onPanelClosed(int featureId, Menu menu) { in onPanelClosed() argument 505 super.onPanelClosed(featureId, menu); in onPanelClosed()
|
D | ToolbarActionBar.java | 521 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument 522 final boolean result = super.onPreparePanel(featureId, view, menu); in onPreparePanel() 531 public View onCreatePanelView(int featureId) { in onCreatePanelView() argument 532 if (featureId == Window.FEATURE_OPTIONS_PANEL) { in onCreatePanelView() 538 return super.onCreatePanelView(featureId); in onCreatePanelView()
|
D | AppCompatDialog.java | 140 public boolean supportRequestWindowFeature(int featureId) { in supportRequestWindowFeature() argument 141 return getDelegate().requestWindowFeature(featureId); in supportRequestWindowFeature()
|
D | AppCompatDelegate.java | 349 public abstract boolean requestWindowFeature(int featureId); in requestWindowFeature() argument 359 public abstract boolean hasWindowFeature(int featureId); in hasWindowFeature() argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | WindowCallback.java | 61 public View onCreatePanelView(int featureId) { in onCreatePanelView() argument 66 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu() argument 71 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument 76 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() argument 81 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected() argument 111 public void onPanelClosed(int featureId, Menu menu) { in onPanelClosed() argument
|
/frameworks/base/core/java/android/app/ |
D | Dialog.java | 874 public View onCreatePanelView(int featureId) { in onCreatePanelView() argument 882 public boolean onCreatePanelMenu(int featureId, @NonNull Menu menu) { in onCreatePanelMenu() argument 883 if (featureId == Window.FEATURE_OPTIONS_PANEL) { in onCreatePanelMenu() 894 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument 895 if (featureId == Window.FEATURE_OPTIONS_PANEL && menu != null) { in onPreparePanel() 905 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() argument 906 if (featureId == Window.FEATURE_ACTION_BAR) { in onMenuOpened() 916 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected() argument 924 public void onPanelClosed(int featureId, Menu menu) { in onPanelClosed() argument 925 if (featureId == Window.FEATURE_ACTION_BAR) { in onPanelClosed() [all …]
|
D | Activity.java | 3359 public View onCreatePanelView(int featureId) { in onCreatePanelView() argument 3371 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu() argument 3372 if (featureId == Window.FEATURE_OPTIONS_PANEL) { in onCreatePanelMenu() 3389 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument 3390 if (featureId == Window.FEATURE_OPTIONS_PANEL && menu != null) { in onPreparePanel() 3403 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() argument 3404 if (featureId == Window.FEATURE_ACTION_BAR) { in onMenuOpened() 3424 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected() argument 3427 switch (featureId) { in onMenuItemSelected() 3474 public void onPanelClosed(int featureId, Menu menu) { in onPanelClosed() argument [all …]
|
/frameworks/support/fragment/java/android/support/v4/app/ |
D | FragmentActivity.java | 319 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu() argument 320 if (featureId == Window.FEATURE_OPTIONS_PANEL) { in onCreatePanelMenu() 321 boolean show = super.onCreatePanelMenu(featureId, menu); in onCreatePanelMenu() 325 return super.onCreatePanelMenu(featureId, menu); in onCreatePanelMenu() 360 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected() argument 361 if (super.onMenuItemSelected(featureId, item)) { in onMenuItemSelected() 365 switch (featureId) { in onMenuItemSelected() 381 public void onPanelClosed(int featureId, Menu menu) { in onPanelClosed() argument 382 switch (featureId) { in onPanelClosed() 387 super.onPanelClosed(featureId, menu); in onPanelClosed() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarWindowView.java | 564 public void openPanel(int featureId, KeyEvent event) { 568 public void closePanel(int featureId) { 572 public void togglePanel(int featureId, KeyEvent event) { 576 public void invalidatePanelMenu(int featureId) { 580 public boolean performPanelShortcut(int featureId, int keyCode, KeyEvent event, int flags) { 585 public boolean performPanelIdentifierAction(int featureId, int id, int flags) { 607 public void setFeatureDrawableResource(int featureId, @DrawableRes int resId) { 611 public void setFeatureDrawableUri(int featureId, Uri uri) { 615 public void setFeatureDrawable(int featureId, Drawable drawable) { 619 public void setFeatureDrawableAlpha(int featureId, int alpha) { [all …]
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/ |
D | BaseTestActivity.java | 82 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() argument 84 return super.onMenuOpened(featureId, menu); in onMenuOpened() 88 public void onPanelClosed(int featureId, Menu menu) { in onPanelClosed() argument 90 super.onPanelClosed(featureId, menu); in onPanelClosed()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/ |
D | PhoneWindowActionModeTest.java | 213 public View onCreatePanelView(int featureId) { in onCreatePanelView() argument 218 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu() argument 223 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument 228 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() argument 233 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected() argument 253 public void onPanelClosed(int featureId, Menu menu) {} in onPanelClosed() argument
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ToolbarActionBar.java | 517 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument 518 final boolean result = super.onPreparePanel(featureId, view, menu); in onPreparePanel() 527 public View onCreatePanelView(int featureId) { in onCreatePanelView() argument 528 if (featureId == Window.FEATURE_OPTIONS_PANEL) { in onCreatePanelView() 534 return super.onCreatePanelView(featureId); in onCreatePanelView()
|
/frameworks/base/core/java/android/service/dreams/ |
D | DreamService.java | 278 public View onCreatePanelView(int featureId) { in onCreatePanelView() argument 284 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu() argument 290 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument 296 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() argument 302 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected() argument 333 public void onPanelClosed(int featureId, Menu menu) { in onPanelClosed() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | TunerActivity.java | 63 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected() argument 68 return super.onMenuItemSelected(featureId, item); in onMenuItemSelected()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_power_PowerManagerService.cpp | 185 static void nativeSetFeature(JNIEnv *env, jclass clazz, jint featureId, jint data) { in nativeSetFeature() argument 188 Return<void> ret = gPowerHal->setFeature((Feature)featureId, static_cast<bool>(data)); in nativeSetFeature()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 633 private static native void nativeSetFeature(int featureId, int data); in nativeSetFeature() argument
|