Home
last modified time | relevance | path

Searched refs:AnnotationSpan (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Settings/src/com/android/settings/accessibility/shortcuts/
DSoftwareShortcutOptionPreferenceController.java31 import com.android.settings.utils.AnnotationSpan;
58 final AnnotationSpan.LinkInfo linkInfo = new AnnotationSpan.LinkInfo( in getCustomizeAccessibilityButtonLink()
59 AnnotationSpan.LinkInfo.DEFAULT_ANNOTATION, linkListener); in getCustomizeAccessibilityButtonLink()
60 return AnnotationSpan.linkify( in getCustomizeAccessibilityButtonLink()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DNrDisabledInDsdsFooterPreferenceController.java28 import com.android.settings.utils.AnnotationSpan;
72 final AnnotationSpan.LinkInfo linkInfo = new AnnotationSpan.LinkInfo(mContext, in getFooterText()
76 return AnnotationSpan.linkify(mContext.getText(R.string.no_5g_in_dsds_text), linkInfo); in getFooterText()
78 return AnnotationSpan.textWithoutLink(mContext.getText(R.string.no_5g_in_dsds_text)); in getFooterText()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothSwitchPreferenceControllerTest.java31 import com.android.settings.utils.AnnotationSpan;
77 AnnotationSpan.LinkInfo info = new AnnotationSpan.LinkInfo( in updateText_bluetoothOffScanningOn()
78 AnnotationSpan.LinkInfo.DEFAULT_ANNOTATION, mController); in updateText_bluetoothOffScanningOn()
79 CharSequence text = AnnotationSpan.linkify( in updateText_bluetoothOffScanningOn()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceSettingsFooterPreferenceController.java36 import com.android.settings.utils.AnnotationSpan;
83 final AnnotationSpan.LinkInfo linkInfo = in updateState()
84 new AnnotationSpan.LinkInfo(mContext, ANNOTATION_URL, helpIntent); in updateState()
99 preference.setTitle(AnnotationSpan.linkify( in updateState()
/packages/apps/Settings/src/com/android/settings/utils/
DAnnotationSpan.java37 public class AnnotationSpan extends URLSpan { class
41 private AnnotationSpan(View.OnClickListener lsn) { in AnnotationSpan() method in AnnotationSpan
67 AnnotationSpan link = null; in linkify()
70 link = new AnnotationSpan(linkInfo.mListener); in linkify()
/packages/apps/Settings/src/com/android/settings/network/
DPrivateDnsModeDialogPreference.java52 import com.android.settings.utils.AnnotationSpan;
115 private final AnnotationSpan.LinkInfo mUrlLinkInfo = new AnnotationSpan.LinkInfo(
171 final AnnotationSpan.LinkInfo linkInfo = new AnnotationSpan.LinkInfo(context, in onBindDialogView()
174 helpTextView.setText(AnnotationSpan.linkify( in onBindDialogView()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiWakeupPreferenceController.java38 import com.android.settings.utils.AnnotationSpan;
153 AnnotationSpan.LinkInfo linkInfo = new AnnotationSpan.LinkInfo("link", null); in getNoLocationSummary()
155 return AnnotationSpan.linkify(locationText, linkInfo); in getNoLocationSummary()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeSettingsFooterPreferenceController.java41 import com.android.settings.utils.AnnotationSpan;
105 final AnnotationSpan.LinkInfo linkInfo = new AnnotationSpan.LinkInfo( in getFooterText()
106 AnnotationSpan.LinkInfo.DEFAULT_ANNOTATION, new View.OnClickListener() { in getFooterText()
114 AnnotationSpan.linkify(mContext.getResources().getText( in getFooterText()
/packages/apps/Settings/src/com/android/settings/accessibility/
DMagnificationModePreferenceController.java47 import com.android.settings.utils.AnnotationSpan;
274 final AnnotationSpan.LinkInfo linkInfo = new AnnotationSpan.LinkInfo( in updateLinkInTripleTapWarningDialog()
275 AnnotationSpan.LinkInfo.DEFAULT_ANNOTATION, linkListener); in updateLinkInTripleTapWarningDialog()
276 final CharSequence textWithLink = AnnotationSpan.linkify(mContext.getText( in updateLinkInTripleTapWarningDialog()
DAccessibilityDialogUtils.java58 import com.android.settings.utils.AnnotationSpan;
454 final AnnotationSpan.LinkInfo linkInfo = new AnnotationSpan.LinkInfo( in getCustomizeAccessibilityButtonLink()
455 AnnotationSpan.LinkInfo.DEFAULT_ANNOTATION, linkListener); in getCustomizeAccessibilityButtonLink()
456 return AnnotationSpan.linkify(context.getText( in getCustomizeAccessibilityButtonLink()
/packages/apps/Settings/tests/robotests/src/com/android/settings/utils/
DAnnotationSpanTest.java50 assertThat(new AnnotationSpan.LinkInfo(mContext, "annotation", mTestIntent).isActionable()) in newLinkInfo_validIntent_isActionable()
56 assertThat(new AnnotationSpan.LinkInfo(mContext, "annotation", mTestIntent).isActionable()) in newLinkInfo_invalidIntent_isNotActionable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DMagnificationModePreferenceControllerTest.java47 import com.android.settings.utils.AnnotationSpan;
191 final AnnotationSpan[] annotationSpans = in checkSpansInTripleTapWarningDialog_existAnnotationSpan()
193 textInTripleTapWarningDialog.length(), AnnotationSpan.class); in checkSpansInTripleTapWarningDialog_existAnnotationSpan()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/shortcuts/
DSoftwareShortcutOptionPreferenceControllerTest.java55 import com.android.settings.utils.AnnotationSpan;
174 AnnotationSpan[] spans = ((SpannableStringBuilder) spannable).getSpans( in getCustomizedAccessibilityButtonLink_verifyClickAction()
175 0, expected.length(), AnnotationSpan.class); in getCustomizedAccessibilityButtonLink_verifyClickAction()