/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/view/ |
TestWindow.java | 32 @Override public boolean requestFeature(int featureId) { 33 this.requestedFeatureId = featureId; 86 @Override public void openPanel(int featureId, KeyEvent event) { 89 @Override public void closePanel(int featureId) { 92 @Override public void togglePanel(int featureId, KeyEvent event) { 95 @Override public boolean performPanelShortcut(int featureId, int keyCode, KeyEvent event, int flags) { 99 @Override public boolean performPanelIdentifierAction(int featureId, int id, int flags) { 116 @Override public void setFeatureDrawableResource(int featureId, int resId) { 117 featureDrawableResourceFeatureId = featureId; 121 @Override public void setFeatureDrawableUri(int featureId, Uri uri) [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
ActionBarActivityDelegateICS.java | 125 public boolean supportRequestWindowFeature(int featureId) { 126 return mActivity.requestWindowFeature(featureId); 130 public View onCreatePanelView(int featureId) { 136 public boolean onCreatePanelMenu(int featureId, Menu menu) { 137 if (featureId == Window.FEATURE_OPTIONS_PANEL || featureId == Window.FEATURE_ACTION_BAR) { 141 return mActivity.superOnCreatePanelMenu(featureId, mMenu); 143 return mActivity.superOnCreatePanelMenu(featureId, menu); 147 public boolean onPreparePanel(int featureId, View view, Menu menu) { 148 if (featureId == Window.FEATURE_OPTIONS_PANEL || featureId == Window.FEATURE_ACTION_BAR) [all...] |
ActionBarActivity.java | 107 public View onCreatePanelView(int featureId) { 108 if (featureId == Window.FEATURE_OPTIONS_PANEL) { 109 return mImpl.onCreatePanelView(featureId); 111 return super.onCreatePanelView(featureId); 116 public final boolean onMenuItemSelected(int featureId, android.view.MenuItem item) { 117 if (mImpl.onMenuItemSelected(featureId, item)) { 142 * @param featureId The desired feature as defined in 149 public boolean supportRequestWindowFeature(int featureId) { 150 return mImpl.supportRequestWindowFeature(featureId); 185 public boolean onCreatePanelMenu(int featureId, Menu menu) [all...] |
ActionBarActivityDelegateBase.java | 228 public boolean supportRequestWindowFeature(int featureId) { 229 switch (featureId) { 243 return mActivity.requestWindowFeature(featureId); 255 public View onCreatePanelView(int featureId) { 258 if (featureId == Window.FEATURE_OPTIONS_PANEL) { 300 public boolean onCreatePanelMenu(int featureId, Menu menu) { 301 if (featureId != Window.FEATURE_OPTIONS_PANEL) { 302 return mActivity.superOnCreatePanelMenu(featureId, menu); 308 public boolean onPreparePanel(int featureId, View view, Menu menu) { 309 if (featureId != Window.FEATURE_OPTIONS_PANEL) [all...] |
ActionBarActivityDelegate.java | 129 abstract boolean supportRequestWindowFeature(int featureId); 132 abstract View onCreatePanelView(int featureId); 134 abstract boolean onPreparePanel(int featureId, View view, Menu menu); 136 abstract boolean onCreatePanelMenu(int featureId, Menu menu); 138 abstract boolean onMenuItemSelected(int featureId, MenuItem item);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
PhoneWindow.java | 224 public boolean requestFeature(int featureId) { 229 if ((features != DEFAULT_FEATURES) && (featureId == FEATURE_CUSTOM_TITLE)) { 235 (featureId != FEATURE_CUSTOM_TITLE) && (featureId != FEATURE_ACTION_MODE_OVERLAY)) { 240 if ((features & (1 << FEATURE_NO_TITLE)) != 0 && featureId == FEATURE_ACTION_BAR) { 243 if ((features & (1 << FEATURE_ACTION_BAR)) != 0 && featureId == FEATURE_NO_TITLE) { 247 return super.requestFeature(featureId); 380 st.createdPanelView = cb.onCreatePanelView(st.featureId); 384 (st.featureId == FEATURE_OPTIONS_PANEL || st.featureId == FEATURE_ACTION_BAR) [all...] |
/cts/tests/src/android/app/cts/ |
TestDialog.java | 190 public boolean onCreatePanelMenu(int featureId, Menu menu) { 192 return super.onCreatePanelMenu(featureId, menu); 196 public View onCreatePanelView(int featureId) { 198 return super.onCreatePanelView(featureId); 202 public boolean onPreparePanel(int featureId, View view, Menu menu) { 204 return super.onPreparePanel(featureId, view, menu); 208 public boolean onMenuItemSelected(int featureId, MenuItem item) { 210 return super.onMenuItemSelected(featureId, item); 214 public boolean onMenuOpened(int featureId, Menu menu) { 216 return super.onMenuOpened(featureId, menu) [all...] |
InstrumentationTestActivity.java | 165 public boolean onMenuOpened(int featureId, Menu menu) { 167 return super.onMenuOpened(featureId, menu); 182 public boolean onCreatePanelMenu(int featureId, Menu menu) { 183 return super.onCreatePanelMenu(featureId, menu); 187 public boolean onMenuItemSelected(int featureId, MenuItem item) { 189 return super.onMenuItemSelected(featureId, item);
|
/frameworks/base/core/java/android/view/ |
Window.java | 233 * Instantiate the view to display in the panel for 'featureId'. 237 * @param featureId Which panel is being created. 243 public View onCreatePanelView(int featureId); 246 * Initialize the contents of the menu for panel 'featureId'. This is 255 * @param featureId The panel being created. 261 public boolean onCreatePanelMenu(int featureId, Menu menu); 267 * @param featureId The panel that is being displayed. 277 public boolean onPreparePanel(int featureId, View view, Menu menu); 284 * @param featureId The panel that the menu is in. 289 public boolean onMenuOpened(int featureId, Menu menu) [all...] |
/cts/tests/tests/app/src/android/app/cts/ |
InstrumentationTest.java | 489 public void closePanel(int featureId) { 531 public void openPanel(int featureId, KeyEvent event) { 551 public boolean performPanelIdentifierAction(int featureId, int id, int flags) { 556 public boolean performPanelShortcut(int featureId, int keyCode, 575 public void setChildDrawable(int featureId, Drawable drawable) { 579 public void setChildInt(int featureId, int value) { 595 public void setFeatureDrawable(int featureId, Drawable drawable) { 599 public void setFeatureDrawableAlpha(int featureId, int alpha) { 603 public void setFeatureDrawableResource(int featureId, int resId) { 607 public void setFeatureDrawableUri(int featureId, Uri uri) [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
WindowTest.java | 670 public void openPanel(int featureId, KeyEvent event) { 673 public void closePanel(int featureId) { 676 public void togglePanel(int featureId, KeyEvent event) { 679 public void invalidatePanelMenu(int featureId) { 682 public boolean performPanelShortcut(int featureId, int keyCode, KeyEvent event, int flags) { 686 public boolean performPanelIdentifierAction(int featureId, int id, int flags) { 704 public void setFeatureDrawableResource(int featureId, int resId) { 707 public void setFeatureDrawableUri(int featureId, Uri uri) { 710 public void setFeatureDrawable(int featureId, Drawable drawable) { 713 public void setFeatureDrawableAlpha(int featureId, int alpha) [all...] |
/frameworks/base/core/java/android/app/ |
Dialog.java | 795 public View onCreatePanelView(int featureId) { 802 public boolean onCreatePanelMenu(int featureId, Menu menu) { 803 if (featureId == Window.FEATURE_OPTIONS_PANEL) { 813 public boolean onPreparePanel(int featureId, View view, Menu menu) { 814 if (featureId == Window.FEATURE_OPTIONS_PANEL && menu != null) { 824 public boolean onMenuOpened(int featureId, Menu menu) { 825 if (featureId == Window.FEATURE_ACTION_BAR) { 834 public boolean onMenuItemSelected(int featureId, MenuItem item) { 841 public void onPanelClosed(int featureId, Menu menu) { 842 if (featureId == Window.FEATURE_ACTION_BAR) [all...] |
Activity.java | [all...] |
/packages/apps/Browser/src/com/android/browser/ |
ActivityController.java | 26 boolean onMenuOpened(int featureId, Menu menu);
|
BrowserActivity.java | 146 public boolean onMenuOpened(int featureId, Menu menu) { 147 if (Window.FEATURE_OPTIONS_PANEL == featureId) { 148 mController.onMenuOpened(featureId, menu);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/generators/ |
TestVersionTracker.java | 62 private String featureId; 74 tracker.featureId="org.eclipse.sdk.tests"; 97 parse(buildDirectory+"/features/"+featureId+"/build.xml",new FeatureHandler()); 387 return featureId; 390 public void setFeatureId(String featureId) { 391 this.featureId = featureId;
|
/development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/ |
Notepadv2.java | 76 public boolean onMenuItemSelected(int featureId, MenuItem item) { 83 return super.onMenuItemSelected(featureId, item);
|
/development/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/ |
Notepadv3.java | 76 public boolean onMenuItemSelected(int featureId, MenuItem item) { 83 return super.onMenuItemSelected(featureId, item);
|
/packages/apps/Browser/src/com/android/browser/stub/ |
NullController.java | 41 public boolean onMenuOpened(int featureId, Menu menu) {
|
/frameworks/support/v4/java/android/support/v4/app/ |
FragmentActivity.java | 217 public boolean onCreatePanelMenu(int featureId, Menu menu) { 218 if (featureId == Window.FEATURE_OPTIONS_PANEL) { 219 boolean show = super.onCreatePanelMenu(featureId, menu); 229 return super.onCreatePanelMenu(featureId, menu); 360 public boolean onMenuItemSelected(int featureId, MenuItem item) { 361 if (super.onMenuItemSelected(featureId, item)) { 365 switch (featureId) { 381 public void onPanelClosed(int featureId, Menu menu) { 382 switch (featureId) { 387 super.onPanelClosed(featureId, menu) [all...] |
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/ |
Notepadv2.java | 78 public boolean onMenuItemSelected(int featureId, MenuItem item) { 85 return super.onMenuItemSelected(featureId, item);
|
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/ |
Notepadv3.java | 78 public boolean onMenuItemSelected(int featureId, MenuItem item) { 85 return super.onMenuItemSelected(featureId, item);
|
/frameworks/base/core/java/android/service/dreams/ |
DreamService.java | 239 public View onCreatePanelView(int featureId) { 245 public boolean onCreatePanelMenu(int featureId, Menu menu) { 251 public boolean onPreparePanel(int featureId, View view, Menu menu) { 257 public boolean onMenuOpened(int featureId, Menu menu) { 263 public boolean onMenuItemSelected(int featureId, MenuItem item) { 294 public void onPanelClosed(int featureId, Menu menu) {
|
/external/replicaisland/src/com/replica/replicaisland/ |
LevelSelectActivity.java | 295 public boolean onMenuItemSelected(int featureId, MenuItem item) { 319 return super.onMenuItemSelected(featureId, item);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build_3.6.1.R36x_v20100823/scripts/productBuild/ |
productBuild.xml | 56 featureId="org.eclipse.pde.build.container.feature"
|