Home
last modified time | relevance | path

Searched refs:widgetView (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DMasterCheckBoxPreferenceTest.java129 final LinearLayout widgetView = holder.itemView.findViewById(android.R.id.widget_frame); in clickWidgetView_shouldToggleCheckBox() local
130 assertThat(widgetView).isNotNull(); in clickWidgetView_shouldToggleCheckBox()
132 inflater.inflate(R.layout.preference_widget_master_checkbox, widgetView, true); in clickWidgetView_shouldToggleCheckBox()
136 widgetView.performClick(); in clickWidgetView_shouldToggleCheckBox()
139 widgetView.performClick(); in clickWidgetView_shouldToggleCheckBox()
148 final LinearLayout widgetView = holder.itemView.findViewById(android.R.id.widget_frame); in clickWidgetView_shouldNotToggleCheckBoxIfDisabled() local
149 assertThat(widgetView).isNotNull(); in clickWidgetView_shouldNotToggleCheckBoxIfDisabled()
151 inflater.inflate(R.layout.preference_widget_master_checkbox, widgetView, true); in clickWidgetView_shouldNotToggleCheckBoxIfDisabled()
156 widgetView.performClick(); in clickWidgetView_shouldNotToggleCheckBoxIfDisabled()
164 final View widgetView = holder.findViewById(android.R.id.widget_frame); in clickWidgetView_shouldNotifyPreferenceChanged() local
[all …]
DDisabledCheckBoxPreferenceTest.java60 final LinearLayout widgetView = mHolder.itemView.findViewById(android.R.id.widget_frame); in inflatePreference() local
61 assertThat(widgetView).isNotNull(); in inflatePreference()
62 inflater.inflate(R.layout.preference_widget_checkbox, widgetView, true); in inflatePreference()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DMasterSwitchPreference.java66 final View widgetView = holder.findViewById(android.R.id.widget_frame); in onBindViewHolder() local
67 if (widgetView != null) { in onBindViewHolder()
68 widgetView.setOnClickListener(new OnClickListener() { in onBindViewHolder()
DMasterCheckBoxPreference.java65 final View widgetView = holder.findViewById(android.R.id.widget_frame); in onBindViewHolder() local
66 if (widgetView != null) { in onBindViewHolder()
67 widgetView.setOnClickListener(new OnClickListener() { in onBindViewHolder()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DNotificationAppPreference.java64 final View widgetView = view.findViewById(android.R.id.widget_frame); in onBindViewHolder() local
65 if (widgetView != null) { in onBindViewHolder()
66 widgetView.setOnClickListener(new View.OnClickListener() { in onBindViewHolder()
/packages/apps/Settings/src/com/android/settings/widget/
DMasterCheckBoxPreference.java65 final View widgetView = holder.findViewById(android.R.id.widget_frame); in onBindViewHolder() local
66 if (widgetView != null) { in onBindViewHolder()
67 widgetView.setOnClickListener(new OnClickListener() { in onBindViewHolder()
/packages/apps/Launcher3/src/com/android/launcher3/
DAppWidgetResizeFrame.java163 private void setupForWidget(LauncherAppWidgetHostView widgetView, CellLayout cellLayout, in setupForWidget() argument
166 mWidgetView = widgetView; in setupForWidget()
168 widgetView.getAppWidgetInfo(); in setupForWidget()
176 widgetView.getAppWidgetInfo().provider, null); in setupForWidget()
353 public static void updateWidgetSizeRanges(AppWidgetHostView widgetView, Launcher launcher, in updateWidgetSizeRanges() argument
356 widgetView.updateAppWidgetSize(null, sTmpRect.left, sTmpRect.top, in updateWidgetSizeRanges()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenCustomRadioButtonPreferenceTest.java100 final View widgetView = holder.findViewById(android.R.id.widget_frame); in clickWidgetView_shouldNotifyWidgetClicked() local
107 widgetView.performClick(); in clickWidgetView_shouldNotifyWidgetClicked()
/packages/apps/Launcher3/src_plugins/com/android/systemui/plugins/
DFirstScreenWidget.java14 void onWidgetUpdated(ViewGroup widgetView); in onWidgetUpdated() argument