Home
last modified time | relevance | path

Searched refs:isActivated (Results 1 – 25 of 51) sorted by relevance

123

/packages/apps/Car/Dialer/testing/src/com/android/car/dialer/testing/
DTestViewMatchers.java33 public static Matcher<View> isActivated(boolean isActivated) { in isActivated() argument
37 return item.isActivated() == isActivated; in isActivated()
42 description.appendText("View is " + (isActivated ? "activated" : "not activated")); in isActivated()
/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/ui/activecall/
DOnGoingCallControllerBarFragmentTest.java30 import static com.android.car.dialer.testing.TestViewMatchers.isActivated;
105 matches(isActivated(false))); in testMuteButton()
108 onView(withId(R.id.mute_button)).perform(selfClick()).check(matches(isActivated(true))); in testMuteButton()
110 onView(withId(R.id.mute_button)).perform(selfClick()).check(matches(isActivated(false))); in testMuteButton()
119 matches(isActivated(false))); in testDialpadButton()
123 matches(isActivated(true))); in testDialpadButton()
127 matches(isActivated(false))); in testDialpadButton()
161 matches(isEnabled())).check(matches(isActivated(false))); in testClickPauseButton_activeCall()
173 matches(isEnabled())).check(matches(isActivated(true))); in testClickPauseButton_onholdCall()
/packages/apps/Settings/src/com/android/settings/display/darkmode/
DDarkModeActivationPreferenceController.java71 final boolean isActivated = (mContext.getResources().getConfiguration().uiMode in getSummary()
75 return mContext.getString(isActivated in getSummary()
79 final LocalTime time = isActivated in getSummary()
84 return mContext.getString(isActivated in getSummary()
88 return mContext.getString(isActivated in getSummary()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryItemAnimator.java83 info.isActivated = viewHolder.itemView.isActivated(); in recordPreLayoutInformation()
93 info.isActivated = viewHolder.itemView.isActivated(); in recordPostLayoutInformation()
108 boolean isActivated; field in DirectoryItemAnimator.ItemInfo
DAccessibilityEventRouter.java79 info.setSelected(host.isActivated()); in AccessibilityEventRouter()
/packages/apps/Settings/src/com/android/settings/display/
DNightDisplayTimeFormatter.java49 final boolean isActivated = manager.isNightDisplayActivated(); in getAutoModeSummary()
52 if (isActivated) { in getAutoModeSummary()
60 return context.getString(isActivated in getAutoModeSummary()
64 return context.getString(isActivated in getAutoModeSummary()
DNightDisplayActivationPreferenceController.java110 final boolean isActivated = mColorDisplayManager.isNightDisplayActivated(); in updateStateInternal()
114 mTimeFormatter.getFormattedTimeString(isActivated in updateStateInternal()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerItem.kt118 mTimerText.isActivated = false in update()
128 mTimerText.isActivated = false in update()
138 mTimerText.isActivated = true in update()
/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/ui/contact/
DContactDetailsFragmentTest.java30 import static com.android.car.dialer.testing.TestViewMatchers.isActivated;
176 .check(matches(isActivated(false))) in verifyPhoneNumber()
178 .check(matches(isActivated(true))); in verifyPhoneNumber()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/
DMenuItemAdapterV1.java96 public boolean isActivated() { in isActivated() method in MenuItemAdapterV1
97 return mClientMenuItem.isActivated(); in isActivated()
DMenuItem.java192 public boolean isActivated() { in isActivated() method in MenuItem
272 setActivated(!isActivated()); in performClick()
/packages/apps/Dialer/java/com/android/voicemail/
DVoicemailClient.java148 boolean isActivated(Context context, PhoneAccountHandle phoneAccountHandle); in isActivated() method
190 void onActivationStateChanged(PhoneAccountHandle phoneAccountHandle, boolean isActivated); in onActivationStateChanged() argument
/packages/apps/Dialer/java/com/android/dialer/voicemail/settings/
DVoicemailSettingsFragment.java129 || !voicemailClient.isActivated(getContext(), phoneAccountHandle)) { in setupVisualVoicemailFeaturePreferences()
419 } else if (!voicemailClient.isActivated(getContext(), phoneAccountHandle)) { in updateChangePinPreference()
460 public void onActivationStateChanged(PhoneAccountHandle phoneAccountHandle, boolean isActivated) { in onActivationStateChanged() argument
474 && !voicemailClient.isActivated(getContext(), phoneAccountHandle)) { in updateVoicemailSummaryMessage()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactListFilterView.java91 mRadioButton.setChecked(isActivated()); in bindView()
161 return getContext().getString(isActivated() ? R.string.account_filter_view_checked : in generateContentDescription()
DContactListItemView.java648 if (mActivatedStateSupported && isActivated()) { in onLayout()
970 if (mActivatedStateSupported && isActivated()) { in dispatchDraw()
1164 mNameTextView.setActivated(isActivated()); in getNameTextView()
1202 mPhoneticNameTextView.setActivated(isActivated()); in getPhoneticNameTextView()
1241 mLabelView.setActivated(isActivated()); in getLabelView()
1376 mDataView.setActivated(isActivated()); in getDataView()
1417 mSnippetView.setActivated(isActivated()); in getSnippetView()
1433 mStatusView.setActivated(isActivated()); in getStatusView()
/packages/apps/ThemePicker/src/com/android/customization/widget/
DOptionSelectorController.java152 private void updateActivatedStatus(T option, boolean isActivated) { in updateActivatedStatus() argument
159 holder.itemView.setActivated(isActivated); in updateActivatedStatus()
163 if (isActivated) { in updateActivatedStatus()
/packages/apps/Dialer/java/com/android/voicemail/impl/
DVoicemailClientImpl.java148 if (!isActivated(context, phoneAccountHandle)) { in isVoicemailTranscriptionAvailable()
230 public boolean isActivated(Context context, PhoneAccountHandle phoneAccountHandle) { in isActivated() method in VoicemailClientImpl
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/matchers/
DIsActivatedMatcher.java29 return view.isActivated(); in matchesSafely()
DViewMatchers.java58 public static Matcher<View> isActivated() { in isActivated() method in ViewMatchers
/packages/apps/Car/libs/car-ui-lib/oem-apis/src/main/java/com/android/car/ui/sharedlibrary/oemapis/toolbar/
DMenuItemOEMV1.java64 boolean isActivated(); in isActivated() method
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DViews.java49 Mockito.when(view.isActivated()).thenReturn(activated); in createTestView()
/packages/apps/Nfc/nci/jni/
DNfcTag.h113 bool isActivated();
/packages/apps/Dialer/java/com/android/dialer/promotion/impl/
DDuoPromotion.java73 if (!duo.isEnabled(appContext) || !duo.isActivated(appContext)) { in isEligibleToBeShown()
/packages/apps/Car/libs/car-ui-lib/referencedesign/sharedlibrary/src/main/java/com/chassis/car/ui/sharedlibrary/toolbar/
DOverflowMenuItem.java131 public boolean isActivated() { in isActivated() method in OverflowMenuItem
/packages/apps/Dialer/java/com/android/dialer/duo/
DDuo.java48 boolean isActivated(@NonNull Context context); in isActivated() method

123