Searched refs:FolderIcon (Results 1 - 15 of 15) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
H A DHotseat.java201 FolderIcon folder = FolderIcon.fromXml(R.layout.folder_icon, launcher,
220 FolderIcon fi = null;
222 if (v instanceof FolderIcon) {
223 fi = (FolderIcon) v;
H A DFolderIcon.java52 public class FolderIcon extends FrameLayout implements FolderListener { class in inherits:FrameLayout,FolderListener
118 public FolderIcon(Context context, AttributeSet attrs) { method in class:FolderIcon
123 public FolderIcon(Context context) { method in class:FolderIcon
139 static FolderIcon fromXml(int resId, Launcher launcher, ViewGroup group,
151 FolderIcon icon = (FolderIcon) LayoutInflater.from(launcher).inflate(resId, group, false);
197 public FolderIcon mFolderIcon = null;
206 public FolderRingAnimator(Launcher launcher, FolderIcon folderIcon) {
375 mLauncher.openFolder(FolderIcon.this);
H A DWorkspace.java68 import com.android.launcher3.FolderIcon.FolderRingAnimator;
238 private FolderIcon mDragOverFolderIcon = null;
1008 if (child instanceof FolderIcon) {
1009 ((FolderIcon) child).setTextVisible(false);
1020 if (child instanceof FolderIcon) {
1021 ((FolderIcon) child).setTextVisible(true);
2550 if (v instanceof FolderIcon) {
2553 if (((FolderIcon) v).getTextVisible()) {
2554 ((FolderIcon) v).setTextVisible(false);
2562 // Restore text visibility of FolderIcon i
[all...]
H A DLauncher.java2326 FolderIcon addFolder(CellLayout layout, long container, final long screenId, int cellX,
2337 FolderIcon newFolder =
2338 FolderIcon.fromXml(R.layout.folder_icon, this, layout, folderInfo, mIconCache);
2456 if (v instanceof FolderIcon) {
2660 * @param v The view that was clicked. Must be an instance of {@link FolderIcon}.
2664 if (!(v instanceof FolderIcon)){
2665 throw new IllegalArgumentException("Input must be a FolderIcon");
2668 FolderIcon folderIcon = (FolderIcon) v;
2872 * This method draws the FolderIcon t
[all...]
H A DFocusHelper.java552 * Private helper method to find the index of the next BubbleTextView or FolderIcon in the
563 if (newV instanceof BubbleTextView || newV instanceof FolderIcon) {
581 * Private helper method to find the next closest BubbleTextView or FolderIcon in the direction
603 (newV instanceof BubbleTextView || newV instanceof FolderIcon)) {
H A DFolder.java88 private FolderIcon mFolderIcon;
328 void setFolderIcon(FolderIcon icon) {
442 * to its associated FolderIcon. This allows for a seamless transition into the expanded state.
H A DDragLayer.java587 } else if (child instanceof FolderIcon) {
H A DCellLayout.java48 import com.android.launcher3.FolderIcon.FolderRingAnimator;
472 if (FolderIcon.HAS_OUTER_RING) {
496 Drawable d = FolderIcon.sSharedFolderLeaveBehind;
/packages/apps/Launcher2/src/com/android/launcher2/
H A DFolderIcon.java51 public class FolderIcon extends LinearLayout implements FolderListener { class in inherits:LinearLayout,FolderListener
102 public FolderIcon(Context context, AttributeSet attrs) { method in class:FolderIcon
107 public FolderIcon(Context context) { method in class:FolderIcon
123 static FolderIcon fromXml(int resId, Launcher launcher, ViewGroup group,
133 FolderIcon icon = (FolderIcon) LayoutInflater.from(launcher).inflate(resId, group, false);
169 public FolderIcon mFolderIcon = null;
180 public FolderRingAnimator(Launcher launcher, FolderIcon folderIcon) {
H A DWorkspace.java57 import com.android.launcher2.FolderIcon.FolderRingAnimator;
200 private FolderIcon mDragOverFolderIcon = null;
525 if (child instanceof FolderIcon) {
526 ((FolderIcon) child).setTextVisible(false);
539 if (child instanceof FolderIcon) {
540 ((FolderIcon) child).setTextVisible(true);
1779 if (v instanceof FolderIcon) {
1782 if (((FolderIcon) v).getTextVisible()) {
1783 ((FolderIcon) v).setTextVisible(false);
1799 // Restore text visibility of FolderIcon i
[all...]
H A DLauncher.java1902 FolderIcon addFolder(CellLayout layout, long container, final int screen, int cellX,
1913 FolderIcon newFolder =
1914 FolderIcon.fromXml(R.layout.folder_icon, this, layout, folderInfo, mIconCache);
2036 if (v instanceof FolderIcon) {
2037 FolderIcon fi = (FolderIcon) v;
2222 private void handleFolderClick(FolderIcon folderIcon) {
2257 * This method draws the FolderIcon to an ImageView and then adds and positions that ImageView
2258 * in the DragLayer in the exact absolute location of the original FolderIcon.
2260 private void copyFolderIconToImage(FolderIcon f
[all...]
H A DFocusHelper.java589 * Private helper method to find the index of the next BubbleTextView or FolderIcon in the
600 if (newV instanceof BubbleTextView || newV instanceof FolderIcon) {
618 * Private helper method to find the next closest BubbleTextView or FolderIcon in the direction
640 (newV instanceof BubbleTextView || newV instanceof FolderIcon)) {
H A DFolder.java79 private FolderIcon mFolderIcon;
300 void setFolderIcon(FolderIcon icon) {
405 * to its associated FolderIcon. This allows for a seamless transition into the expanded state.
H A DDragLayer.java506 } else if (child instanceof FolderIcon) {
H A DCellLayout.java52 import com.android.launcher2.FolderIcon.FolderRingAnimator;
527 Drawable d = FolderIcon.sSharedFolderLeaveBehind;

Completed in 170 milliseconds