Lines Matching refs:fi

3033     private void copyFolderIconToImage(FolderIcon fi) {  in copyFolderIconToImage()  argument
3034 final int width = fi.getMeasuredWidth(); in copyFolderIconToImage()
3035 final int height = fi.getMeasuredHeight(); in copyFolderIconToImage()
3056 float scale = mDragLayer.getDescendantRectRelativeToSelf(fi, mRectForFolderAnimation); in copyFolderIconToImage()
3064 fi.draw(mFolderIconCanvas); in copyFolderIconToImage()
3066 if (fi.getFolder() != null) { in copyFolderIconToImage()
3067 mFolderIconImageView.setPivotX(fi.getFolder().getPivotXForIconAnimation()); in copyFolderIconToImage()
3068 mFolderIconImageView.setPivotY(fi.getFolder().getPivotYForIconAnimation()); in copyFolderIconToImage()
3076 if (fi.getFolder() != null) { in copyFolderIconToImage()
3077 fi.getFolder().bringToFront(); in copyFolderIconToImage()
3081 private void growAndFadeOutFolderIcon(FolderIcon fi) { in growAndFadeOutFolderIcon() argument
3082 if (fi == null) return; in growAndFadeOutFolderIcon()
3087 FolderInfo info = (FolderInfo) fi.getTag(); in growAndFadeOutFolderIcon()
3089 CellLayout cl = (CellLayout) fi.getParent().getParent(); in growAndFadeOutFolderIcon()
3090 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) fi.getLayoutParams(); in growAndFadeOutFolderIcon()
3095 copyFolderIconToImage(fi); in growAndFadeOutFolderIcon()
3096 fi.setVisibility(View.INVISIBLE); in growAndFadeOutFolderIcon()
3107 private void shrinkAndFadeInFolderIcon(final FolderIcon fi, boolean animate) { in shrinkAndFadeInFolderIcon() argument
3108 if (fi == null) return; in shrinkAndFadeInFolderIcon()
3113 final CellLayout cl = (CellLayout) fi.getParent().getParent(); in shrinkAndFadeInFolderIcon()
3117 copyFolderIconToImage(fi); in shrinkAndFadeInFolderIcon()
3128 fi.setVisibility(View.VISIBLE); in shrinkAndFadeInFolderIcon()
3197 FolderIcon fi = (FolderIcon) mWorkspace.getViewForTag(folder.mInfo); in closeFolder() local
3198 shrinkAndFadeInFolderIcon(fi, animate); in closeFolder()
3199 if (fi != null) { in closeFolder()
3200 ((CellLayout.LayoutParams) fi.getLayoutParams()).canReorder = true; in closeFolder()