Home
last modified time | relevance | path

Searched refs:mIsChecked (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/
DWifiHotspotSpeedViewModelTest.java220 mViewModel.mSpeedInfo2g.mIsChecked = false; in onSpeedTypeChanged_toSpeed2g_setLiveData2gChecked()
225 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_2GHZ).mIsChecked).isTrue(); in onSpeedTypeChanged_toSpeed2g_setLiveData2gChecked()
226 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_5GHZ).mIsChecked).isFalse(); in onSpeedTypeChanged_toSpeed2g_setLiveData2gChecked()
227 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_2GHZ_5GHZ).mIsChecked).isFalse(); in onSpeedTypeChanged_toSpeed2g_setLiveData2gChecked()
228 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_6GHZ).mIsChecked).isFalse(); in onSpeedTypeChanged_toSpeed2g_setLiveData2gChecked()
234 mViewModel.mSpeedInfo5g.mIsChecked = false; in onSpeedTypeChanged_toSpeed5g_setLiveData5gChecked()
239 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_2GHZ).mIsChecked).isFalse(); in onSpeedTypeChanged_toSpeed5g_setLiveData5gChecked()
240 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_5GHZ).mIsChecked).isTrue(); in onSpeedTypeChanged_toSpeed5g_setLiveData5gChecked()
241 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_2GHZ_5GHZ).mIsChecked).isFalse(); in onSpeedTypeChanged_toSpeed5g_setLiveData5gChecked()
242 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_6GHZ).mIsChecked).isFalse(); in onSpeedTypeChanged_toSpeed5g_setLiveData5gChecked()
[all …]
DWifiHotspotSecurityViewModelTest.java198 assertThat(mViewModel.mViewItemMap.get(SECURITY_TYPE_WPA3_SAE).mIsChecked) in assertItemChecked()
200 assertThat(mViewModel.mViewItemMap.get(SECURITY_TYPE_WPA3_SAE_TRANSITION).mIsChecked) in assertItemChecked()
202 assertThat(mViewModel.mViewItemMap.get(SECURITY_TYPE_WPA2_PSK).mIsChecked) in assertItemChecked()
204 assertThat(mViewModel.mViewItemMap.get(SECURITY_TYPE_OPEN).mIsChecked) in assertItemChecked()
DWifiHotspotSecuritySettingsTest.java98 mViewItemWpa3.mIsChecked = true; in onViewItemListDataChanged_checkedWpa3_setViewItemCorrectly()
107 mViewItemWpa2Wpa3.mIsChecked = true; in onViewItemListDataChanged_checkedWpa2Wpa3_setViewItemCorrectly()
116 mViewItemWpa2.mIsChecked = true; in onViewItemListDataChanged_checkedWpa2_setViewItemCorrectly()
125 mViewItemNone.mIsChecked = true; in onViewItemListDataChanged_checkedNone_setViewItemCorrectly()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapSettingsAdapter.java130 child.mIsChecked; // needed to prevent updates on UI redraw in getChildView()
131 child.mIsChecked = isChecked; in getChildView()
141 if (!siblings.mIsChecked) { in getChildView()
155 child.mIsChecked = false; in getChildView()
158 parentGroup.mIsChecked = true; in getChildView()
168 if (parentGroup.mIsChecked) { in getChildView()
169 parentGroup.mIsChecked = false; in getChildView()
181 if (child.mIsChecked != oldIsChecked) { in getChildView()
187 holder.cb.setChecked(child.mIsChecked); in getChildView()
258 boolean oldIsChecked = children.mIsChecked; in getGroupView()
[all …]
DBluetoothMapAccountItem.java28 protected boolean mIsChecked; field in BluetoothMapAccountItem
134 if (other.mIsChecked != this.mIsChecked) { in compareTo()
135 Log.v(TAG, "Wrong isChecked : " + this.mIsChecked + " vs " + other.mIsChecked); in compareTo()
DBluetoothMapAccountLoader.java111 app.mIsChecked = true; in parsePackages()
113 if (!acc.mIsChecked) { in parsePackages()
114 app.mIsChecked = false; in parsePackages()
257 child.mIsChecked = (c.getInt(exposeIndex) != 0); in parseAccounts()
258 child.mIsChecked = true; // TODO: Revert when this works in parseAccounts()
261 if (child.mIsChecked) { in parseAccounts()
DBluetoothMapAppObserver.java108 if (!newAcc.getName().equals(oldAcc.getName()) && newAcc.mIsChecked) { in handleAccountChanges()
114 if (newAcc.mIsChecked != oldAcc.mIsChecked) { in handleAccountChanges()
116 if (newAcc.mIsChecked) { in handleAccountChanges()
369 if (acc.mIsChecked) { in getEnabledAccountItems()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DToggleButtonActionItem.java40 private boolean mIsChecked = true; field in ToggleButtonActionItem
69 toggleButton.setChecked(mIsChecked); in bindViewHolder()
75 toggleButton.setChecked(mIsChecked); in bindViewHolder()
103 return mIsChecked; in isChecked()
110 if (checked != mIsChecked) { in setChecked()
111 mIsChecked = checked; in setChecked()
203 mIsChecked = !mIsChecked; in onClick()
204 mOnClickListener.accept(mIsChecked); in onClick()
/packages/apps/Car/systemlibs/car-qc-lib/src/com/android/car/qc/
DQCTile.java36 private final boolean mIsChecked; field in QCTile
47 mIsChecked = isChecked; in QCTile()
57 mIsChecked = in.readBoolean(); in QCTile()
77 dest.writeBoolean(mIsChecked); in writeToParcel()
108 return mIsChecked; in isChecked()
141 private boolean mIsChecked; field in QCTile.Builder
154 mIsChecked = checked; in setChecked()
218 return new QCTile(mIsChecked, mIsEnabled, mIsAvailable, mIsClickableWhileDisabled, in build()
DQCActionItem.java32 private final boolean mIsChecked; field in QCActionItem
45 mIsChecked = isChecked; in QCActionItem()
56 mIsChecked = in.readBoolean(); in QCActionItem()
80 dest.writeBoolean(mIsChecked); in writeToParcel()
116 return mIsChecked; in isChecked()
154 private boolean mIsChecked; field in QCActionItem.Builder
175 mIsChecked = checked; in setChecked()
257 return new QCActionItem(mType, mIsChecked, mIsEnabled, mIsAvailable, mIsClickable, in build()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
DMtpThumbnailTileView.java38 private boolean mIsChecked; field in MtpThumbnailTileView
89 return mIsChecked; in isChecked()
94 if (mIsChecked != checked) { in setChecked()
95 mIsChecked = checked; in setChecked()
102 setChecked(!mIsChecked); in toggle()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiHotspotSpeedViewModel.java110 mSpeedInfo2g.mIsChecked = speedType.equals(SPEED_2GHZ); in onSpeedTypeChanged()
111 mSpeedInfo5g.mIsChecked = speedType.equals(SPEED_5GHZ); in onSpeedTypeChanged()
112 mSpeedInfo2g5g.mIsChecked = speedType.equals(SPEED_2GHZ_5GHZ); in onSpeedTypeChanged()
113 mSpeedInfo6g.mIsChecked = speedType.equals(SPEED_6GHZ); in onSpeedTypeChanged()
157 Boolean mIsChecked; field in WifiHotspotSpeedViewModel.SpeedInfo
163 this.mIsChecked = isChecked; in SpeedInfo()
171 .append("isChecked:").append(mIsChecked) in toString()
DWifiTetherMaximizeCompatibilityPreferenceController.java39 private boolean mIsChecked; field in WifiTetherMaximizeCompatibilityPreferenceController
53 mIsChecked = isMaximizeCompatibilityEnabled(); in WifiTetherMaximizeCompatibilityPreferenceController()
75 ((TwoStatePreference) mPreference).setChecked(mIsChecked); in updateDisplay()
83 mIsChecked = (Boolean) newValue; in onPreferenceChange()
135 final boolean enabled = mIsChecked; in setupMaximizeCompatibility()
DWifiHotspotSecurityViewModel.java83 entry.getValue().mIsChecked = entry.getKey().equals(securityType); in onSecurityTypeChanged()
144 boolean mIsChecked; field in WifiHotspotSecurityViewModel.ViewItem
155 .append(",IsChecked:").append(mIsChecked) in toString()
DWifiHotspotSecuritySettings.java87 if (preference.isChecked() != viewItem.mIsChecked) { in onViewItemListDataChanged()
88 preference.setChecked(viewItem.mIsChecked); in onViewItemListDataChanged()
DWifiHotspotSpeedSettings.java116 radioButton.setChecked(speedInfo.mIsChecked); in onSpeedInfoMapDataChanged()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DRadioButtonPreference.java32 private boolean mIsChecked = false; field in RadioButtonPreference
44 rb.setChecked(mIsChecked); in onBindViewHolder()
55 mIsChecked = isChecked; in setChecked()
58 .setChecked(mIsChecked); in setChecked()
/packages/apps/Settings/src/com/android/settings/applications/intentpicker/
DSupportedLinkWrapper.java41 private boolean mIsChecked; field in SupportedLinkWrapper
48 mIsChecked = false; in SupportedLinkWrapper()
106 return mIsChecked; in isChecked()
111 mIsChecked = isChecked; in setChecked()
/packages/apps/Settings/src/com/android/settings/network/apn/
DApnPreference.java49 private boolean mIsChecked = false; field in ApnPreference
97 rb.setChecked(mIsChecked); in onBindViewHolder()
109 mIsChecked = isChecked; in setIsChecked()
112 mRadioButton.setChecked(mIsChecked); in setIsChecked()
/packages/apps/Settings/src/com/android/settings/widget/
DTwoStateButtonPreference.java37 private boolean mIsChecked; field in TwoStateButtonPreference
78 mIsChecked = checked; in setChecked()
90 return mIsChecked; in isChecked()
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DPairedBluetoothDevices.java273 phoneState.mIsClickableWhileDisabled, phoneState.mIsChecked); in createPhoneButton()
285 mediaState.mIsClickableWhileDisabled, mediaState.mIsChecked); in createMediaButton()
341 final boolean mIsChecked; field in PairedBluetoothDevices.BluetoothProfileToggleState
348 mIsChecked = isChecked; in BluetoothProfileToggleState()