/packages/apps/Settings/src/com/android/settings/accessibility/shortcuts/ |
D | SoftwareShortcutOptionPreferenceController.java | 31 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/ |
D | NrDisabledInDsdsFooterPreferenceController.java | 28 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/ |
D | BluetoothSwitchPreferenceControllerTest.java | 31 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/ |
D | FaceSettingsFooterPreferenceController.java | 36 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/ |
D | AnnotationSpan.java | 37 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/ |
D | PrivateDnsModeDialogPreference.java | 52 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/ |
D | WifiWakeupPreferenceController.java | 38 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/ |
D | ZenModeSettingsFooterPreferenceController.java | 41 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/ |
D | MagnificationModePreferenceController.java | 47 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()
|
D | AccessibilityDialogUtils.java | 58 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/ |
D | AnnotationSpanTest.java | 50 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/ |
D | MagnificationModePreferenceControllerTest.java | 47 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/ |
D | SoftwareShortcutOptionPreferenceControllerTest.java | 55 import com.android.settings.utils.AnnotationSpan; 174 AnnotationSpan[] spans = ((SpannableStringBuilder) spannable).getSpans( in getCustomizedAccessibilityButtonLink_verifyClickAction() 175 0, expected.length(), AnnotationSpan.class); in getCustomizedAccessibilityButtonLink_verifyClickAction()
|