Home
last modified time | relevance | path

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

/sdk/apps/NotificationStudio/src/com/android/notificationstudio/generator/
DCodeGenerator.java53 StringBuilder sb = new StringBuilder("new Notification.Builder(context)"); in generate() local
56 sb.append(INDENT + ".setSmallIcon(" + getResourceVar(context, SMALL_ICON) + ")"); in generate()
58 sb.append(INDENT + ".setContentTitle(" + quote(CONTENT_TITLE) + ")"); in generate()
60 sb.append(INDENT + ".setContentText(" + quote(CONTENT_TEXT) + ")"); in generate()
62 sb.append(INDENT + ".setSubText(" + quote(SUB_TEXT) + ")"); in generate()
64 sb.append(INDENT + ".setLargeIcon(largeIconBitmap)"); in generate()
66 sb.append(INDENT + ".setContentInfo(" + quote(CONTENT_INFO) + ")"); in generate()
68 sb.append(INDENT + ".setNumber(" + NUMBER.getValueInt() + ")"); in generate()
70 sb.append(INDENT + ".setWhen(" + WHEN.getValueLong() + ")"); in generate()
72 sb.append(INDENT + ".setProgress(0, 0, true)"); in generate()
[all …]