Home
last modified time | relevance | path

Searched refs:featureId (Results 1 – 15 of 15) 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.java410 public View onCreatePanelView(int featureId); in onCreatePanelView() argument
428 boolean onCreatePanelMenu(int featureId, @NonNull Menu menu); in onCreatePanelMenu() argument
444 boolean onPreparePanel(int featureId, @Nullable View view, @NonNull Menu menu); in onPreparePanel() argument
456 boolean onMenuOpened(int featureId, @NonNull Menu menu); in onMenuOpened() argument
468 boolean onMenuItemSelected(int featureId, @NonNull MenuItem item); in onMenuItemSelected() argument
518 void onPanelClosed(int featureId, @NonNull Menu menu); in onPanelClosed() argument
1341 public boolean requestFeature(int featureId) { in requestFeature() argument
1342 final int flag = 1<<featureId; in requestFeature()
1351 protected void removeFeature(int featureId) { in removeFeature() argument
1352 final int flag = 1<<featureId; in removeFeature()
[all …]
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java360 public boolean requestFeature(int featureId) { in requestFeature() argument
365 final int newFeatures = features | (1 << featureId); in requestFeature()
373 if ((features & (1 << FEATURE_NO_TITLE)) != 0 && featureId == FEATURE_ACTION_BAR) { in requestFeature()
376 if ((features & (1 << FEATURE_ACTION_BAR)) != 0 && featureId == FEATURE_NO_TITLE) { in requestFeature()
381 if ((features & (1 << FEATURE_ACTION_BAR)) != 0 && featureId == FEATURE_SWIPE_TO_DISMISS) { in requestFeature()
385 if ((features & (1 << FEATURE_SWIPE_TO_DISMISS)) != 0 && featureId == FEATURE_ACTION_BAR) { in requestFeature()
390 if (featureId == FEATURE_INDETERMINATE_PROGRESS && in requestFeature()
394 return super.requestFeature(featureId); in requestFeature()
617 st.createdPanelView = cb.onCreatePanelView(st.featureId); in preparePanel()
621 (st.featureId == FEATURE_OPTIONS_PANEL || st.featureId == FEATURE_ACTION_BAR); in preparePanel()
[all …]
DDecorView.java271 DecorView(Context context, int featureId, PhoneWindow window, in DecorView() argument
274 mFeatureId = featureId; in DecorView()
/frameworks/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.java920 public View onCreatePanelView(int featureId) { in onCreatePanelView() argument
928 public boolean onCreatePanelMenu(int featureId, @NonNull Menu menu) { in onCreatePanelMenu() argument
929 if (featureId == Window.FEATURE_OPTIONS_PANEL) { in onCreatePanelMenu()
940 public boolean onPreparePanel(int featureId, @Nullable View view, @NonNull Menu menu) { in onPreparePanel() argument
941 if (featureId == Window.FEATURE_OPTIONS_PANEL) { in onPreparePanel()
951 public boolean onMenuOpened(int featureId, @NonNull Menu menu) { in onMenuOpened() argument
952 if (featureId == Window.FEATURE_ACTION_BAR) { in onMenuOpened()
962 public boolean onMenuItemSelected(int featureId, @NonNull MenuItem item) { in onMenuItemSelected() argument
970 public void onPanelClosed(int featureId, @NonNull Menu menu) { in onPanelClosed() argument
971 if (featureId == Window.FEATURE_ACTION_BAR) { in onPanelClosed()
[all …]
DActivity.java4060 public View onCreatePanelView(int featureId) { in onCreatePanelView() argument
4072 public boolean onCreatePanelMenu(int featureId, @NonNull Menu menu) { in onCreatePanelMenu() argument
4073 if (featureId == Window.FEATURE_OPTIONS_PANEL) { in onCreatePanelMenu()
4090 public boolean onPreparePanel(int featureId, @Nullable View view, @NonNull Menu menu) { in onPreparePanel() argument
4091 if (featureId == Window.FEATURE_OPTIONS_PANEL) { in onPreparePanel()
4105 public boolean onMenuOpened(int featureId, @NonNull Menu menu) { in onMenuOpened() argument
4106 if (featureId == Window.FEATURE_ACTION_BAR) { in onMenuOpened()
4126 public boolean onMenuItemSelected(int featureId, @NonNull MenuItem item) { in onMenuItemSelected() argument
4129 switch (featureId) { in onMenuItemSelected()
4176 public void onPanelClosed(int featureId, @NonNull Menu menu) { in onPanelClosed() argument
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
DPhoneWindowActionModeTest.java212 public View onCreatePanelView(int featureId) { in onCreatePanelView() argument
217 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu() argument
222 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument
227 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() argument
232 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected() argument
252 public void onPanelClosed(int featureId, Menu menu) {} in onPanelClosed() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowView.java703 public void openPanel(int featureId, KeyEvent event) {
707 public void closePanel(int featureId) {
711 public void togglePanel(int featureId, KeyEvent event) {
715 public void invalidatePanelMenu(int featureId) {
719 public boolean performPanelShortcut(int featureId, int keyCode, KeyEvent event, int flags) {
724 public boolean performPanelIdentifierAction(int featureId, int id, int flags) {
746 public void setFeatureDrawableResource(int featureId, @DrawableRes int resId) {
750 public void setFeatureDrawableUri(int featureId, Uri uri) {
754 public void setFeatureDrawable(int featureId, Drawable drawable) {
758 public void setFeatureDrawableAlpha(int featureId, int alpha) {
[all …]
/frameworks/base/core/java/com/android/internal/app/
DToolbarActionBar.java517 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/
DDreamService.java280 public View onCreatePanelView(int featureId) { in onCreatePanelView() argument
286 public boolean onCreatePanelMenu(int featureId, Menu menu) { in onCreatePanelMenu() argument
292 public boolean onPreparePanel(int featureId, View view, Menu menu) { in onPreparePanel() argument
298 public boolean onMenuOpened(int featureId, Menu menu) { in onMenuOpened() argument
304 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected() argument
335 public void onPanelClosed(int featureId, Menu menu) { in onPanelClosed() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerActivity.java74 public boolean onMenuItemSelected(int featureId, MenuItem item) { in onMenuItemSelected() argument
79 return super.onMenuItemSelected(featureId, item); in onMenuItemSelected()
/frameworks/base/services/core/jni/
Dcom_android_server_power_PowerManagerService.cpp293 static void nativeSetFeature(JNIEnv* /* env */, jclass /* clazz */, jint featureId, jint data) { in nativeSetFeature() argument
296 Return<void> ret = powerHalV1_0->setFeature((Feature)featureId, static_cast<bool>(data)); in nativeSetFeature()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java688 public void nativeSetFeature(int featureId, int data) { in nativeSetFeature() argument
689 PowerManagerService.nativeSetFeature(featureId, data); in nativeSetFeature()
738 private static native void nativeSetFeature(int featureId, int data); in nativeSetFeature() argument
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...