コード例 #1
0
ファイル: FolderIcon.java プロジェクト: newstein/tpep
 public void onDragEnter(Object dragInfo) {
   if (!willAcceptItem((ItemInfo) dragInfo)) return;
   CellLayout.LayoutParams lp = (CellLayout.LayoutParams) getLayoutParams();
   CellLayout layout = (CellLayout) getParent().getParent();
   mFolderRingAnimator.setCell(lp.cellX, lp.cellY);
   mFolderRingAnimator.setCellLayout(layout);
   mFolderRingAnimator.animateToAcceptState();
   layout.showFolderAccept(mFolderRingAnimator);
 }