Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DWindowCallbackWrapper.java72 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 …]
DWindow.java395 public View onCreatePanelView(int featureId); in onCreatePanelView() argument
413 public boolean onCreatePanelMenu(int featureId, Menu menu); in onCreatePanelMenu() argument
429 public boolean onPreparePanel(int featureId, View view, Menu menu); in onPreparePanel() argument
441 public boolean onMenuOpened(int featureId, Menu menu); in onMenuOpened() argument
453 public boolean onMenuItemSelected(int featureId, MenuItem item); in onMenuItemSelected() argument
503 public void onPanelClosed(int featureId, Menu menu); in onPanelClosed() argument
1220 public boolean requestFeature(int featureId) { in requestFeature() argument
1221 final int flag = 1<<featureId; in requestFeature()
1230 protected void removeFeature(int featureId) { in removeFeature() argument
1231 final int flag = 1<<featureId; in removeFeature()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/view/
DWindowCallbackWrapper.java82 public View onCreatePanelView(int featureId) { in onCreatePanelView() argument
83 return mWrapped.onCreatePanelView(featureId); in onCreatePanelView()
87 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu() argument
88 return mWrapped.onCreatePanelMenu(featureId, menu); in onCreatePanelMenu()
92 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument
93 return mWrapped.onPreparePanel(featureId, view, menu); in onPreparePanel()
97 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() argument
98 return mWrapped.onMenuOpened(featureId, menu); in onMenuOpened()
102 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected() argument
103 return mWrapped.onMenuItemSelected(featureId, item); in onMenuItemSelected()
[all …]
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java334 public boolean requestFeature(int featureId) { in requestFeature() argument
339 final int newFeatures = features | (1 << featureId); in requestFeature()
347 if ((features & (1 << FEATURE_NO_TITLE)) != 0 && featureId == FEATURE_ACTION_BAR) { in requestFeature()
350 if ((features & (1 << FEATURE_ACTION_BAR)) != 0 && featureId == FEATURE_NO_TITLE) { in requestFeature()
355 if ((features & (1 << FEATURE_ACTION_BAR)) != 0 && featureId == FEATURE_SWIPE_TO_DISMISS) { in requestFeature()
359 if ((features & (1 << FEATURE_SWIPE_TO_DISMISS)) != 0 && featureId == FEATURE_ACTION_BAR) { in requestFeature()
364 if (featureId == FEATURE_INDETERMINATE_PROGRESS && in requestFeature()
368 return super.requestFeature(featureId); in requestFeature()
584 st.createdPanelView = cb.onCreatePanelView(st.featureId); in preparePanel()
588 (st.featureId == FEATURE_OPTIONS_PANEL || st.featureId == FEATURE_ACTION_BAR); in preparePanel()
[all …]
DDecorView.java232 DecorView(Context context, int featureId, PhoneWindow window, in DecorView() argument
235 mFeatureId = featureId; in DecorView()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAppCompatDelegateImplBase.java164 abstract void onPanelClosed(int featureId, Menu menu);
166 abstract boolean onMenuOpened(int featureId, Menu menu);
322 public boolean onCreatePanelMenu(int featureId, Menu menu) {
323 if (featureId == Window.FEATURE_OPTIONS_PANEL && !(menu instanceof MenuBuilder)) {
328 return super.onCreatePanelMenu(featureId, menu);
338 public boolean onPreparePanel(int featureId, View view, Menu menu) {
341 if (featureId == Window.FEATURE_OPTIONS_PANEL && mb == null) {
355 final boolean handled = super.onPreparePanel(featureId, view, menu);
365 public boolean onMenuOpened(int featureId, Menu menu) {
366 super.onMenuOpened(featureId, menu);
[all …]
DAppCompatDelegateImplV9.java560 public boolean requestWindowFeature(int featureId) { in requestWindowFeature() argument
561 featureId = sanitizeWindowFeatureId(featureId); in requestWindowFeature()
563 if (mWindowNoTitle && featureId == FEATURE_SUPPORT_ACTION_BAR) { in requestWindowFeature()
566 if (mHasActionBar && featureId == Window.FEATURE_NO_TITLE) { in requestWindowFeature()
571 switch (featureId) { in requestWindowFeature()
598 return mWindow.requestFeature(featureId); in requestWindowFeature()
602 public boolean hasWindowFeature(int featureId) { in hasWindowFeature() argument
603 featureId = sanitizeWindowFeatureId(featureId); in hasWindowFeature()
604 switch (featureId) { in hasWindowFeature()
618 return mWindow.hasFeature(featureId); in hasWindowFeature()
[all …]
DAppCompatActivity.java194 public final boolean onMenuItemSelected(int featureId, android.view.MenuItem item) { in onMenuItemSelected() argument
195 if (super.onMenuItemSelected(featureId, item)) { in onMenuItemSelected()
233 public boolean supportRequestWindowFeature(int featureId) { in supportRequestWindowFeature() argument
234 return getDelegate().requestWindowFeature(featureId); in supportRequestWindowFeature()
494 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() argument
495 return super.onMenuOpened(featureId, menu); in onMenuOpened()
505 public void onPanelClosed(int featureId, Menu menu) { in onPanelClosed() argument
506 super.onPanelClosed(featureId, menu); in onPanelClosed()
DToolbarActionBar.java566 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument
567 final boolean result = super.onPreparePanel(featureId, view, menu); in onPreparePanel()
576 public View onCreatePanelView(int featureId) { in onCreatePanelView() argument
577 switch (featureId) { in onCreatePanelView()
580 if (onPreparePanel(featureId, null, menu) && onMenuOpened(featureId, menu)) { in onCreatePanelView()
585 return super.onCreatePanelView(featureId); in onCreatePanelView()
DAppCompatDialog.java136 public boolean supportRequestWindowFeature(int featureId) { in supportRequestWindowFeature() argument
137 return getDelegate().requestWindowFeature(featureId); in supportRequestWindowFeature()
DAppCompatDelegate.java347 public abstract boolean requestWindowFeature(int featureId); in requestWindowFeature() argument
357 public abstract boolean hasWindowFeature(int featureId); in hasWindowFeature() argument
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DWindowCallback.java61 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/
DDialog.java852 public View onCreatePanelView(int featureId) { in onCreatePanelView() argument
860 public boolean onCreatePanelMenu(int featureId, @NonNull Menu menu) { in onCreatePanelMenu() argument
861 if (featureId == Window.FEATURE_OPTIONS_PANEL) { in onCreatePanelMenu()
872 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument
873 if (featureId == Window.FEATURE_OPTIONS_PANEL && menu != null) { in onPreparePanel()
883 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() argument
884 if (featureId == Window.FEATURE_ACTION_BAR) { in onMenuOpened()
894 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected() argument
902 public void onPanelClosed(int featureId, Menu menu) { in onPanelClosed() argument
903 if (featureId == Window.FEATURE_ACTION_BAR) { in onPanelClosed()
[all …]
DActivity.java3128 public View onCreatePanelView(int featureId) { in onCreatePanelView() argument
3140 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu() argument
3141 if (featureId == Window.FEATURE_OPTIONS_PANEL) { in onCreatePanelMenu()
3158 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument
3159 if (featureId == Window.FEATURE_OPTIONS_PANEL && menu != null) { in onPreparePanel()
3172 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() argument
3173 if (featureId == Window.FEATURE_ACTION_BAR) { in onMenuOpened()
3193 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected() argument
3196 switch (featureId) { in onMenuItemSelected()
3243 public void onPanelClosed(int featureId, Menu menu) { in onPanelClosed() argument
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowView.java506 public void openPanel(int featureId, KeyEvent event) {
510 public void closePanel(int featureId) {
514 public void togglePanel(int featureId, KeyEvent event) {
518 public void invalidatePanelMenu(int featureId) {
522 public boolean performPanelShortcut(int featureId, int keyCode, KeyEvent event, int flags) {
527 public boolean performPanelIdentifierAction(int featureId, int id, int flags) {
549 public void setFeatureDrawableResource(int featureId, @DrawableRes int resId) {
553 public void setFeatureDrawableUri(int featureId, Uri uri) {
557 public void setFeatureDrawable(int featureId, Drawable drawable) {
561 public void setFeatureDrawableAlpha(int featureId, int alpha) {
[all …]
/frameworks/support/fragment/java/android/support/v4/app/
DFragmentActivity.java357 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu() argument
358 if (featureId == Window.FEATURE_OPTIONS_PANEL) { in onCreatePanelMenu()
359 boolean show = super.onCreatePanelMenu(featureId, menu); in onCreatePanelMenu()
369 return super.onCreatePanelMenu(featureId, menu); in onCreatePanelMenu()
404 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected() argument
405 if (super.onMenuItemSelected(featureId, item)) { in onMenuItemSelected()
409 switch (featureId) { in onMenuItemSelected()
425 public void onPanelClosed(int featureId, Menu menu) { in onPanelClosed() argument
426 switch (featureId) { in onPanelClosed()
431 super.onPanelClosed(featureId, menu); in onPanelClosed()
[all …]
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
DBaseTestActivity.java82 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/
DPhoneWindowActionModeTest.java213 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/android/service/dreams/
DDreamService.java277 public View onCreatePanelView(int featureId) { in onCreatePanelView() argument
283 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu() argument
289 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument
295 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() argument
301 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected() argument
332 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.java524 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument
525 final boolean result = super.onPreparePanel(featureId, view, menu); in onPreparePanel()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java511 private static native void nativeSetFeature(int featureId, int data); in nativeSetFeature() argument