Home
last modified time | relevance | path

Searched refs:previewLayout (Results 1 – 8 of 8) sorted by relevance

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/binder/
DSetWallpaperDialogBinder.kt58 val previewLayout: View = in <lambda>() constant
63 previewLayout, in <lambda>()
72 previewLayout, in <lambda>()
113 previewLayout.requireViewById(screenId.value), in <lambda>()
126 previewLayout: View, in <lambda>()
133 previewLayout.isVisible = true in <lambda>()
136 previewLayout in <lambda>()
152 applicationContext = previewLayout.context.applicationContext, in <lambda>()
169 previewLayout: View, in <lambda>()
177 previewLayout.isVisible = true in <lambda>()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DTextReadingPreviewPreferenceTest.java154 final FrameLayout previewLayout = (FrameLayout) mHolder.itemView; in adjustPaddings_setMinPaddingsLessThanXMLValue_paddingsNotIncreased() local
155 final LinearLayout backgroundView = previewLayout.findViewById(R.id.preview_background); in adjustPaddings_setMinPaddingsLessThanXMLValue_paddingsNotIncreased()
157 final int currentLayoutPaddingStart = previewLayout.getPaddingStart(); in adjustPaddings_setMinPaddingsLessThanXMLValue_paddingsNotIncreased()
163 mTextReadingPreviewPreference.adjustPaddings(previewLayout, backgroundView); in adjustPaddings_setMinPaddingsLessThanXMLValue_paddingsNotIncreased()
165 assertThat(previewLayout.getPaddingStart()).isEqualTo(currentLayoutPaddingStart); in adjustPaddings_setMinPaddingsLessThanXMLValue_paddingsNotIncreased()
173 final FrameLayout previewLayout = (FrameLayout) mHolder.itemView; in adjustPaddings_setMinPaddingsLargerThanXMLValue_paddingsIncreased() local
174 final LinearLayout backgroundView = previewLayout.findViewById(R.id.preview_background); in adjustPaddings_setMinPaddingsLargerThanXMLValue_paddingsIncreased()
176 final int currentLayoutPaddingStart = previewLayout.getPaddingStart(); in adjustPaddings_setMinPaddingsLargerThanXMLValue_paddingsIncreased()
182 mTextReadingPreviewPreference.adjustPaddings(previewLayout, backgroundView); in adjustPaddings_setMinPaddingsLargerThanXMLValue_paddingsIncreased()
184 assertThat(previewLayout.getPaddingStart()).isEqualTo(currentLayoutPaddingStart + 10); in adjustPaddings_setMinPaddingsLargerThanXMLValue_paddingsIncreased()
/packages/apps/Settings/src/com/android/settings/accessibility/
DTextReadingPreviewPreference.java89 FrameLayout previewLayout = (FrameLayout) holder.itemView; in onBindViewHolder() local
90 LinearLayout backgroundView = previewLayout.findViewById(R.id.preview_background); in onBindViewHolder()
91 adjustPaddings(previewLayout, backgroundView); in onBindViewHolder()
116 void adjustPaddings(FrameLayout previewLayout, LinearLayout backgroundView) { in adjustPaddings() argument
117 previewLayout.setPadding( in adjustPaddings()
118 Math.max(previewLayout.getPaddingStart(), mLayoutMinHorizontalPadding), in adjustPaddings()
119 previewLayout.getPaddingTop(), in adjustPaddings()
120 Math.max(previewLayout.getPaddingEnd(), mLayoutMinHorizontalPadding), in adjustPaddings()
121 previewLayout.getPaddingBottom() in adjustPaddings()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/camera2/
DMultiCameraPreviewActivity.java179 LinearLayout previewLayout = (LinearLayout) View.inflate( in addPreviewSurfaceView() local
181 parent.addView(previewLayout, new LinearLayout.LayoutParams( in addPreviewSurfaceView()
187 Button detailsButton = (Button) previewLayout.findViewById(R.id.details_button); in addPreviewSurfaceView()
195 CheckBox selectionCheckBox = (CheckBox) previewLayout.findViewById(R.id.selection_checkbox); in addPreviewSurfaceView()
198 SurfaceView surfaceView = (SurfaceView) previewLayout.findViewById(R.id.preview_surface); in addPreviewSurfaceView()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DWidgetItem.java110 return ATLEAST_S && widgetInfo != null && widgetInfo.previewLayout != Resources.ID_NULL; in hasPreviewLayout()
/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DLauncherAppWidgetInfo.java236 if (ATLEAST_S && providerInfo.previewLayout != Resources.ID_NULL) { in computeWidgetFeatures()
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
DKeyboardView.java301 int previewLayout = 0; in KeyboardView() local
350 if (previewLayout != 0) { in KeyboardView()
351 mPreviewText = (TextView) inflate.inflate(previewLayout, null); in KeyboardView()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetCell.java291 providerInfo.initialLayout = item.widgetInfo.previewLayout; in applyFromCellItem()