/frameworks/support/v4/java/android/support/v4/app/ |
H A D | FragmentActivity.java | 356 public boolean onCreatePanelMenu(int featureId, Menu menu) { argument 357 if (featureId == Window.FEATURE_OPTIONS_PANEL) { 358 boolean show = super.onCreatePanelMenu(featureId, menu); 368 return super.onCreatePanelMenu(featureId, menu); 420 public boolean onMenuItemSelected(int featureId, MenuItem item) { argument 421 if (super.onMenuItemSelected(featureId, item)) { 425 switch (featureId) { 441 public void onPanelClosed(int featureId, Menu menu) { argument 442 switch (featureId) { 447 super.onPanelClosed(featureId, men 529 onPreparePanel(int featureId, View view, Menu menu) argument [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | AppCompatActivity.java | 187 public final boolean onMenuItemSelected(int featureId, android.view.MenuItem item) { argument 188 if (super.onMenuItemSelected(featureId, item)) { 219 * @param featureId The desired feature as defined in 226 public boolean supportRequestWindowFeature(int featureId) { argument 227 return getDelegate().requestWindowFeature(featureId); 484 public boolean onMenuOpened(int featureId, Menu menu) { argument 485 return super.onMenuOpened(featureId, menu); 495 public void onPanelClosed(int featureId, Menu menu) { argument 496 super.onPanelClosed(featureId, menu);
|
H A D | AppCompatDelegate.java | 330 * @param featureId The desired feature as defined in {@link android.view.Window}. 334 public abstract boolean requestWindowFeature(int featureId); argument 341 * @param featureId The feature ID to check 344 public abstract boolean hasWindowFeature(int featureId); argument
|
H A D | AppCompatDelegateImplBase.java | 120 abstract void onPanelClosed(int featureId, Menu menu); argument 122 abstract boolean onMenuOpened(int featureId, Menu menu); argument 264 public boolean onCreatePanelMenu(int featureId, Menu menu) { argument 265 if (featureId == Window.FEATURE_OPTIONS_PANEL && !(menu instanceof MenuBuilder)) { 270 return super.onCreatePanelMenu(featureId, menu); 280 public boolean onPreparePanel(int featureId, View view, Menu menu) { argument 283 if (featureId == Window.FEATURE_OPTIONS_PANEL && mb == null) { 297 final boolean handled = super.onPreparePanel(featureId, view, menu); 307 public boolean onMenuOpened(int featureId, Menu menu) { argument 308 super.onMenuOpened(featureId, men 314 onPanelClosed(int featureId, Menu menu) argument [all...] |
H A D | AppCompatDelegateImplV7.java | 556 public boolean requestWindowFeature(int featureId) { argument 557 featureId = sanitizeWindowFeatureId(featureId); 559 if (mWindowNoTitle && featureId == FEATURE_SUPPORT_ACTION_BAR) { 562 if (mHasActionBar && featureId == Window.FEATURE_NO_TITLE) { 567 switch (featureId) { 594 return mWindow.requestFeature(featureId); 598 public boolean hasWindowFeature(int featureId) { argument 599 featureId = sanitizeWindowFeatureId(featureId); 629 onPanelClosed(final int featureId, Menu menu) argument 646 onMenuOpened(final int featureId, Menu menu) argument 1415 closePanel(int featureId) argument 1451 onKeyDownPanel(int featureId, KeyEvent event) argument 1462 onKeyUpPanel(int featureId, KeyEvent event) argument 1515 callOnPanelClosed(int featureId, PanelFeatureState panel, Menu menu) argument 1555 getPanelState(int featureId, boolean required) argument 1597 invalidatePanelMenu(int featureId) argument 1606 doInvalidatePanelMenu(int featureId) argument 1716 sanitizeWindowFeatureId(int featureId) argument 1861 int featureId; field in class:AppCompatDelegateImplV7.PanelFeatureState 1923 PanelFeatureState(int featureId) argument 2036 int featureId; field in class:AppCompatDelegateImplV7.PanelFeatureState.SavedState [all...] |
H A D | AppCompatDialog.java | 129 * @param featureId The desired feature as defined in {@link android.view.Window} or 136 public boolean supportRequestWindowFeature(int featureId) { argument 137 return getDelegate().requestWindowFeature(featureId);
|
H A D | ToolbarActionBar.java | 566 public boolean onPreparePanel(int featureId, View view, Menu menu) { argument 567 final boolean result = super.onPreparePanel(featureId, view, menu); 576 public View onCreatePanelView(int featureId) { argument 577 switch (featureId) { 580 if (onPreparePanel(featureId, null, menu) && onMenuOpened(featureId, menu)) { 585 return super.onCreatePanelView(featureId);
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/ |
H A D | WindowCallbackWrapper.java | 82 public View onCreatePanelView(int featureId) { argument 83 return mWrapped.onCreatePanelView(featureId); 87 public boolean onCreatePanelMenu(int featureId, Menu menu) { argument 88 return mWrapped.onCreatePanelMenu(featureId, menu); 92 public boolean onPreparePanel(int featureId, View view, Menu menu) { argument 93 return mWrapped.onPreparePanel(featureId, view, menu); 97 public boolean onMenuOpened(int featureId, Menu menu) { argument 98 return mWrapped.onMenuOpened(featureId, menu); 102 public boolean onMenuItemSelected(int featureId, MenuItem item) { argument 103 return mWrapped.onMenuItemSelected(featureId, ite 132 onPanelClosed(int featureId, Menu menu) argument [all...] |
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/ |
H A D | BaseTestActivity.java | 83 public boolean onMenuOpened(int featureId, Menu menu) { argument 85 return super.onMenuOpened(featureId, menu); 89 public void onPanelClosed(int featureId, Menu menu) { argument 91 super.onPanelClosed(featureId, menu);
|
/frameworks/base/services/core/java/com/android/server/power/ |
H A D | PowerManagerService.java | 498 private static native void nativeSetFeature(int featureId, int data); argument
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_power_PowerManagerService.cpp | 159 static void nativeSetFeature(JNIEnv *env, jclass clazz, jint featureId, jint data) { argument 163 gPowerModule->setFeature(gPowerModule, (feature_t)featureId, data_param);
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | WindowCallback.java | 61 public View onCreatePanelView(int featureId) { argument 66 public boolean onCreatePanelMenu(int featureId, Menu menu) { argument 71 public boolean onPreparePanel(int featureId, View view, Menu menu) { argument 76 public boolean onMenuOpened(int featureId, Menu menu) { argument 81 public boolean onMenuItemSelected(int featureId, MenuItem item) { argument 111 public void onPanelClosed(int featureId, Menu menu) { argument
|
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | DecorView.java | 230 DecorView(Context context, int featureId, PhoneWindow window, argument 233 mFeatureId = featureId;
|
H A D | PhoneWindow.java | 336 public boolean requestFeature(int featureId) { argument 341 final int newFeatures = features | (1 << featureId); 349 if ((features & (1 << FEATURE_NO_TITLE)) != 0 && featureId == FEATURE_ACTION_BAR) { 352 if ((features & (1 << FEATURE_ACTION_BAR)) != 0 && featureId == FEATURE_NO_TITLE) { 357 if ((features & (1 << FEATURE_ACTION_BAR)) != 0 && featureId == FEATURE_SWIPE_TO_DISMISS) { 361 if ((features & (1 << FEATURE_SWIPE_TO_DISMISS)) != 0 && featureId == FEATURE_ACTION_BAR) { 366 if (featureId == FEATURE_INDETERMINATE_PROGRESS && 370 return super.requestFeature(featureId); 586 st.createdPanelView = cb.onCreatePanelView(st.featureId); 590 (st.featureId 741 openPanel(int featureId, KeyEvent event) argument 873 closePanel(int featureId) argument 954 togglePanel(int featureId, KeyEvent event) argument 964 invalidatePanelMenu(int featureId) argument 980 doInvalidatePanelMenu(int featureId) argument 1016 onKeyDownPanel(int featureId, KeyEvent event) argument 1037 onKeyUpPanel(int featureId, KeyEvent event) argument 1147 performPanelShortcut(int featureId, int keyCode, KeyEvent event, int flags) argument 1180 performPanelIdentifierAction(int featureId, int id, int flags) argument 1467 setFeatureDrawableResource(int featureId, int resId) argument 1482 setFeatureDrawableUri(int featureId, Uri uri) argument 1497 setFeatureDrawable(int featureId, Drawable drawable) argument 1508 setFeatureDrawableAlpha(int featureId, int alpha) argument 1516 setFeatureDefaultDrawable(int featureId, Drawable drawable) argument 1525 setFeatureInt(int featureId, int value) argument 1540 updateDrawable(int featureId, boolean fromActive) argument 1555 onDrawableChanged(int featureId, Drawable drawable, int alpha) argument 1581 onIntChanged(int featureId, int value) argument 1829 onKeyDown(int featureId, int keyCode, KeyEvent event) argument 1940 onKeyUp(int featureId, int keyCode, KeyEvent event) argument 2322 generateDecor(int featureId) argument 2836 getDrawableState(int featureId, boolean required) argument 2868 getPanelState(int featureId, boolean required) argument 2882 getPanelState(int featureId, boolean required, PanelFeatureState convertPanelState) argument 2910 setChildDrawable(int featureId, Drawable drawable) argument 2917 setChildInt(int featureId, int value) argument 2927 updateDrawable(int featureId, DrawableFeatureState st, boolean fromResume) argument 2963 updateInt(int featureId, int value, boolean fromResume) argument 3094 callOnPanelClosed(int featureId, PanelFeatureState panel, Menu menu) argument 3313 final int featureId; field in class:PhoneWindow.DrawableFeatureState 3335 int featureId; field in class:PhoneWindow.PanelFeatureState 3415 PanelFeatureState(int featureId) argument 3558 int featureId; field in class:PhoneWindow.PanelFeatureState.SavedState [all...] |
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/ |
H A D | PhoneWindowActionModeTest.java | 213 public View onCreatePanelView(int featureId) { argument 218 public boolean onCreatePanelMenu(int featureId, Menu menu) { argument 223 public boolean onPreparePanel(int featureId, View view, Menu menu) { argument 228 public boolean onMenuOpened(int featureId, Menu menu) { argument 233 public boolean onMenuItemSelected(int featureId, MenuItem item) { argument 253 public void onPanelClosed(int featureId, Menu menu) {} argument
|
/frameworks/base/core/java/android/app/ |
H A D | Activity.java | 3128 public View onCreatePanelView(int featureId) { argument 3140 public boolean onCreatePanelMenu(int featureId, Menu menu) { argument 3141 if (featureId == Window.FEATURE_OPTIONS_PANEL) { 3158 public boolean onPreparePanel(int featureId, View view, Menu menu) { argument 3159 if (featureId == Window.FEATURE_OPTIONS_PANEL && menu != null) { 3172 public boolean onMenuOpened(int featureId, Menu menu) { argument 3173 if (featureId == Window.FEATURE_ACTION_BAR) { 3193 public boolean onMenuItemSelected(int featureId, MenuItem item) { argument 3196 switch (featureId) { 3243 public void onPanelClosed(int featureId, Men argument 3945 requestWindowFeature(int featureId) argument 3953 setFeatureDrawableResource(int featureId, @DrawableRes int resId) argument 3961 setFeatureDrawableUri(int featureId, Uri uri) argument 3969 setFeatureDrawable(int featureId, Drawable drawable) argument 3977 setFeatureDrawableAlpha(int featureId, int alpha) argument [all...] |
H A D | Dialog.java | 852 public View onCreatePanelView(int featureId) { argument 860 public boolean onCreatePanelMenu(int featureId, @NonNull Menu menu) { argument 861 if (featureId == Window.FEATURE_OPTIONS_PANEL) { 872 public boolean onPreparePanel(int featureId, View view, Menu menu) { argument 873 if (featureId == Window.FEATURE_OPTIONS_PANEL && menu != null) { 883 public boolean onMenuOpened(int featureId, Menu menu) { argument 884 if (featureId == Window.FEATURE_ACTION_BAR) { 894 public boolean onMenuItemSelected(int featureId, MenuItem item) { argument 902 public void onPanelClosed(int featureId, Menu menu) { argument 903 if (featureId 1138 requestWindowFeature(int featureId) argument 1146 setFeatureDrawableResource(int featureId, @DrawableRes int resId) argument 1154 setFeatureDrawableUri(int featureId, @Nullable Uri uri) argument 1162 setFeatureDrawable(int featureId, @Nullable Drawable drawable) argument 1170 setFeatureDrawableAlpha(int featureId, int alpha) argument [all...] |
/frameworks/base/core/java/android/service/dreams/ |
H A D | DreamService.java | 277 public View onCreatePanelView(int featureId) { argument 283 public boolean onCreatePanelMenu(int featureId, Menu menu) { argument 289 public boolean onPreparePanel(int featureId, View view, Menu menu) { argument 295 public boolean onMenuOpened(int featureId, Menu menu) { argument 301 public boolean onMenuItemSelected(int featureId, MenuItem item) { argument 332 public void onPanelClosed(int featureId, Menu menu) { argument
|
/frameworks/base/core/java/android/view/ |
H A D | Window.java | 384 * Instantiate the view to display in the panel for 'featureId'. 388 * @param featureId Which panel is being created. 395 public View onCreatePanelView(int featureId); argument 398 * Initialize the contents of the menu for panel 'featureId'. This is 407 * @param featureId The panel being created. 413 public boolean onCreatePanelMenu(int featureId, Menu menu); argument 419 * @param featureId The panel that is being displayed. 429 public boolean onPreparePanel(int featureId, View view, Menu menu); argument 436 * @param featureId The panel that the menu is in. 441 public boolean onMenuOpened(int featureId, Men argument 453 onMenuItemSelected(int featureId, MenuItem item) argument 503 onPanelClosed(int featureId, Menu menu) argument 1220 requestFeature(int featureId) argument 1230 removeFeature(int featureId) argument 1351 openPanel(int featureId, KeyEvent event) argument 1353 closePanel(int featureId) argument 1355 togglePanel(int featureId, KeyEvent event) argument 1357 invalidatePanelMenu(int featureId) argument 1359 performPanelShortcut(int featureId, int keyCode, KeyEvent event, int flags) argument 1363 performPanelIdentifierAction(int featureId, int id, int flags) argument 1445 setFeatureDrawableResource(int featureId, @DrawableRes int resId) argument 1461 setFeatureDrawableUri(int featureId, Uri uri) argument 1471 setFeatureDrawable(int featureId, Drawable drawable) argument 1482 setFeatureDrawableAlpha(int featureId, int alpha) argument 1494 setFeatureInt(int featureId, int value) argument 1652 setChildDrawable(int featureId, Drawable drawable) argument 1654 setChildInt(int featureId, int value) argument [all...] |
H A D | WindowCallbackWrapper.java | 72 public View onCreatePanelView(int featureId) { argument 73 return mWrapped.onCreatePanelView(featureId); 77 public boolean onCreatePanelMenu(int featureId, Menu menu) { argument 78 return mWrapped.onCreatePanelMenu(featureId, menu); 82 public boolean onPreparePanel(int featureId, View view, Menu menu) { argument 83 return mWrapped.onPreparePanel(featureId, view, menu); 87 public boolean onMenuOpened(int featureId, Menu menu) { argument 88 return mWrapped.onMenuOpened(featureId, menu); 92 public boolean onMenuItemSelected(int featureId, MenuItem item) { argument 93 return mWrapped.onMenuItemSelected(featureId, ite 122 onPanelClosed(int featureId, Menu menu) argument [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ToolbarActionBar.java | 524 public boolean onPreparePanel(int featureId, View view, Menu menu) { argument 525 final boolean result = super.onPreparePanel(featureId, view, menu);
|