Searched refs:FlagOp (Results 1 – 3 of 3) sorted by relevance
46 import com.android.launcher3.util.FlagOp;93 FlagOp flagOp = FlagOp.NO_OP; in execute()111 flagOp = FlagOp.removeFlag(WorkspaceItemInfo.FLAG_DISABLED_NOT_AVAILABLE); in execute()122 flagOp = FlagOp.removeFlag(WorkspaceItemInfo.FLAG_DISABLED_NOT_AVAILABLE); in execute()136 flagOp = FlagOp.addFlag(WorkspaceItemInfo.FLAG_DISABLED_NOT_AVAILABLE); in execute()141 FlagOp.addFlag(WorkspaceItemInfo.FLAG_DISABLED_SUSPENDED) : in execute()142 FlagOp.removeFlag(WorkspaceItemInfo.FLAG_DISABLED_SUSPENDED); in execute()148 ? FlagOp.addFlag(WorkspaceItemInfo.FLAG_DISABLED_QUIET_USER) in execute()149 : FlagOp.removeFlag(WorkspaceItemInfo.FLAG_DISABLED_QUIET_USER); in execute()177 if (mOp == OP_ADD || flagOp != FlagOp.NO_OP) { in execute()
3 public interface FlagOp { interface5 FlagOp NO_OP = i -> i;9 static FlagOp addFlag(int flag) { in addFlag()13 static FlagOp removeFlag(int flag) { in removeFlag()
30 import com.android.launcher3.util.FlagOp;154 public void updateDisabledFlags(ItemInfoMatcher matcher, FlagOp op) { in updateDisabledFlags()