/development/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/ |
DynamicListView.java | 201 private void updateNeighborViewsForID(long itemID) { 202 int position = getPositionForID(itemID); 208 /** Retrieves the view in the list corresponding to itemID */ 209 public View getViewForID (long itemID) { 216 if (id == itemID) { 223 /** Retrieves the position in the list corresponding to itemID */ 224 public int getPositionForID (long itemID) { 225 View v = getViewForID(itemID);
|
/external/lzma/CPP/Windows/Control/ |
Window2.cpp | 168 bool CWindow2::OnCommand(int /* code */, int /* itemID */, LPARAM /* lParam */, LRESULT & /* result */)
174 return OnButtonClicked(itemID, (HWND)lParam);
|
/packages/apps/DeskClock/src/com/android/deskclock/actionbarmenu/ |
ActionBarMenuManager.java | 99 final int itemId = item.getItemId(); 100 return mControllers.get(itemId).handleMenuItemClick(item);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/ |
FramedTextButton.java | 61 public void setTextFrom(int itemId) { 62 switch (itemId) {
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
CommonAppTypeParser.java | 55 public CommonAppTypeParser(long itemId, int itemType, Context context) { 56 mItemId = itemId;
|
/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/ |
ListViewRemovalAnimation.java | 185 long itemId = mAdapter.getItemId(position); 186 mItemIdTopMap.put(itemId, child.getTop()); 202 long itemId = mAdapter.getItemId(position); 203 Integer startTop = mItemIdTopMap.get(itemId);
|
/external/skia/src/views/ |
SkOSMenu.cpp | 26 const SkOSMenu::Item* SkOSMenu::getItemByID(int itemID) const { 28 if (itemID == fItems[i]->getID()) 42 void SkOSMenu::assignKeyEquivalentToItem(int itemID, SkUnichar key) { 44 if (itemID == fItems[i]->getID())
|
/external/skia/samplecode/ |
SampleApp.cpp | 897 int itemID; 899 itemID = fAppMenu->appendList("ColorType", "ColorType", sinkID, 0, 901 fAppMenu->assignKeyEquivalentToItem(itemID, 'C'); 903 itemID = fAppMenu->appendList("Device Type", "Device Type", sinkID, 0, 913 fAppMenu->assignKeyEquivalentToItem(itemID, 'd'); 914 itemID = fAppMenu->appendTriState("AA", "AA", sinkID, fAAState); 915 fAppMenu->assignKeyEquivalentToItem(itemID, 'b'); 916 itemID = fAppMenu->appendTriState("LCD", "LCD", sinkID, fLCDState); 917 fAppMenu->assignKeyEquivalentToItem(itemID, 'l'); 918 itemID = fAppMenu->appendList("FilterQuality", "FilterQuality", sinkID, fFilterQualityIndex [all...] |
/external/skia/include/views/ |
SkOSMenu.h | 96 const Item* getItemByID(int itemID) const; 100 * Assign key to the menu item with itemID, will do nothing if there's no 103 void assignKeyEquivalentToItem(int itemID, SkUnichar key);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
mobsync.h | 135 virtual HRESULT WINAPI GetItemObject(REFSYNCMGRITEMID ItemID,REFIID riid,void **ppv) = 0; 136 virtual HRESULT WINAPI ShowProperties(HWND hWndParent,REFSYNCMGRITEMID ItemID) = 0; 152 HRESULT (WINAPI *GetItemObject)(ISyncMgrSynchronize *This,REFSYNCMGRITEMID ItemID,REFIID riid,void **ppv); 153 HRESULT (WINAPI *ShowProperties)(ISyncMgrSynchronize *This,HWND hWndParent,REFSYNCMGRITEMID ItemID); 171 #define ISyncMgrSynchronize_GetItemObject(This,ItemID,riid,ppv) (This)->lpVtbl->GetItemObject(This,ItemID,riid,ppv) 172 #define ISyncMgrSynchronize_ShowProperties(This,hWndParent,ItemID) (This)->lpVtbl->ShowProperties(This,hWndParent,ItemID) 186 HRESULT WINAPI ISyncMgrSynchronize_GetItemObject_Proxy(ISyncMgrSynchronize *This,REFSYNCMGRITEMID ItemID,REFIID riid,void **ppv); 188 HRESULT WINAPI ISyncMgrSynchronize_ShowProperties_Proxy(ISyncMgrSynchronize *This,HWND hWndParent,REFSYNCMGRITEMID ItemID); [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
SearchActivity.java | 278 final int itemId = item.getItemId(); 279 if (itemId == R.id.action_today) { 284 } else if (itemId == R.id.action_search) { 286 } else if (itemId == R.id.action_settings) { 289 } else if (itemId == android.R.id.home) {
|
/frameworks/base/core/java/android/view/ |
Menu.java | 162 * @param itemId Unique item ID. Use {@link #NONE} if you do not need a 169 public MenuItem add(int groupId, int itemId, int order, CharSequence title); 179 * @param itemId Unique item ID. Use {@link #NONE} if you do not need a 186 public MenuItem add(int groupId, int itemId, int order, @StringRes int titleRes); 221 * @param itemId Unique item ID. Use {@link #NONE} if you do not need a 228 SubMenu addSubMenu(final int groupId, final int itemId, int order, final CharSequence title); 237 * @param itemId Unique item ID. Use {@link #NONE} if you do not need a unique ID. 243 SubMenu addSubMenu(int groupId, int itemId, int order, @StringRes int titleRes); 275 * @param itemId Unique item ID. Use {@link #NONE} if you do not need a 296 public int addIntentOptions(int groupId, int itemId, int order [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
GameControllerInput.java | 449 public Item(int itemId, int layoutResourceId) { 450 mItemId = itemId; 479 public Heading(int itemId, String label) { 480 super(itemId, R.layout.game_controller_input_heading); 497 public TextColumn(int itemId, String label) { 498 super(itemId, R.layout.game_controller_input_text_column);
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
SpellCheckersSettings.java | 197 final int itemId = convertSubtypeIndexToDialogItemId(index); 198 items[itemId] = getSpellCheckerSubtypeLabel(currentSci, subtype); 200 checkedItemId = itemId;
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/settings/ |
GeneralPrefsFragment.java | 99 final int itemId = item.getItemId(); 100 if (itemId == R.id.clear_search_history_menu_item) { 103 } else if (itemId == R.id.clear_picture_approvals_menu_item) {
|
/developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/ |
QueueAdapter.java | 72 // If the itemId matches the active Id then use a different icon
|
/developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/ |
QueueAdapter.java | 72 // If the itemId matches the active Id then use a different icon
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
QueueAdapter.java | 72 // If the itemId matches the active Id then use a different icon
|
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/ |
ListViewItemAnimations.java | 270 long itemId = mAdapter.getItemId(position); 272 mItemIdTopMap.put(itemId, child.getTop()); 290 long itemId = mAdapter.getItemId(position); 291 Integer startTop = mItemIdTopMap.get(itemId);
|
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/ |
CompatActionBarNavHandler.java | 65 public boolean onNavigationItemSelected(int itemPosition, long itemId) {
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/ |
ApiBrowser.java | 170 int itemId = item.getItemId(); 171 if (itemId == MenuId.EXPAND_ALL.getId()) { 175 } else if (itemId == MenuId.COLLAPSE_ALL.getId()) { 177 } else if (itemId == MenuId.SEARCH.getId()) {
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
QueueAdapter.java | 74 // If the itemId matches the active Id then use a different icon
|
/frameworks/base/core/java/android/widget/ |
RemoteViewsAdapter.java | 497 long itemId; 499 public RemoteViewsIndexMetaData(RemoteViews v, long itemId) { 500 set(v, itemId); 504 itemId = id; 570 public void insert(int position, RemoteViews v, long itemId, int[] visibleWindow) { 598 metaData.set(v, itemId); 600 mIndexMetaData.put(position, new RemoteViewsIndexMetaData(v, itemId)); [all...] |
/developers/build/prebuilts/gradle/WearDrawers/Wearable/src/main/java/com/example/android/wearable/wear/weardrawers/ |
MainActivity.java | 134 final int itemId = menuItem.getItemId(); 138 switch (itemId) {
|
/developers/samples/android/wearable/wear/WearDrawers/Wearable/src/main/java/com/example/android/wearable/wear/weardrawers/ |
MainActivity.java | 134 final int itemId = menuItem.getItemId(); 138 switch (itemId) {
|