Home
last modified time | relevance | path

Searched refs:widgetFrame (Results 1 – 16 of 16) sorted by relevance

/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/handheld/
DRadioButtonPreference.java74 View widgetFrame = holder.findViewById(android.R.id.widget_frame); in onBindViewHolder() local
75 if (itemView.indexOfChild(widgetFrame) != 0) { in onBindViewHolder()
76 widgetFrame.setPaddingRelative(widgetFrame.getPaddingEnd(), widgetFrame.getPaddingTop(), in onBindViewHolder()
77 widgetFrame.getPaddingStart(), widgetFrame.getPaddingBottom()); in onBindViewHolder()
78 itemView.removeView(widgetFrame); in onBindViewHolder()
79 itemView.addView(widgetFrame, 0); in onBindViewHolder()
DHandHeldTwoTargetPreference.java72 View widgetFrame = holder.findViewById(android.R.id.widget_frame); in onBindViewHolder() local
73 ViewGroup widgetFrameParent = (ViewGroup) widgetFrame.getParent(); in onBindViewHolder()
76 widgetFrameParent.removeView(widgetFrame); in onBindViewHolder()
77 itemView.addView(widgetFrame); in onBindViewHolder()
DSettingsButtonPreference.java82 View widgetFrame = holder.findViewById(android.R.id.widget_frame); in onBindViewHolder() local
83 widgetFrame.setPadding(0, 0, 0, 0); in onBindViewHolder()
86 widgetFrame.setVisibility(View.VISIBLE); in onBindViewHolder()
90 widgetFrame.setVisibility(View.GONE); in onBindViewHolder()
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
DApplicationViewHolder.java69 final ViewGroup widgetFrame = view.findViewById(android.R.id.widget_frame); in newView() local
71 if (widgetFrame != null) { in newView()
73 .inflate(R.layout.preference_widget_master_switch, widgetFrame, true); in newView()
80 } else if (widgetFrame != null) { in newView()
81 widgetFrame.setVisibility(View.GONE); in newView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/manageapplications/
DApplicationViewHolder.java69 final ViewGroup widgetFrame = view.findViewById(android.R.id.widget_frame); in newView() local
71 if (widgetFrame != null) { in newView()
73 .inflate(R.layout.preference_widget_master_switch, widgetFrame, true); in newView()
80 } else if (widgetFrame != null) { in newView()
81 widgetFrame.setVisibility(View.GONE); in newView()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DMasterSwitchPreference.java90 protected void onBindWidgetFrame(View widgetFrame) { in onBindWidgetFrame() argument
91 mSwitch = widgetFrame.findViewById(R.id.master_switch); in onBindWidgetFrame()
94 widgetFrame.setOnClickListener(v -> setSwitchChecked(!mIsChecked)); in onBindWidgetFrame()
DTwoActionPreference.java86 View widgetFrame = holder.findViewById(android.R.id.widget_frame); in onBindViewHolder() local
89 onBindWidgetFrame(widgetFrame); in onBindViewHolder()
102 protected abstract void onBindWidgetFrame(View widgetFrame); in onBindWidgetFrame() argument
DButtonPreference.java82 protected void onBindWidgetFrame(View widgetFrame) { in onBindWidgetFrame() argument
83 widgetFrame.setOnClickListener(v -> performButtonClick()); in onBindWidgetFrame()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/auto/
DAutoTwoTargetPreference.java83 FrameLayout widgetFrame = (FrameLayout) holder.findViewById(android.R.id.widget_frame); in onBindViewHolder() local
87 widgetFrame.setVisibility(View.VISIBLE); in onBindViewHolder()
88 widgetFrame.setOnClickListener(v -> mListener.onSecondTargetClick(this)); in onBindViewHolder()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DPowerGaugePreferenceTest.java59 final LinearLayout widgetFrame = mRootView.findViewById(android.R.id.widget_frame); in setUp() local
60 assertThat(widgetFrame).isNotNull(); in setUp()
61 widgetFrame.addView(mWidgetView); in setUp()
/packages/apps/Launcher3/src/com/android/launcher3/settings/
DNotificationDotsPreference.java80 View widgetFrame = holder.findViewById(android.R.id.widget_frame); in onBindViewHolder() local
81 if (widgetFrame != null) { in onBindViewHolder()
82 widgetFrame.setVisibility(mWidgetFrameVisible ? View.VISIBLE : View.GONE); in onBindViewHolder()
/packages/apps/Settings/src/com/android/settings/datausage/
DUnrestrictedDataAccessPreference.java117 final View widgetFrame = holder.findViewById(android.R.id.widget_frame); in onBindViewHolder() local
119 widgetFrame.setVisibility(View.VISIBLE); in onBindViewHolder()
121 widgetFrame.setVisibility( in onBindViewHolder()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DUnrestrictedDataAccessPreference.java117 final View widgetFrame = holder.findViewById(android.R.id.widget_frame); in onBindViewHolder() local
119 widgetFrame.setVisibility(View.VISIBLE); in onBindViewHolder()
121 widgetFrame.setVisibility( in onBindViewHolder()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DButtonPasswordEditTextPreference.java65 View widgetFrame = holder.findViewById(android.R.id.widget_frame); in onBindViewHolder() local
68 widgetFrame.setOnClickListener(v -> performButtonClick()); in onBindViewHolder()
/packages/apps/Settings/tests/robotests/src/com/android/settings/tts/
DTtsEnginePreferenceTest.java60 final ViewGroup widgetFrame = mRootView.findViewById(android.R.id.widget_frame); in setUp() local
61 inflater.inflate(mPreference.getWidgetLayoutResource(), widgetFrame); in setUp() local
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DPermissionControlPreference.java158 View widgetFrame = holder.findViewById(android.R.id.widget_frame); in onBindViewHolder() local
159 ((ImageView) widgetFrame.findViewById(R.id.icon)).setImageDrawable(mWidgetIcon); in onBindViewHolder()