Searched refs:isEnabled (Results 1 – 25 of 40) sorted by relevance
12
51 mBtWasEnabled = mAdapter.isEnabled(); in setUp()55 if (mBtWasEnabled != mAdapter.isEnabled()) { in tearDown()138 assertFalse(mAdapter.isEnabled()); in disable()143 assertTrue(mAdapter.isEnabled()); in disable()151 assertFalse(mAdapter.isEnabled()); in disable()172 assertTrue(mAdapter.isEnabled()); in enable()177 assertFalse(mAdapter.isEnabled()); in enable()185 assertTrue(mAdapter.isEnabled()); in enable()
145 assertTrue(tabWidget.isEnabled()); in testSetEnabled()146 assertTrue(tabWidget.getChildAt(0).isEnabled()); in testSetEnabled()147 assertTrue(tabWidget.getChildAt(1).isEnabled()); in testSetEnabled()150 assertFalse(tabWidget.isEnabled()); in testSetEnabled()151 assertFalse(tabWidget.getChildAt(0).isEnabled()); in testSetEnabled()152 assertFalse(tabWidget.getChildAt(1).isEnabled()); in testSetEnabled()155 assertTrue(tabWidget.isEnabled()); in testSetEnabled()156 assertTrue(tabWidget.getChildAt(0).isEnabled()); in testSetEnabled()157 assertTrue(tabWidget.getChildAt(1).isEnabled()); in testSetEnabled()
197 assertTrue(headerViewListAdapter.isEnabled(0)); in testIsEnabled()203 assertFalse(headerViewListAdapter.isEnabled(0)); in testIsEnabled()204 assertTrue(headerViewListAdapter.isEnabled(1)); in testIsEnabled()210 assertFalse(headerViewListAdapter.isEnabled(0)); in testIsEnabled()211 assertTrue(headerViewListAdapter.isEnabled(1)); in testIsEnabled()212 assertFalse(headerViewListAdapter.isEnabled(2)); in testIsEnabled()213 assertFalse(headerViewListAdapter.isEnabled(3)); in testIsEnabled()216 assertTrue(headerViewListAdapter.isEnabled(0)); in testIsEnabled()217 assertFalse(headerViewListAdapter.isEnabled(1)); in testIsEnabled()218 assertFalse(headerViewListAdapter.isEnabled(2)); in testIsEnabled()[all …]
87 assertTrue(mZoomButton.isEnabled()); in testSetEnabled()93 assertTrue(mZoomButton.isEnabled()); in testSetEnabled()97 assertFalse(mZoomButton.isEnabled()); in testSetEnabled()
69 assertTrue(datePicker.isEnabled()); in testSetEnabled()72 assertFalse(datePicker.isEnabled()); in testSetEnabled()75 assertTrue(datePicker.isEnabled()); in testSetEnabled()
89 assertTrue(mTimePicker.isEnabled()); in testSetEnabled()92 assertFalse(mTimePicker.isEnabled()); in testSetEnabled()95 assertTrue(mTimePicker.isEnabled()); in testSetEnabled()
74 assertTrue(baseAdapter.isEnabled(0)); in testIsEnabled()
246 assertTrue(mMediaController.isEnabled()); in testSetEnabled()249 assertFalse(mMediaController.isEnabled()); in testSetEnabled()
56 boolean isEnabled = mListPref.isEnabled(); in testIsEnabled()57 assertTrue(isEnabled); in testIsEnabled()
40 assertTrue(!prefCat.isEnabled()); in testPreferenceCategory()
67 assertTrue(mPreference.isEnabled()); in testIsEnabled()76 assertFalse(mPreference.isEnabled()); in testSetEnabled()
228 assertFalse(adapter.isEnabled()); in disable()233 assertTrue(adapter.isEnabled()); in disable()241 assertFalse(adapter.isEnabled()); in disable()261 assertTrue(adapter.isEnabled()); in enable()266 assertFalse(adapter.isEnabled()); in enable()274 assertTrue(adapter.isEnabled()); in enable()
91 TestCase.assertFalse("enabled not properly recycled", record.isEnabled()); in assertAccessibilityRecordCleared()149 assertEquals("enabled has incorrect value", expectedRecord.isEnabled(), in assertEqualAccessibilityRecord()150 receivedRecord.isEnabled()); in assertEqualAccessibilityRecord()
231 assertSame("enabled has incorrect value", expectedInfo.isEnabled(), in assertEqualsAccessibilityNodeInfo()232 receivedInfo.isEnabled()); in assertEqualsAccessibilityNodeInfo()283 assertFalse("enabled not properly recycled", info.isEnabled()); in assertAccessibilityNodeInfoCleared()
220 assertEquals("enabled has incorrect value", expectedEvent.isEnabled(), receivedEvent in assertEqualsAccessiblityEvent()221 .isEnabled()); in assertEqualsAccessiblityEvent()
95 assertEquals("Test runner set enabled to true", true, mManager.isEnabled()); in testProperties()
76 mToggleButton.setChecked(mBluetoothAdapter.isEnabled()); in onCreate()146 mToggleButton.setChecked(mBluetoothAdapter.isEnabled()); in onReceive()
73 if (!mBluetoothAdapter.isEnabled()) { in onCreate()
83 if (mBluetoothAdapter.isEnabled()) { in onCreate()
143 assertTrue(mComponentInfo.isEnabled()); in testIsEnabled()146 assertFalse(mComponentInfo.isEnabled()); in testIsEnabled()150 assertFalse(mComponentInfo.isEnabled()); in testIsEnabled()
124 retrievedPhoneAccount.isEnabled()); in testRegisterPhoneAccount_NotEnabledAutomatically()153 retrievedPhoneAccount.isEnabled()); in testRegisterPhoneAccount_DisallowEnable()
63 public boolean isEnabled(int position) { in isEnabled() method in GridLayoutAnimCtsActivity.MockGridViewAdapter
74 if (!mNfcAdapter.isEnabled()) { in onResume()
76 if (!mNfcAdapter.isEnabled()) { in onResume()
70 if (!mNfcAdapter.isEnabled()) { in onResume()