Home
last modified time | relevance | path

Searched refs:line1 (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/src/com/android/settings/network/
DSubscriptionsPreferenceController.java438 String line1 = null; in getSummary() local
440 line1 = mContext.getString(R.string.default_for_calls_and_sms); in getSummary()
442 line1 = mContext.getString(R.string.default_for_calls); in getSummary()
444 line1 = mContext.getString(R.string.default_for_sms); in getSummary()
461 if (line1 != null && line2 != null) { in getSummary()
462 return String.join(System.lineSeparator(), line1, line2); in getSummary()
463 } else if (line1 != null) { in getSummary()
464 return line1; in getSummary()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DActionPresenterSelector.java125 CharSequence line1 = action.getLabel1(); in onBindViewHolder() local
127 if (TextUtils.isEmpty(line1)) { in onBindViewHolder()
130 vh.mButton.setText(line1); in onBindViewHolder()
132 vh.mButton.setText(line1 + "\n" + line2); in onBindViewHolder()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DGeometryMathUtils.java102 public static float[] lineIntersect(float[] line1, float[] line2) { in lineIntersect() argument
103 float a0 = line1[0]; in lineIntersect()
104 float a1 = line1[1]; in lineIntersect()
105 float b0 = line1[2]; in lineIntersect()
106 float b1 = line1[3]; in lineIntersect()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMessageNotificationState.java1239 CharSequence line1; in checkFailedMessages() local
1266 line1 = resources.getString(failureStringId); in checkFailedMessages()
1291 line1 = resources.getString(line1StringId); in checkFailedMessages()
1298 line1 = applyWarningTextColor(context, line1); in checkFailedMessages()
1309 .setContentTitle(line1) in checkFailedMessages()
1310 .setTicker(line1) in checkFailedMessages()
DBugleNotifications.java1197 final CharSequence line1 = MessageNotificationState.applyWarningTextColor(context, in notifyEmergencySmsFailed() local
1206 builder.setTicker(line1) in notifyEmergencySmsFailed()
1207 .setContentTitle(line1) in notifyEmergencySmsFailed()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/recyclerview/
DCarUiListItemTest.java743 CharSequence line1 = "First short string"; in testMultipleBodyTextLines() local
748 lines.add(new CarUiText.Builder(line1).build()); in testMultipleBodyTextLines()
760 String expectedText = line1 + "\n" + line2 + "\n" + line3; in testMultipleBodyTextLines()
770 Spannable line1 = new SpannableString("This text contains color"); in testBodyTextSpans() local
771 line1.setSpan(new ForegroundColorSpan(color), 19, 24, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in testBodyTextSpans()
774 lines.add(new CarUiText(line1, Integer.MAX_VALUE)); in testBodyTextSpans()
786 assertEquals(line1, bodyTextView.getText()); in testBodyTextSpans()
/packages/apps/Music/src/com/android/music/
DAudioPreview.java94 mTextLine1 = (TextView) findViewById(R.id.line1); in onCreate()
/packages/apps/Music/kotlin/src/com/android/music/
DAudioPreview.kt87 mTextLine1 = findViewById(R.id.line1) as TextView in onCreate()