Lines Matching refs:item
79 // Flag whether the folder should open itself when an item is dragged over is enabled.
82 // The degree to which the item in the back of the stack is scaled [0...1]
323 private boolean willAcceptItem(ItemInfo item) {
324 final int itemType = item.itemType;
327 !mFolder.isFull() && item != mInfo && !mInfo.opened);
331 final ItemInfo item = (ItemInfo) dragInfo;
332 return !mFolder.isDestroyed() && willAcceptItem(item);
335 public void addItem(ShortcutInfo item) {
336 mInfo.add(item);
364 ShortcutInfo item;
367 item = ((AppInfo) mDragInfo).makeShortcut();
368 item.spanX = 1;
369 item.spanY = 1;
372 item = (ShortcutInfo) mDragInfo;
374 mFolder.beginExternalDrag(item);
388 // This will animate the first item from it's position as an icon into its
389 // position as the first item in the preview
402 // This will animate the first item from it's position as an icon into its
403 // position as the first item in the preview
417 private void onDrop(final ShortcutInfo item, DragView animateView, Rect finalRect,
420 item.cellX = -1;
421 item.cellY = -1;
462 addItem(item);
463 mHiddenItems.add(item);
464 mFolder.hideItem(item);
467 mHiddenItems.remove(item);
468 mFolder.showItem(item);
473 addItem(item);
478 ShortcutInfo item;
481 item = ((AppInfo) d.dragInfo).makeShortcut();
483 item = (ShortcutInfo) d.dragInfo;
486 onDrop(item, d.dragView, null, 1.0f, mInfo.contents.size(), d.postAnimationRunnable, d);
700 public void onAdd(ShortcutInfo item) {
705 public void onRemove(ShortcutInfo item) {