Home
last modified time | relevance | path

Searched refs:DuoTabs (Results 1 – 3 of 3) sorted by relevance

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/ui/binder/
DCustomizationPickerTabsBinder.kt27 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>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DPreviewFragment.java80 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 …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DDuoTabs.java35 public final class DuoTabs extends FrameLayout { class
66 public DuoTabs(@NonNull Context context, @Nullable AttributeSet attrs) { in DuoTabs() method in DuoTabs
69 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.DuoTabs, 0, 0); in DuoTabs()