Home
last modified time | relevance | path

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

/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/src/com/android/settings/bluetooth/
DBluetoothSwitchPreferenceController.java28 import com.android.settings.utils.AnnotationSpan;
111 AnnotationSpan.LinkInfo info = new AnnotationSpan.LinkInfo( in updateText()
112 AnnotationSpan.LinkInfo.DEFAULT_ANNOTATION, this); in updateText()
113 CharSequence text = AnnotationSpan.linkify( in updateText()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothSwitchPreferenceControllerTest.java30 import com.android.settings.utils.AnnotationSpan;
76 AnnotationSpan.LinkInfo info = new AnnotationSpan.LinkInfo( in updateText_bluetoothOffScanningOn()
77 AnnotationSpan.LinkInfo.DEFAULT_ANNOTATION, mController); in updateText_bluetoothOffScanningOn()
78 CharSequence text = AnnotationSpan.linkify( in updateText_bluetoothOffScanningOn()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceSettingsFooterPreferenceController.java27 import com.android.settings.utils.AnnotationSpan;
55 final AnnotationSpan.LinkInfo linkInfo = in updateState()
56 new AnnotationSpan.LinkInfo(mContext, ANNOTATION_URL, helpIntent); in updateState()
62 preference.setTitle(AnnotationSpan.linkify( in updateState()
/packages/apps/Settings/src/com/android/settings/network/
DPrivateDnsModeDialogPreference.java52 import com.android.settings.utils.AnnotationSpan;
119 private final AnnotationSpan.LinkInfo mUrlLinkInfo = new AnnotationSpan.LinkInfo(
187 final AnnotationSpan.LinkInfo linkInfo = new AnnotationSpan.LinkInfo(context, in onBindDialogView()
190 helpTextView.setText(AnnotationSpan.linkify( in onBindDialogView()
/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/wifi/
DWifiWakeupPreferenceController.java38 import com.android.settings.utils.AnnotationSpan;
140 AnnotationSpan.LinkInfo linkInfo = new AnnotationSpan.LinkInfo("link", null); in getNoLocationSummary()
142 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/
DAccessibilityDialogUtils.java55 import com.android.settings.utils.AnnotationSpan;
423 final AnnotationSpan.LinkInfo linkInfo = new AnnotationSpan.LinkInfo( in getCustomizeAccessibilityButtonLink()
424 AnnotationSpan.LinkInfo.DEFAULT_ANNOTATION, linkListener); in getCustomizeAccessibilityButtonLink()
426 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/src/com/android/settings/biometrics/fingerprint/
DFingerprintSettings.java64 import com.android.settings.utils.AnnotationSpan;
351 final AnnotationSpan.LinkInfo adminLinkInfo = new AnnotationSpan.LinkInfo( in onCreate()
357 final AnnotationSpan.LinkInfo linkInfo = new AnnotationSpan.LinkInfo( in onCreate()
359 mFooterTitle = AnnotationSpan.linkify(getText(admin != null in onCreate()