HomeSort by relevance Sort by last modified time
    Searched refs:TextRecord (Results 1 - 7 of 7) sorted by null

  /packages/apps/Tag/tests/src/com/android/apps/tag/record/
TextRecordTest.java 28 * Tests for {@link TextRecord}
39 TextRecord record = TextRecord.parse(msg.getRecords()[0]);
45 NdefRecord record = TextRecord.newTextRecord("hello", Locale.US);
46 TextRecord textRecord = TextRecord.parse(record);
47 assertEquals("hello", textRecord.getText());
48 assertEquals("en", textRecord.getLanguageCode());
52 NdefRecord record = TextRecord.newTextRecord("Hello", Locale.US, false)
    [all...]
  /development/samples/NFCDemo/src/com/example/android/nfc/record/
TextRecord.java 35 public class TextRecord implements ParsedNdefRecord {
42 private TextRecord(String languageCode, String text) {
65 public static TextRecord parse(NdefRecord record) {
89 return new TextRecord(languageCode, text);
SmartPoster.java 51 private final TextRecord mTitleRecord;
85 private SmartPoster(UriRecord uri, TextRecord title, RecommendedAction action, String type) {
99 public TextRecord getTitle() {
118 TextRecord title = getFirstIfExists(records, TextRecord.class);
  /development/samples/NFCDemo/src/com/example/android/nfc/
NdefMessageParser.java 23 import com.example.android.nfc.record.TextRecord;
49 } else if (TextRecord.isText(record)) {
50 elements.add(TextRecord.parse(record));
  /packages/apps/Tag/src/com/android/apps/tag/message/
NdefMessageParser.java 23 import com.android.apps.tag.record.TextRecord;
56 } else if (TextRecord.isText(record)) {
57 elements.add(TextRecord.parse(record));
  /packages/apps/Tag/src/com/android/apps/tag/record/
TextRecord.java 40 public class TextRecord extends ParsedNdefRecord {
46 private TextRecord(String languageCode, String text) {
78 public static TextRecord parse(NdefRecord record) {
107 return new TextRecord(languageCode, text);
SmartPoster.java 56 private final TextRecord mTitleRecord;
103 private SmartPoster(UriRecord uri, @Nullable TextRecord title,
120 public TextRecord getTitle() {
139 TextRecord title = getFirstIfExists(records, TextRecord.class);

Completed in 1782 milliseconds