/external/chromium/chrome/browser/resources/ntp/ |
drag_drop_controller.js | 13 // get / set property containing the item being dragged 16 // get's the item that is under the mouse event |e| 20 // point to a valid place to drop an item 23 // tells the delegate that the dragged item is currently above 27 // tells the delegate that the drag is done. move the item to the 29 // draggedItem was the item being dragged. 99 var item = this.delegate_.getItem(e); 102 // or if the mouse is not above an item. We also bail out if the dragging 105 if (!item || e.button != 0 || this.isDragging()) 108 this.startItem_ = item; [all...] |
/external/emma/core/java12/com/vladium/emma/report/ |
IItemAttribute.java | 45 void format (IItem item, StringBuffer appendTo); 46 boolean passes (IItem item, int criterion); // ideally, criteria should come from a double-dispatched API 94 public void format (final IItem item, final StringBuffer appendTo) 96 appendTo.append (item.getName ()); 99 public boolean passes (final IItem item, final int criterion) 138 public void format (final IItem item, final StringBuffer appendTo) 140 final int n = item.getAggregate (m_numeratorAggregateID); 142 final int d = item.getAggregate (m_denominatorAggregateID); 164 public boolean passes (final IItem item, final int criterion) 166 final int n = item.getAggregate (m_numeratorAggregateID) [all...] |
/external/jmonkeyengine/engine/src/desktop/com/jme3/app/state/ |
VideoRecorderAppState.java | 123 final WorkItem item = freeItems.take(); local 124 usedItems.add(item); 125 item.buffer.clear(); 126 renderer.readFrameBuffer(out, item.buffer); 130 Screenshots.convertScreenShot(item.buffer, item.image); 131 item.data = writer.writeImageToBytes(item.image); 132 while (usedItems.peek() != item) { 135 writer.addImage(item.data) [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
ItemLocationBox.java | 65 public List<Item> items = new LinkedList<Item>(); 76 for (Item item : items) { 77 size += item.getSize(); 93 for (Item item : items) { 94 item.getContent(byteBuffer); 112 items.add(new Item(content)); 149 public List<Item> getItems() [all...] |
/external/skia/include/core/ |
SkTInternalLList.h | 230 for (T* item = iter.init(*this, Iter::kHead_IterStart); NULL != (item = iter.next()); ) { 231 SkASSERT(this->isInList(item)); 232 if (NULL == item->fPrev) { 233 SkASSERT(fHead == item); 235 SkASSERT(item->fPrev->fNext == item); 237 if (NULL == item->fNext) { 238 SkASSERT(fTail == item); 240 SkASSERT(item->fNext->fPrev == item) [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
ListContextMenu.java | 81 view.setText("List item " + mTitles[position]); 99 MenuItem item = menu.add(0, 0, 0, "Really long menu item name"); local 100 item.setTitleCondensed("Long name"); 101 item.setIcon(R.drawable.black_square); 103 SubMenu sm = menu.addSubMenu(0, 0, 0, "The 2nd item, a sub menu").setIcon(R.drawable.black_square_stretchable); 104 item = sm.getItem(); 105 item.setTitleCondensed("Sub menu"); 110 menu.add(0, 0, 0, "Item 3"); 111 menu.add(0, 0, 0, "Item 4") [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
Exchanger.java | 80 * a Node containing both an Item to offer and a "hole" waiting to 231 * Sentinel item representing cancellation of a wait due to 254 public final Object item; field in class:Exchanger.Node 260 * Creates node with given item and empty hole. 261 * @param item the item 263 public Node(Object item) { 264 this.item = item; 304 * @param item the (non-null) item to exchang [all...] |
/packages/apps/Camera/src/com/android/camera/ |
PhotoController.java | 61 PieItem item = makeItem(R.drawable.ic_switch_photo_facing_holo_light); local 62 item.setFixedSlice(FLOAT_PI_DIVIDED_BY_TWO + sweep, sweep); 63 item.setOnClickListener(new OnClickListener() { 65 public void onClick(PieItem item) { 79 mRenderer.addItem(item); 86 public void onClick(PieItem item) { 108 PieItem item = makeItem(R.drawable.ic_settings_holo_light); local 109 item.setFixedSlice(FLOAT_PI_DIVIDED_BY_TWO * 3, sweep); 110 item.setOnClickListener(new OnClickListener() { 112 public void onClick(PieItem item) { [all...] |
PieController.java | 101 PieItem item = makeItem(resid); local 103 item.setFixedSlice(center, sweep); 104 mRenderer.addItem(item); 106 mPreferenceMap.put(pref, item); 116 item.addItem(inner); 120 public void onClick(PieItem item) { 143 PieItem item = mPreferenceMap.get(pref); 160 item.setImageResource(mActivity, iconIds[index]); 163 item.setImageResource(mActivity, pref.getSingleIcon()); 184 PieItem item = mPreferenceMap.get(pref) local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
EditorDraw.java | 97 public boolean onMenuItemClick(MenuItem item) { 99 if (item.getItemId() == R.id.draw_menu_color) { 100 showColorGrid(item); 101 } else if (item.getItemId() == R.id.draw_menu_size) { 102 showSizeDialog(item); 103 } else if (item.getItemId() == R.id.draw_menu_style_brush_marker) { 106 } else if (item.getItemId() == R.id.draw_menu_style_brush_spatter) { 109 } else if (item.getItemId() == R.id.draw_menu_style_line) { 112 } else if (item.getItemId() == R.id.draw_menu_clear) { 124 public void showSizeDialog(final MenuItem item) { [all...] |
/packages/apps/Gallery2/src/com/android/photos/shims/ |
MediaSetLoader.java | 134 public Drawable drawableForItem(Cursor item, Drawable recycle) { 141 int index = item.getInt(AlbumSetLoader.INDEX_ID); 151 public Uri uriForItem(Cursor item) { 152 int index = item.getInt(AlbumSetLoader.INDEX_ID); 158 public ArrayList<Uri> urisForSubItems(Cursor item) { 159 int index = item.getInt(AlbumSetLoader.INDEX_ID); 165 public void consume(int index, MediaItem item) { 166 if (item != null) { 167 result.add(item.getContentUri()); 183 public Object getPathForItem(Cursor item) { [all...] |
/system/core/libdiskconfig/ |
config_mbr.c | 74 struct write_list *item; local 82 if (!(item = alloc_wl(sizeof(struct pc_partition)))) { 91 item->offset = (loff_t)((uint32_t)((uint8_t *)(&mbr->ptable[pnum]))); 94 pentry = (struct pc_partition *) &item->data; 129 return item; 144 struct write_list *item; local 148 if (!(item = alloc_wl(sizeof(struct pc_boot_record)))) { 155 item->offset = ((loff_t)(*lba)) * dinfo->sect_size; 158 ebr = (struct pc_boot_record *) &item->data; 203 return item; [all...] |
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/ |
Notepadv2.java | 54 // Get all of the rows from the database and create the item list 78 public boolean onMenuItemSelected(int featureId, MenuItem item) { 79 switch(item.getItemId()) { 85 return super.onMenuItemSelected(featureId, item); 96 public boolean onContextItemSelected(MenuItem item) { 97 switch(item.getItemId()) { 99 AdapterContextMenuInfo info = (AdapterContextMenuInfo) item.getMenuInfo(); 104 return super.onContextItemSelected(item);
|
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/ |
Notepadv3.java | 54 // Get all of the rows from the database and create the item list 78 public boolean onMenuItemSelected(int featureId, MenuItem item) { 79 switch(item.getItemId()) { 85 return super.onMenuItemSelected(featureId, item); 96 public boolean onContextItemSelected(MenuItem item) { 97 switch(item.getItemId()) { 99 AdapterContextMenuInfo info = (AdapterContextMenuInfo) item.getMenuInfo(); 104 return super.onContextItemSelected(item);
|
/external/webkit/Source/WebCore/history/ |
HistoryItem.cpp | 141 inline HistoryItem::HistoryItem(const HistoryItem& item) 143 , m_urlString(item.m_urlString) 144 , m_originalURLString(item.m_originalURLString) 145 , m_referrer(item.m_referrer) 146 , m_target(item.m_target) 147 , m_parent(item.m_parent) 148 , m_title(item.m_title) 149 , m_displayTitle(item.m_displayTitle) 150 , m_lastVisitedTime(item.m_lastVisitedTime) 151 , m_lastVisitWasHTTPNonGet(item.m_lastVisitWasHTTPNonGet [all...] |
/external/webkit/Source/WebCore/svg/properties/ |
SVGListPropertyTearOff.h | 50 // Lookup item in cache and remove its corresponding wrapper. 54 RefPtr<ListItemTearOff>& item = wrappers.at(i); local 55 if (item != removeItem) 58 item->detachWrapper(); 128 RefPtr<ListItemTearOff>& item = wrappers.at(i); local 129 if (!item) 131 item->setAnimatedProperty(m_animatedProperty.get()); 132 item->setValue(values.at(i)); 173 // If the item lived in our list, adjust the insertion index. 176 // Spec: If the item is already in this list, note that the index of the item to (replace|insert before) is before the (…) [all...] |
/external/webkit/Source/WebKit2/Platform/mac/ |
WorkQueueMac.cpp | 34 void WorkQueue::executeWorkItem(void* item) 37 OwnPtr<WorkItem> workItem(static_cast<WorkItem*>(item)); 48 void WorkQueue::scheduleWork(PassOwnPtr<WorkItem> item) 50 dispatch_async_f(m_dispatchQueue, item.leakPtr(), executeWorkItem); 53 void WorkQueue::scheduleWorkAfterDelay(PassOwnPtr<WorkItem> item, double delay) 57 dispatch_after_f(delayTime, m_dispatchQueue, item.leakPtr(), executeWorkItem); 183 void WorkQueue::scheduleWork(PassOwnPtr<WorkItem> item)
|
/packages/apps/Settings/src/com/android/settings/ |
AppWidgetPickActivity.java | 47 implements AppWidgetLoader.ItemConstructor<PickAdapter.Item>{ 51 List<PickAdapter.Item> mItems; 58 private AppWidgetLoader<PickAdapter.Item> mAppWidgetLoader; 66 mAppWidgetLoader = new AppWidgetLoader<PickAdapter.Item> 90 protected List<PickAdapter.Item> getItems() { 96 public PickAdapter.Item createItem(Context context, AppWidgetProviderInfo info, Bundle extras) { 134 PickAdapter.Item item = new PickAdapter.Item(context, label, icon); local 135 item.packageName = info.provider.getPackageName() 147 PickAdapter.Item item = mItems.get(which); local [all...] |
/packages/apps/Tag/src/com/android/apps/tag/record/ |
RecordUtils.java | 113 View item = inflater.inflate(R.layout.tag_uri, parent, false); local 114 item.setOnClickListener(listener); 115 item.setTag(new ClickInfo(activity, intent)); 117 ImageView icon = (ImageView) item.findViewById(R.id.icon); 120 TextView text = (TextView) item.findViewById(R.id.secondary); 123 text = (TextView) item.findViewById(R.id.primary); 126 return item;
|
/system/core/adb/ |
adb_auth_client.c | 98 struct listnode *item; local 101 item = list_head(list); 102 list_remove(item); 103 free(node_to_item(item, struct adb_public_key, node)); 140 struct listnode *item; local 150 list_for_each(item, &key_list) { 151 key = node_to_item(item, struct adb_public_key, node);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/ |
UiFlagAttributeNode.java | 210 for (TableItem item : mTable.getItems()) { 211 if (item.getChecked()) { 212 results.add((String)item.getData()); 250 TableItem item = new TableItem(mTable, SWT.NONE); local 251 item.setText(name); 252 item.setData(name); 255 item.setChecked(hasName); 270 TableItem item = new TableItem(mTable, SWT.NONE); local 271 item.setText(String.format("%1$s (unknown flag)", name)); 272 item.setData(name) [all...] |
/system/core/libpixelflinger/codeflinger/tinyutils/ |
Vector.h | 91 //! read-only access to an item at a given index 104 //! copy-on write support, grants write access to an item 126 //! insert on onr several items initialized from a prototype item 130 //! pushes an item initialized with its default constructor 132 //! pushes an item on the top of the stack 133 void push(const TYPE& item); 134 //! same as push() but returns the index the item was added at (or an error) 136 //! same as push() but returns the index the item was added at (or an error) 137 ssize_t add(const TYPE& item); 138 //! replace an item with a new one initialized with its default constructo [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
ActionMenuPresenter.java | 157 public View getItemView(MenuItemImpl item, View convertView, ViewGroup parent) { 158 View actionView = item.getActionView(); 159 if (actionView == null || item.hasCollapsibleActionView()) { 163 actionView = super.getItemView(item, convertView, parent); 165 actionView.setVisibility(item.isActionViewExpanded() ? View.GONE : View.VISIBLE); 176 public void bindItemView(MenuItemImpl item, MenuView.ItemView itemView) { 177 itemView.initialize(item, 0); 185 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { 186 return item.isActionButton(); 272 private View findViewForItem(MenuItem item) { 382 MenuItemImpl item = visibleItems.get(i); local 417 MenuItemImpl item = visibleItems.get(i); local 521 MenuItem item = mMenu.findItem(saved.openSubMenuId); local [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/ui/ |
ConfigTab.java | 337 TableItem item = null; local 339 // Set item if the line is not filtered 342 item = new TableItem (this.table, SWT.NONE); 343 item.setText(milestoneName + " - " + buildName); 344 item.setFont(0, this.boldFont); 345 if (!onlyMilestones) item.setBackground(this.blueref); 353 item = new TableItem (this.table, SWT.NONE); 354 item.setText(0, buildName); 372 item.setFont(col, this.boldFont); 377 item.setText(col, "Missing") [all...] |
/libcore/luni/src/test/java/libcore/xml/ |
DomTest.java | 83 + " <item xmlns=\"http://food\" xmlns:a=\"http://addons\">\n" 95 + " </item>\n" 103 private Element item; field in class:DomTest 138 sp = (Entity) doctype.getEntities().item(0); 141 png = (Notation) doctype.getNotations().item(0); 146 item = (Element) menu.getChildNodes().item(1); 147 itemXmlns = item.getAttributeNode("xmlns"); 148 itemXmlnsA = item.getAttributeNode("xmlns:a"); 149 name = (Element) item.getChildNodes().item(1) [all...] |