/development/samples/ApiDemos/src/com/example/android/apis/app/ |
RedirectMain.java | 49 // Retrieve the current text preference. If there is no text 69 // Otherwise, there now should be text... reload the prefs, 70 // and show our UI. (Optionally we could verify that the text 78 // In this case we are just changing the text, so if it was 94 mTextPref = preferences.getString("text", null); 96 TextView text = (TextView)findViewById(R.id.text); local 97 text.setText(mTextPref); 108 preferences.edit().remove("text").commit() [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/appwidget/ |
ExampleAppWidgetProvider.java | 54 // For each widget that needs an update, get the text that we should display: 56 // - Set the text in the RemoteViews object 107 CharSequence text = context.getString(R.string.appwidget_text_format, local 115 views.setTextViewText(R.id.appwidget_text, text);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
List14.java | 111 holder.text = (TextView) convertView.findViewById(R.id.text); 122 holder.text.setText(DATA[position]); 129 TextView text; field in class:List14.EfficientAdapter.ViewHolder
|
List7.java | 68 // Use a template that displays a text view 92 String text = numberType + ": " + phone; local 93 mPhone.setText(text);
|
/development/samples/NFCDemo/src/com/example/android/nfc/record/ |
TextRecord.java | 33 * An NFC Text Record 42 private TextRecord(String languageCode, String text) { 44 mText = Preconditions.checkNotNull(text); 48 TextView text = (TextView) inflater.inflate(R.layout.tag_text, parent, false); local 49 text.setText(mText); 50 return text; 58 * Returns the ISO/IANA language code associated with this text element. 64 // TODO: deal with text fields which span multiple NdefRecords 72 * NFC Forum "Text Record Type Definition" section 3.2.1. 74 * bit7 is the Text Encoding Field 86 String text = local [all...] |
UriRecord.java | 97 TextView text = (TextView) inflater.inflate(R.layout.tag_text, parent, false); local 98 text.setText(mUri.toString()); 99 return text;
|
/development/tools/glesv2debugger/src/com/android/glesv2debugger/ |
MessageData.java | 32 public String text; field in class:MessageData 80 text = builder.toString();
|
/external/antlr/src/org/antlr/runtime/ |
ClassicToken.java | 38 protected String text; field in class:ClassicToken 52 text = oldToken.getText(); 59 public ClassicToken(int type, String text) { 61 this.text = text; 64 public ClassicToken(int type, String text, int channel) { 66 this.text = text; 79 return text; 82 public void setText(String text) { [all...] |
RecognitionException.java | 161 String text = adaptor.getText(this.node); local 162 this.token = new CommonToken(type, text);
|
RecognizerSharedState.java | 98 * Needed, for example, to get the text for current token. Set at 115 /** You can set the text for the current token to override what is in 118 public String text; field in class:RecognizerSharedState 142 this.text = state.text;
|
/external/antlr/src/org/antlr/runtime/debug/ |
TraceDebugEventListener.java | 51 String text = adaptor.getText(t); local 53 System.out.println("consumeNode "+ID+" "+text+" "+type); 58 String text = adaptor.getText(t); local 60 System.out.println("LT "+i+" "+ID+" "+text+" "+type); 69 String text = adaptor.getText(t); local 71 System.out.println("create "+ID+": "+text+", "+type); 76 String text = adaptor.getText(node); local
|
/external/antlr/src/org/antlr/runtime/tree/ |
TreePatternParser.java | 130 String text = tokenName; local 135 text = arg; 145 node = adaptor.create(treeNodeType, text);
|
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/sasl/serialization/ |
RealmCallbackTest.java | 42 public static String addText = "This text was set to RealmCallback"; 61 String text = ref.getText(); local 64 assertEquals(text, test.getText());
|
/external/apache-harmony/beans/src/test/support/java/org/apache/harmony/beans/tests/support/ |
SerializableBean.java | 28 private String text = null; field in class:SerializableBean 39 public SerializableBean(String text) { 40 this.text = text; 44 return this.text;
|
/external/bluetooth/glib/tests/ |
bookmarkfile-test.c | 14 #define TEST_MIME "text/plain" 70 gchar *text; local 79 text = g_bookmark_file_get_title (bookmark, NULL, &error); 81 g_assert_cmpstr (text, ==, "a file"); 82 g_free (text); 84 text = g_bookmark_file_get_description (bookmark, NULL, &error); 86 g_assert_cmpstr (text, ==, "a bookmark file"); 87 g_free (text); 94 text = g_bookmark_file_get_title (bookmark, TEST_URI_0, &error); 96 g_assert_cmpstr (text, ==, "a title") [all...] |
file-test.c | 151 const gchar *text = "abcdefghijklmnopqrstuvwxyz"; local 159 fwrite (text, 1, strlen (text), f); 167 g_assert (strcmp (text, contents) == 0 && "content mismatch");
|
/external/chromium/chrome/browser/history/ |
query_parser_unittest.cc | 93 const std::string text; member in struct:TestData2 121 parser.DoesQueryMatch(UTF8ToUTF16(data[i].text), 141 const std::string text; member in struct:TestData2 155 parser.ExtractQueryWords(UTF8ToUTF16(data[i].text), &results);
|
/external/chromium/chrome/browser/ui/gtk/ |
gtk_chrome_link_button.h | 5 // Creates a link button that shows |text| in blue and underlined. The cursor 47 gchar* text; member in struct:_GtkChromeLinkButton 55 // Make a link button with display text |text|. 56 GtkWidget* gtk_chrome_link_button_new(const char* text); 58 // As above, but don't escape markup in the text. 66 // Set the label text of the link. 68 const char* text);
|
/external/chromium/net/proxy/ |
proxy_script_fetcher_impl_unittest.cc | 36 string16 text; member in struct:net::__anon3777::FetchResult 103 string16 text; local 106 &text, &callback); 109 EXPECT_TRUE(text.empty()); 112 string16 text; local 115 &text, &callback); 118 EXPECT_EQ(ASCIIToUTF16("-pac.txt-\n"), text); 130 { // Fetch a PAC with mime type "text/plain" 132 string16 text; local 134 int result = pac_fetcher.Fetch(url, &text, &callback) 141 string16 text; local 150 string16 text; local 167 string16 text; local 176 string16 text; local 194 string16 text; local 211 string16 text; local 226 string16 text; local 253 string16 text; local 266 string16 text; local 288 string16 text; local 301 string16 text; local 322 string16 text; local 334 string16 text; local 361 string16 text; local 365 EXPECT_EQ(ASCIIToUTF16(kPacScript), text); local 374 string16 text; local [all...] |
/external/chromium/webkit/glue/ |
resource_fetcher_unittest.cc | 112 std::string text = delegate->data(); local 113 EXPECT_TRUE(text.find("What is this page?") != std::string::npos);
|
webclipboard_impl.cc | 105 string16 text; local 106 ClipboardReadText(buffer_type, &text); 107 if (!text.empty()) 108 return text; 113 std::string text; local 114 ClipboardReadAsciiText(buffer_type, &text); 115 if (!text.empty()) 116 return ASCIIToUTF16(text); 183 // into rich text editors, such as Gmail, reveals the image. We also don't 185 // image if there is also a text format on the clipboard [all...] |
/external/doclava/src/com/google/doclava/ |
TagInfo.java | 38 String text() { method in class:TagInfo 56 data.setValue(base + ".text", text());
|
/external/icu4c/common/ |
ubidiwrt.c | 17 * the core algorithm and core API to write reordered text. 164 * The general strategy for this is to read the source text 356 const UChar *text; local 367 (text=pBiDi->text)==NULL || (length=pBiDi->length)<0 || 376 ((text>=dest && text<dest+destSize) || 377 (dest>=text && dest<text+pBiDi->originalLength))) 424 * Iterate through all visual runs and copy the run text segments t [all...] |
/external/icu4c/samples/uciter8/ |
uciter8.c | 17 * 8-bit Unicode text leniently, accepting a mix of UTF-8 and CESU-8 41 * Assume that the text is not empty and that 211 * Assume that the text is not empty and that 294 static const UChar text[]={ local 314 uiter_setString(&iter1, text, -1); 323 length=LENGTHOF(text)-1; 333 uiter_setString(&iter1, text, -1);
|
/external/junit/src/junit/swingui/ |
DefaultFailureDetailView.java | 63 String text= ((String)value).replace('\t', ' '); local 64 Component c= super.getListCellRendererComponent(list, text, modelIndex, isSelected, cellHasFocus); 65 setText(text); 66 setToolTipText(text);
|