Home
last modified time | relevance | path

Searched refs:isSelectable (Results 1 – 25 of 35) sorted by relevance

12

/packages/apps/Gallery2/src/com/android/photos/views/
DHeaderGridView.java54 public boolean isSelectable; field in HeaderGridView.FixedViewInfo
104 public void addHeaderView(View v, Object data, boolean isSelectable) { in addHeaderView() argument
118 info.isSelectable = isSelectable; in addHeaderView()
264 if (!info.isSelectable) { in areAllListInfosSelectable()
312 && mHeaderViewInfos.get(position / mNumColumns).isSelectable; in isEnabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/
DWifiPrivacyPreferenceControllerTest.java102 assertThat(mDropDownPreference.isSelectable()).isTrue(); in testUpdateState_isNotEphemeralNetwork_shouldBeSelectable()
110 assertThat(mDropDownPreference.isSelectable()).isFalse(); in testUpdateState_isEphemeralNetwork_shouldNotSelectable()
118 assertThat(mDropDownPreference.isSelectable()).isTrue(); in testUpdateState_isNotPasspointNetwork_shouldBeSelectable()
126 assertThat(mDropDownPreference.isSelectable()).isFalse(); in testUpdateState_isPasspointNetwork_shouldNotSelectable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DSeekBarPreferenceTest.java80 assertThat(mSeekBarPreference.isSelectable()).isTrue(); in isSelectable_disabledByAdmin_returnTrue()
95 assertThat(seekBarPreference.isSelectable()).isFalse(); in isSelectable_default_returnFalse()
110 assertThat(seekBarPreference.isSelectable()).isTrue(); in isSelectable_selectableInXml_returnTrue()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DWifiStatusPreferenceControllerTest.java102 assertThat(mPreference.isSelectable()).isFalse(); in updateState_wifiDisabled_isNotSelectable()
148 assertThat(mPreference.isSelectable()).isFalse(); in onWifiStateChanged_disabled()
160 assertThat(mPreference.isSelectable()).isTrue(); in onWifiStateChanged_enabling()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DNotificationsOffPreferenceControllerTest.java108 assertThat(pref.isSelectable()).isFalse(); in testUpdateState_channel()
122 assertThat(pref.isSelectable()).isFalse(); in testUpdateState_channelGroup()
135 assertThat(pref.isSelectable()).isFalse(); in testUpdateState_app()
DDescriptionPreferenceControllerTest.java148 assertFalse(pref.isSelectable()); in testUpdateState_channel()
163 assertFalse(pref.isSelectable()); in testUpdateState_channelGroup()
/packages/apps/Settings/src/com/android/settings/widget/
DSeekBarPreference.java74 final boolean isSelectable = a.getBoolean( in SeekBarPreference()
76 setSelectable(isSelectable); in SeekBarPreference()
102 public boolean isSelectable() { in isSelectable() method in SeekBarPreference
106 return super.isSelectable(); in isSelectable()
/packages/apps/Dialer/java/com/android/dialer/preferredsim/impl/
DPreferredAccountWorkerImpl.java144 if (isSelectable(preferred)) { in usePreferredSim()
160 if (isSelectable(defaultPhoneAccount)) { in useDefaultSim()
174 if (isSelectable(suggestedPhoneAccount)) { in useSuggestedSim()
217 if (isSelectable(phoneAccountHandle)) { in createDialogOptionsBuilder()
400 private boolean isSelectable(PhoneAccountHandle phoneAccountHandle) { in isSelectable() method in PreferredAccountWorkerImpl
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details2/
DWifiPrivacyPreferenceController2Test.java97 assertThat(mDropDownPreference.isSelectable()).isTrue(); in testUpdateState_canSetPrivacy_shouldBeSelectable()
106 assertThat(mDropDownPreference.isSelectable()).isFalse(); in testUpdateState_canNotSetPrivacy_shouldNotSelectable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DUserSettingsTest.java420 assertThat(guestPref.isSelectable()).isEqualTo(true); in updateUserList_existingGuest_shouldAddGuestUserPreference()
439 assertThat(userPref.isSelectable()).isEqualTo(true); in updateUserList_existingSecondaryUser_shouldAddSecondaryUserPreference()
459 assertThat(userPref.isSelectable()).isEqualTo(true); in updateUserList_existingRestrictedUser_shouldAddRestrictedUserPreference()
496 assertThat(userPref.isSelectable()).isEqualTo(true); in updateUserList_uninitializedRestrictedUser_shouldAddUserPreference()
521 assertThat(userPref.isSelectable()).isEqualTo(true); in updateUserList_uninitializedUserAndCanNotSwitchUser_shouldDisablePref()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/
DStorageFileCategoryPreferenceControllerTest.java82 assertThat(mProgressBarPreference.isSelectable()).isFalse(); in onCreate_nonResolvableIntent_notSelectable()
105 assertThat(mProgressBarPreference.isSelectable()).isTrue(); in onCreate_resolvableIntent_selectable()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothNamePreferenceControllerTest.java101 assertThat(mPreference.isSelectable()).isTrue(); in refreshUi_noUserRestrictions_setsSelectable()
111 assertThat(mPreference.isSelectable()).isFalse(); in refreshUi_userHasConfigRestriction_setsNotSelectable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/firmwareversion/
DMainlineModuleVersionPreferenceControllerTest.java123 assertThat(mPreference.isSelectable()).isTrue(); in updateState_canHandleV2Intent_preferenceShouldBeSelectable()
151 assertThat(mPreference.isSelectable()).isTrue(); in updateState_canHandleIntent_preferenceShouldBeSelectable()
/packages/apps/KeyChain/src/com/android/keychain/internal/
DGrantsDatabase.java250 boolean isSelectable = Boolean.parseBoolean(res.getString(0)); in isUserSelectable()
255 return isSelectable; in isUserSelectable()
/packages/apps/KeyChain/robotests/src/com/android/keychain/internal/
DGrantsDatabaseTest.java234 final SQLiteDatabase db, String alias, boolean isSelectable) {
237 values.put(SELECTABLE_IS_SELECTABLE, Boolean.toString(isSelectable));
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/
DResourceWallpaperInfo.java57 public boolean isSelectable() { in isSelectable() method in ResourceWallpaperInfo
DWallpaperTileInfo.java28 public boolean isSelectable() { return false; } in isSelectable() method in WallpaperTileInfo
DFileWallpaperInfo.java88 public boolean isSelectable() { in isSelectable() method in FileWallpaperInfo
DUriWallpaperInfo.java70 public boolean isSelectable() { in isSelectable() method in UriWallpaperInfo
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DAppPrefLoaderTest.java80 assertThat(preference.isSelectable()).isFalse(); in loadInBackground_shouldReturnPreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDeviceNamePreferenceControllerTest.java80 assertThat(mPreference.isSelectable()).isFalse(); in testUpdateDeviceName_showSummaryWithDeviceName()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/
DConnectedUsbDeviceUpdaterTest.java78 assertThat(mDeviceUpdater.mUsbPreference.isSelectable()).isTrue(); in initUsbPreference_preferenceInit()
/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/preferences/
DEmergencyEditTextPreferenceTest.java66 assertThat(mPreference.isSelectable()).isTrue(); in testDefaultProperties()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/location/
DLocationFooterPreferenceControllerTest.java138 assertThat(mGroup.getPreference(0).isSelectable()).isFalse(); in onCreate_injectedFooterIsNotSelectable()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DVolumeSeekBarPreference.java84 public boolean isSelectable() { in isSelectable() method in VolumeSeekBarPreference

12