Home
last modified time | relevance | path

Searched refs:mWidgetFrame (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DAddPreferenceTest.java46 private View mWidgetFrame; field in AddPreferenceTest
57 mWidgetFrame = view.findViewById(android.R.id.widget_frame); in setUp()
66 assertThat(mWidgetFrame.getVisibility()).isEqualTo(View.GONE); in onBindViewHolder_noListener_addButtonNotVisible()
74 assertThat(mWidgetFrame.getVisibility()).isEqualTo(View.VISIBLE); in onBindViewHolder_hasListener_addButtonVisible()
81 assertThat(mWidgetFrame.getVisibility()).isEqualTo(View.GONE); in setOnAddClickListener_listenerAddedAfterBinding_addButtonBecomesVisible()
85 assertThat(mWidgetFrame.getVisibility()).isEqualTo(View.VISIBLE); in setOnAddClickListener_listenerAddedAfterBinding_addButtonBecomesVisible()
94 assertThat(mWidgetFrame.getVisibility()).isEqualTo(View.VISIBLE); in setOnAddClickListener_listenerRemovedAfterBinding_addButtonNotVisible()
98 assertThat(mWidgetFrame.getVisibility()).isEqualTo(View.GONE); in setOnAddClickListener_listenerRemovedAfterBinding_addButtonNotVisible()
105 assertThat(mWidgetFrame.getVisibility()).isEqualTo(View.GONE); in setOnAddClickListener_listenerAddedAndRemovedAfterBinding_addButtonNotVisible()
109 assertThat(mWidgetFrame.getVisibility()).isEqualTo(View.VISIBLE); in setOnAddClickListener_listenerAddedAndRemovedAfterBinding_addButtonNotVisible()
[all …]
/packages/apps/Settings/src/com/android/settings/widget/
DAddPreference.java36 private View mWidgetFrame; field in AddPreference
52 if (mWidgetFrame != null) { in setOnAddClickListener()
53 mWidgetFrame.setVisibility(shouldHideSecondTarget() ? View.GONE : View.VISIBLE); in setOnAddClickListener()
76 mWidgetFrame = holder.findViewById(android.R.id.widget_frame); in onBindViewHolder()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DAddPreference.java36 private View mWidgetFrame; field in AddPreference
52 if (mWidgetFrame != null) { in setOnAddClickListener()
53 mWidgetFrame.setVisibility(shouldHideSecondTarget() ? View.GONE : View.VISIBLE); in setOnAddClickListener()
76 mWidgetFrame = holder.findViewById(android.R.id.widget_frame); in onBindViewHolder()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DAppPermissionFragment.java99 private @NonNull ViewGroup mWidgetFrame; field in AppPermissionFragment
242 mWidgetFrame = root.requireViewById(R.id.widget_frame); in onCreateView()
416 mWidgetFrame.setVisibility(View.GONE); in updateButtons()
462 mWidgetFrame.setOnClickListener(v -> in updateButtons()
473 mWidgetFrame.setOnClickListener(v -> showAllPermissions(mGroup.getName())); in updateButtons()
543 mWidgetFrame.removeAllViews(); in showRightIcon()
546 mWidgetFrame.addView(imageView); in showRightIcon()
547 mWidgetFrame.setVisibility(View.VISIBLE); in showRightIcon()