Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DNotificationAppPreferenceTest.java65 final LinearLayout widgetView = holder.itemView.findViewById(android.R.id.widget_frame); in setChecked_shouldUpdateButtonCheckedState() local
66 inflater.inflate(R.layout.preference_widget_master_switch, widgetView, true); in setChecked_shouldUpdateButtonCheckedState()
83 final LinearLayout widgetView = holder.itemView.findViewById(android.R.id.widget_frame); in setSwitchEnabled_shouldUpdateButtonEnabledState() local
84 inflater.inflate(R.layout.preference_widget_master_switch, widgetView, true); in setSwitchEnabled_shouldUpdateButtonEnabledState()
101 final LinearLayout widgetView = holder.itemView.findViewById(android.R.id.widget_frame); in setSwitchEnabled_shouldUpdateButtonEnabledState_beforeViewBound() local
102 inflater.inflate(R.layout.preference_widget_master_switch, widgetView, true); in setSwitchEnabled_shouldUpdateButtonEnabledState_beforeViewBound()
116 final LinearLayout widgetView = holder.itemView.findViewById(android.R.id.widget_frame); in clickWidgetView_shouldToggleButton() local
117 assertThat(widgetView).isNotNull(); in clickWidgetView_shouldToggleButton()
119 inflater.inflate(R.layout.preference_widget_master_switch, widgetView, true); in clickWidgetView_shouldToggleButton()
123 widgetView.performClick(); in clickWidgetView_shouldToggleButton()
[all …]
DZenCustomRadioButtonPreferenceTest.java99 final View widgetView = holder.findViewById(android.R.id.widget_frame); in clickWidgetView_shouldNotifyWidgetClicked() local
106 widgetView.performClick(); in clickWidgetView_shouldNotifyWidgetClicked()
/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 …]
DMasterSwitchPreferenceTest.java111 final LinearLayout widgetView = holder.itemView.findViewById(android.R.id.widget_frame); in clickWidgetView_shouldToggleButton() local
112 assertThat(widgetView).isNotNull(); in clickWidgetView_shouldToggleButton()
114 inflater.inflate(R.layout.preference_widget_master_switch, widgetView, true); in clickWidgetView_shouldToggleButton()
118 widgetView.performClick(); in clickWidgetView_shouldToggleButton()
121 widgetView.performClick(); in clickWidgetView_shouldToggleButton()
131 final LinearLayout widgetView = holder.itemView.findViewById(android.R.id.widget_frame); in clickWidgetView_shouldNotToggleButtonIfDisabled() local
132 assertThat(widgetView).isNotNull(); in clickWidgetView_shouldNotToggleButtonIfDisabled()
134 inflater.inflate(R.layout.preference_widget_master_switch, widgetView, true); in clickWidgetView_shouldNotToggleButtonIfDisabled()
139 widgetView.performClick(); in clickWidgetView_shouldNotToggleButtonIfDisabled()
148 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/apps/Settings/src/com/android/settings/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/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/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()
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()
/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/Launcher3/src/com/android/launcher3/
DAppWidgetResizeFrame.java157 private void setupForWidget(LauncherAppWidgetHostView widgetView, CellLayout cellLayout, in setupForWidget() argument
160 mWidgetView = widgetView; in setupForWidget()
162 widgetView.getAppWidgetInfo(); in setupForWidget()
170 widgetView.getAppWidgetInfo().provider, null); in setupForWidget()
347 static void updateWidgetSizeRanges(AppWidgetHostView widgetView, Launcher launcher, in updateWidgetSizeRanges() argument
350 widgetView.updateAppWidgetSize(null, sTmpRect.left, sTmpRect.top, in updateWidgetSizeRanges()
/packages/apps/Launcher3/src_plugins/com/android/systemui/plugins/
DFirstScreenWidget.java14 void onWidgetUpdated(ViewGroup widgetView); in onWidgetUpdated() argument