/development/samples/ApiDemos/src/com/example/android/apis/appwidget/ |
ExampleBroadcastReceiver.java | 45 ArrayList<String> texts = new ArrayList<String>(); local 47 ExampleAppWidgetConfigure.loadAllTitlePrefs(context, appWidgetIds, texts); 51 ExampleAppWidgetProvider.updateAppWidget(context, gm, appWidgetIds.get(i), texts.get(i));
|
ExampleAppWidgetConfigure.java | 129 ArrayList<String> texts) {
|
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/ |
TestSelection.java | 93 for (int i = 0; i < texts.length; i++) { 94 List<String> result = sel.selectForString(texts[i]); 95 verifyResultUTF16(texts[i], testEncodings, result, excluded, CharsetICU.ROUNDTRIP_SET); 148 private String[] texts = { field in class:TestSelection [all...] |
/external/tensorflow/tensorflow/python/keras/_impl/keras/preprocessing/ |
text_test.py | 44 texts = [ 50 tokenizer.fit_on_texts(texts) 53 for seq in tokenizer.texts_to_sequences_generator(texts): 61 matrix = tokenizer.texts_to_matrix(texts, mode)
|
text.py | 149 filtered from the texts. The default is all punctuation, plus 151 lower: boolean. Whether to convert the texts to lowercase. 157 By default, all punctuation is removed, turning the texts into 191 def fit_on_texts(self, texts): 192 """Updates internal vocabulary based on a list of texts. 197 texts: can be a list of strings, 201 for text in texts: 253 def texts_to_sequences(self, texts): 254 """Transforms each text in texts in a sequence of integers. 260 texts: A list of texts (strings) [all...] |
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
KeyguardClockAccessibilityDelegateTest.java | 105 private boolean isAscii(List<CharSequence> texts) { 106 return texts.stream().allMatch(this::isAscii); 109 private boolean isEmpty(List<CharSequence> texts) { 110 return texts.stream().allMatch(TextUtils::isEmpty);
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
RadialTextsView.java | 82 public void initialize(Resources res, String[] texts, String[] innerTexts, 99 mTexts = texts; 222 // Draw the texts in the pre-calculated positions. 268 private void drawTexts(Canvas canvas, float textSize, Typeface typeface, String[] texts, 272 canvas.drawText(texts[0], textGridWidths[3], textGridHeights[0], mPaint); 273 canvas.drawText(texts[1], textGridWidths[4], textGridHeights[1], mPaint); 274 canvas.drawText(texts[2], textGridWidths[5], textGridHeights[2], mPaint); 275 canvas.drawText(texts[3], textGridWidths[6], textGridHeights[3], mPaint); 276 canvas.drawText(texts[4], textGridWidths[5], textGridHeights[4], mPaint); 277 canvas.drawText(texts[5], textGridWidths[4], textGridHeights[5], mPaint) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
cmd.py | 389 texts = []
396 texts.append(x)
397 while texts and not texts[-1]:
398 del texts[-1]
399 for col in range(len(texts)):
400 texts[col] = texts[col].ljust(colwidths[col])
401 self.stdout.write("%s\n"%str(" ".join(texts)))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
cmd.py | 392 texts = []
399 texts.append(x)
400 while texts and not texts[-1]:
401 del texts[-1]
402 for col in range(len(texts)):
403 texts[col] = texts[col].ljust(colwidths[col])
404 self.stdout.write("%s\n"%str(" ".join(texts)))
|
/external/python/cpython2/Lib/ |
cmd.py | 392 texts = [] 399 texts.append(x) 400 while texts and not texts[-1]: 401 del texts[-1] 402 for col in range(len(texts)): 403 texts[col] = texts[col].ljust(colwidths[col]) 404 self.stdout.write("%s\n"%str(" ".join(texts)))
|
/external/python/cpython3/Lib/ |
cmd.py | 389 texts = [] 396 texts.append(x) 397 while texts and not texts[-1]: 398 del texts[-1] 399 for col in range(len(texts)): 400 texts[col] = texts[col].ljust(colwidths[col]) 401 self.stdout.write("%s\n"%str(" ".join(texts)))
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
cmd.py | 392 texts = [] 399 texts.append(x) 400 while texts and not texts[-1]: 401 del texts[-1] 402 for col in range(len(texts)): 403 texts[col] = texts[col].ljust(colwidths[col]) 404 self.stdout.write("%s\n"%str(" ".join(texts)))
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
cmd.py | 392 texts = [] 399 texts.append(x) 400 while texts and not texts[-1]: 401 del texts[-1] 402 for col in range(len(texts)): 403 texts[col] = texts[col].ljust(colwidths[col]) 404 self.stdout.write("%s\n"%str(" ".join(texts)))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
cmd.py | 392 texts = [] 399 texts.append(x) 400 while texts and not texts[-1]: 401 del texts[-1] 402 for col in range(len(texts)): 403 texts[col] = texts[col].ljust(colwidths[col]) 404 self.stdout.write("%s\n"%str(" ".join(texts)))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
cmd.py | 392 texts = [] 399 texts.append(x) 400 while texts and not texts[-1]: 401 del texts[-1] 402 for col in range(len(texts)): 403 texts[col] = texts[col].ljust(colwidths[col]) 404 self.stdout.write("%s\n"%str(" ".join(texts)))
|
/cts/apps/CameraITS/tests/scene5/ |
test_lens_shading_and_color_uniformity.py | 110 texts = ["r/g: %.2f" % center_r_g, 112 draw_legend(img_legend_ufmt, texts, 191 texts = ["r/g: %.2f" % block["block_r_g"], 194 draw_legend(img_legend_ufmt, texts, 231 def draw_legend(img, texts, text_org, font_scale, text_offset, legend_color, 237 texts: list of legends. Each element in the list is a line of legend. 245 for text in texts:
|
/cts/tests/tests/text/src/android/text/cts/ |
StaticLayoutLineBreakingTest.java | 338 String[] texts = new String[] { "0123", "012 456", "012 456 89 123", "012 45678 012", 343 for (String text : texts) { 363 String[] texts = new String[] { "0123", "012 456", "012 456 89 123", "012 45678 012", 369 for (String text : texts) { 414 String[] texts = new String[] { "", "X", " ", "XX", " X", "XXX" }; local 416 for (String text: texts) {
|
/packages/apps/Nfc/src/com/android/nfc/ |
BeamShareActivity.java | 53 * it tries to parse texts and URLs to store them in a simple 195 final ArrayList<CharSequence> texts = intent.getCharSequenceArrayListExtra( local 203 } else if (texts != null && texts.size() > 0) { 206 tryText(texts.get(0).toString());
|
/frameworks/base/core/tests/coretests/src/android/text/ |
StaticLayoutDirectionsTest.java | 58 private static String[] texts = { field in class:StaticLayoutDirectionsTest 124 for (int i = 0; i < texts.length; ++i) { 125 b.setText(pseudoBidiToReal(texts[i]));
|
/frameworks/ex/common/java/com/android/common/contacts/ |
DataUsageStatUpdater.java | 80 public boolean updateWithRfc822Address(Collection<CharSequence> texts){ 81 if (texts == null) { 85 for (CharSequence text : texts) {
|
/external/curl/src/ |
mkhelp.pl | 141 texts by NOT passing -c to the mkhelp.pl tool. */
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
RemoteViewsTest.java | 260 private RemoteViews createViewChained(int depth, String... texts) { 272 // Add texts 273 for (String text : texts) { 281 private void verifyViewTree(View v1, View v2, String... texts) { 282 ArrayList<String> expectedTexts = new ArrayList<>(Arrays.asList(texts)); 284 // Verify that all expected texts were found 294 // Verify that the text was one of the expected texts and remove it from the list
|
/libcore/luni/src/test/java/libcore/xml/ |
NormalizeTest.java | 554 private Document createDocumentWithAdjacentTexts(String... texts) throws Exception { 559 for (String text : texts) { 569 private void assertChildren(Element element, String... texts) { 582 assertEquals(Arrays.asList(texts), actual);
|
/external/lisa/libs/utils/analysis/ |
residency_analysis.py | 239 patches, texts, autotexts = axes.pie(df.loc[cgroup], labels=df.columns, autopct='%.2f', colors=colors) 246 plt.setp(texts, fontproperties=proptease)
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
MessageRegressionTest.java | 512 String texts[] = {"pattern", "pat", "1234"}; local 514 for (int i = 0; i < texts.length; i++) { 516 Object[] objs = mf.parse(texts[i], pp); 517 log(" text for parsing: \"" + texts[i] + "\""); [all...] |