Searched refs:DuoTabs (Results 1 – 3 of 3) sorted by relevance
27 import com.android.wallpaper.widget.DuoTabs in <lambda>()39 val tabs: DuoTabs = view.requireViewById(R.id.duo_tabs) in <lambda>()57 lockScreenTabViewModel.isSelected -> DuoTabs.TAB_PRIMARY in <lambda>()58 else -> DuoTabs.TAB_SECONDARY in <lambda>()63 DuoTabs.TAB_PRIMARY -> in <lambda>()65 DuoTabs.TAB_SECONDARY -> in <lambda>()
80 import com.android.wallpaper.widget.DuoTabs;142 private DuoTabs mOverlayTabs;143 private @DuoTabs.Tab int mInitSelectedTab;232 mInitSelectedTab = mIsViewAsHome ? DuoTabs.TAB_SECONDARY : DuoTabs.TAB_PRIMARY; in onCreate()523 private void updateScreenPreviewOverlay(@DuoTabs.Tab int tab) {526 tab == DuoTabs.TAB_SECONDARY ? View.VISIBLE : View.INVISIBLE);527 mWorkspaceSurface.setZOrderMediaOverlay(tab == DuoTabs.TAB_SECONDARY);531 tab == DuoTabs.TAB_PRIMARY ? View.VISIBLE : View.INVISIBLE);532 mLockSurface.setZOrderMediaOverlay(tab == DuoTabs.TAB_PRIMARY);587 boolean isLockSelected = mOverlayTabs.getSelectedTab() == DuoTabs.TAB_PRIMARY;[all …]
35 public final class DuoTabs extends FrameLayout { class66 public DuoTabs(@NonNull Context context, @Nullable AttributeSet attrs) { in DuoTabs() method in DuoTabs69 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.DuoTabs, 0, 0); in DuoTabs()