Searched refs:mWidgetFrame (Results 1 – 4 of 4) sorted by relevance
46 private View mWidgetFrame; field in AddPreferenceTest57 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 …]
36 private View mWidgetFrame; field in AddPreference52 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()
99 private @NonNull ViewGroup mWidgetFrame; field in AppPermissionFragment242 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()