Searched refs:widgetView (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
D | PrimaryCheckBoxPreferenceTest.java | 129 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_primary_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_primary_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 …]
|
D | DisabledCheckBoxPreferenceTest.java | 60 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/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/dashboard/ |
D | PermissionHistoryPreference.java | 150 ImageView widgetView = widgetFrame.findViewById(R.id.icon); in onBindViewHolder() local 151 setInfoIcon(widgetView); in onBindViewHolder() 166 private void setHistoryIcon(ImageView widgetView) { in setHistoryIcon() argument 167 widgetView.setImageDrawable(mWidgetIcon); in setHistoryIcon() 168 widgetView.setOnClickListener(v -> { in setHistoryIcon() 218 private void setInfoIcon(ImageView widgetView) { in setInfoIcon() argument 220 widgetView.setImageDrawable(mWidgetIcon); in setInfoIcon() 221 widgetView.setOnClickListener(v -> { in setInfoIcon()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | PrimaryCheckBoxPreference.java | 65 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/widget/util/ |
D | WidgetSizes.java | 121 public static void updateWidgetSizeRanges(AppWidgetHostView widgetView, Context context, in updateWidgetSizeRanges() argument 124 int widgetId = widgetView.getAppWidgetId(); in updateWidgetSizeRanges() 128 Bundle sizeOptions = getWidgetSizeOptions(context, widgetView.getAppWidgetInfo().provider, in updateWidgetSizeRanges()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | AppWidgetResizeFrame.java | 201 private void setupForWidget(LauncherAppWidgetHostView widgetView, CellLayout cellLayout, in setupForWidget() argument 207 mWidgetView = widgetView; in setupForWidget() 210 widgetView.getAppWidgetInfo(); in setupForWidget() 219 widgetView.getAppWidgetInfo().provider, null); in setupForWidget()
|
/packages/apps/Launcher3/src_plugins/com/android/systemui/plugins/ |
D | FirstScreenWidget.java | 14 void onWidgetUpdated(ViewGroup widgetView); in onWidgetUpdated() argument
|