/developers/samples/android/background/alarms/RepeatingAlarm/Application/src/main/java/com/example/android/repeatingalarm/ |
RepeatingAlarmFragment.java | 42 public boolean onOptionsItemSelected(MenuItem item) { 43 if(item.getItemId() == R.id.sample_action) {
|
/developers/samples/android/input/gestures/BasicGestureDetect/Application/src/main/java/com/example/android/basicgesturedetect/ |
BasicGestureDetectFragment.java | 69 public boolean onOptionsItemSelected(MenuItem item) { 70 if (item.getItemId() == R.id.sample_action) {
|
/developers/samples/android/ui/actionbarcompat/ActionBarCompat-SearchView/src/main/src/com/example/android/actionbarcompat/searchview/ |
AppListFragment.java | 141 final ApplicationItem item = getItem(position); local 145 .setText(item.label); 150 // Check the item's drawable reference to see if it is available already 151 Drawable icon = item.drawable != null ? item.drawable.get() : null; 158 new ApplicationIconTask(imageView).execute(item); 166 * Our model object for each application item. Allows us to load the label async and store the 234 // Check to see that we've been provided one item 236 ApplicationItem item = params[0]; local 239 icon = item.applicationInfo.loadIcon(mPackageManager) [all...] |
/developers/samples/android/ui/transition/AdapterTransition/Application/src/main/java/com/example/android/adaptertransition/ |
AdapterTransitionFragment.java | 126 MenuItem item = menu.findItem(R.id.action_toggle); local 127 if (null != item) { 129 item.setIcon(R.drawable.ic_action_grid); 130 item.setTitle(R.string.show_as_grid); 132 item.setIcon(R.drawable.ic_action_list); 133 item.setTitle(R.string.show_as_list); 139 public boolean onOptionsItemSelected(MenuItem item) { 140 switch (item.getItemId()) {
|
/developers/samples/android/ui/window/BasicImmersiveMode/Application/src/main/java/com/example/android/basicimmersivemode/ |
BasicImmersiveModeFragment.java | 50 public boolean onOptionsItemSelected(MenuItem item) { 51 if (item.getItemId() == R.id.sample_action) {
|
/developers/samples/android/ui/window/ImmersiveMode/Application/src/main/java/com/example/android/immersivemode/ |
ImmersiveModeFragment.java | 51 public boolean onOptionsItemSelected(MenuItem item) { 52 if (item.getItemId() == R.id.sample_action) {
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
ContentBrowserActivity.java | 217 public void onSort(MenuItem item) { 221 public boolean onOptionsItemSelected(MenuItem item) { 222 switch (item.getItemId()) { 225 item.setChecked(true); 229 item.setChecked(true); 232 item.setChecked(!item.isChecked()); 233 mContent.setBaseSystemUiVisibility(item.isChecked()
|
ContentBrowserNavActivity.java | 219 public void onSort(MenuItem item) { 223 public boolean onOptionsItemSelected(MenuItem item) { 224 switch (item.getItemId()) { 227 item.setChecked(true); 231 item.setChecked(true); 234 item.setChecked(!item.isChecked()); 235 mContent.setBaseSystemUiVisibility(item.isChecked()
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
MyRssReader.java | 82 public boolean onOptionsItemSelected(Menu.Item item){ 83 switch (item.getId()) {
|
/development/samples/Support7Demos/src/com/example/android/supportv7/graphics/ |
PaletteActivity.java | 110 public boolean onOptionsItemSelected(MenuItem item) { 111 switch (item.getItemId()) { 114 item.setChecked(true); 118 item.setChecked(true); 122 item.setChecked(true); 126 item.setChecked(true); 130 item.setChecked(true); 134 return super.onOptionsItemSelected(item);
|
/development/samples/browseable/AdapterTransition/src/com.example.android.adaptertransition/ |
AdapterTransitionFragment.java | 126 MenuItem item = menu.findItem(R.id.action_toggle); local 127 if (null != item) { 129 item.setIcon(R.drawable.ic_action_grid); 130 item.setTitle(R.string.show_as_grid); 132 item.setIcon(R.drawable.ic_action_list); 133 item.setTitle(R.string.show_as_list); 139 public boolean onOptionsItemSelected(MenuItem item) { 140 switch (item.getItemId()) {
|
/development/samples/browseable/BasicGestureDetect/src/com.example.android.basicgesturedetect/ |
BasicGestureDetectFragment.java | 69 public boolean onOptionsItemSelected(MenuItem item) { 70 if (item.getItemId() == R.id.sample_action) {
|
/development/samples/browseable/BasicImmersiveMode/src/com.example.android.basicimmersivemode/ |
BasicImmersiveModeFragment.java | 50 public boolean onOptionsItemSelected(MenuItem item) { 51 if (item.getItemId() == R.id.sample_action) {
|
/development/samples/browseable/ImmersiveMode/src/com.example.android.immersivemode/ |
ImmersiveModeFragment.java | 51 public boolean onOptionsItemSelected(MenuItem item) { 52 if (item.getItemId() == R.id.sample_action) {
|
/development/samples/browseable/RepeatingAlarm/src/com.example.android.repeatingalarm/ |
RepeatingAlarmFragment.java | 42 public boolean onOptionsItemSelected(MenuItem item) { 43 if(item.getItemId() == R.id.sample_action) {
|
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/ |
StableArrayAdapter.java | 43 String item = getItem(position); local 44 return mIdMap.get(item);
|
/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/ |
StableArrayAdapter.java | 43 String item = getItem(position); local 44 return mIdMap.get(item);
|
/external/chromium_org/ash/shelf/ |
shelf_window_watcher_item_delegate.cc | 52 ash::ShelfItem item = *(model_->ItemByID(GetShelfIDForWindow(window_))); local 55 &item);
|
/external/chromium_org/base/win/ |
scoped_handle.cc | 41 std::pair<HANDLE, Info> item(handle, handle_info); 42 std::pair<HandleMap::iterator, bool> result = g_handle_map.Get().insert(item);
|
/external/chromium_org/chrome/browser/component_updater/ |
crx_update_item.h | 22 // This is the one and only per-item state structure. Designed to be hosted 25 // is modified as the item is processed by the update pipeline. The expected 123 bool operator()(CrxUpdateItem* item) const { return item->id == id_; }
|
/external/chromium_org/chrome/browser/download/ |
download_test_file_activity_observer.cc | 52 virtual void PromptUserForDownloadPath(content::DownloadItem* item, 62 virtual void OpenDownload(content::DownloadItem* item) OVERRIDE {}
|
/external/chromium_org/chrome/browser/importer/ |
external_process_importer_host.h | 66 // particular source of data (specified by |item|) is under way. 68 void NotifyImportItemStarted(importer::ImportItem item); 69 void NotifyImportItemEnded(importer::ImportItem item);
|
in_process_importer_bridge.h | 65 virtual void NotifyItemStarted(importer::ImportItem item) OVERRIDE; 66 virtual void NotifyItemEnded(importer::ImportItem item) OVERRIDE;
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
sync_app_list_helper.cc | 59 // Note: sync item entries may not exist in verifier, but item lists should 63 LOG(ERROR) << "Model item count: " 77 LOG(ERROR) << "Item(" << i << "): " << item1->ToDebugString() 82 LOG(ERROR) << " Item(" << i << "): " << item1->ToDebugString() 85 LOG(ERROR) << " Item(" << i << "): " << item1->ToDebugString() 88 LOG(ERROR) << " Verifier Item(" << index2 165 AppListItem* item = service->model()->top_level_item_list()->item_at(i); local 166 std::string label = base::StringPrintf("Item(%d): ", static_cast<int>(i)); 167 PrintItem(profile, item, label) [all...] |
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
launcher_context_menu.h | 29 // Context menu shown for a launcher item. 33 // |item| is NULL if the context menu is for the launcher (the user right 36 const ash::ShelfItem* item, 39 // Creates a menu used by item created by ShelfWindowWatcher. 42 ash::ShelfItem* item, 52 // ID of the item we're showing the context menu for. 95 // Does |item_| represent a valid item? See description of constructor for
|