Home
last modified time | relevance | path

Searched refs:previewContainer (Results 1 – 7 of 7) sorted by relevance

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DLockScreenPreviewer.java63 public LockScreenPreviewer(Lifecycle lifecycle, Context context, ViewGroup previewContainer) { in LockScreenPreviewer() argument
78 View rootView = previewContainer.getRootView(); in LockScreenPreviewer()
83 int cardHeight = previewContainer.getMeasuredHeight(); in LockScreenPreviewer()
84 int cardWidth = previewContainer.getMeasuredWidth(); in LockScreenPreviewer()
101 previewContainer.removeAllViews(); in LockScreenPreviewer()
102 previewContainer.addView( in LockScreenPreviewer()
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/
DThemeOptionPreviewer.java113 ThemeOptionPreviewer(Lifecycle lifecycle, Context context, ViewGroup previewContainer) { in ThemeOptionPreviewer() argument
127 previewContainer.addOnLayoutChangeListener(new View.OnLayoutChangeListener() { in ThemeOptionPreviewer()
143 float scale = (float) previewContainer.getMeasuredHeight() / fullPreviewCardHeight; in ThemeOptionPreviewer()
151 previewContainer.removeAllViews(); in ThemeOptionPreviewer()
153 previewContainer.addView( in ThemeOptionPreviewer()
158 previewContainer.removeOnLayoutChangeListener(this); in ThemeOptionPreviewer()
DCustomThemeNameFragment.java77 ViewGroup previewContainer = view.findViewById(R.id.theme_preview_container); in onCreateView() local
79 previewContainer); in onCreateView()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsRecommendationTableLayout.java133 View previewContainer = widget.findViewById(R.id.widget_preview_container); in addItemCell() local
134 previewContainer.setOnClickListener(mWidgetCellOnClickListener); in addItemCell()
135 previewContainer.setOnLongClickListener(mWidgetCellOnLongClickListener); in addItemCell()
/packages/apps/ThemePicker/src/com/android/customization/picker/grid/
DGridOptionPreviewer.java39 GridOptionPreviewer(GridOptionsManager gridManager, ViewGroup previewContainer) { in GridOptionPreviewer() argument
41 mPreviewContainer = previewContainer; in GridOptionPreviewer()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsBottomSheet.java229 View previewContainer = widget.findViewById(R.id.widget_preview_container); in addItemCell() local
230 previewContainer.setOnClickListener(this); in addItemCell()
231 previewContainer.setOnLongClickListener(this); in addItemCell()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DAddItemActivity.java148 WidgetCellPreview previewContainer = mWidgetCell.findViewById( in onCreate() local
150 previewContainer.setOnTouchListener(this); in onCreate()
151 previewContainer.setOnLongClickListener(this); in onCreate()