Lines Matching refs:fi
2203 FolderIcon fi = (FolderIcon) v;
2204 handleFolderClick(fi);
2425 private void copyFolderIconToImage(FolderIcon fi) {
2426 final int width = fi.getMeasuredWidth();
2427 final int height = fi.getMeasuredHeight();
2448 float scale = mDragLayer.getDescendantRectRelativeToSelf(fi, mRectForFolderAnimation);
2456 fi.draw(mFolderIconCanvas);
2458 if (fi.getFolder() != null) {
2459 mFolderIconImageView.setPivotX(fi.getFolder().getPivotXForIconAnimation());
2460 mFolderIconImageView.setPivotY(fi.getFolder().getPivotYForIconAnimation());
2468 if (fi.getFolder() != null) {
2469 fi.getFolder().bringToFront();
2473 private void growAndFadeOutFolderIcon(FolderIcon fi) {
2474 if (fi == null) return;
2479 FolderInfo info = (FolderInfo) fi.getTag();
2481 CellLayout cl = (CellLayout) fi.getParent().getParent();
2482 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) fi.getLayoutParams();
2487 copyFolderIconToImage(fi);
2488 fi.setVisibility(View.INVISIBLE);
2496 private void shrinkAndFadeInFolderIcon(final FolderIcon fi) {
2497 if (fi == null) return;
2502 final CellLayout cl = (CellLayout) fi.getParent().getParent();
2506 copyFolderIconToImage(fi);
2517 fi.setVisibility(View.VISIBLE);
2573 FolderIcon fi = (FolderIcon) mWorkspace.getViewForTag(folder.mInfo);
2574 shrinkAndFadeInFolderIcon(fi);