/development/apps/Development/src/com/android/development/ |
D | LogTextBox.java | 21 import android.text.method.ScrollingMovementMethod; 22 import android.text.method.MovementMethod; 23 import android.text.method.KeyListener; 24 import android.text.method.TransformationMethod; 25 import android.text.Editable; 69 public void setText(CharSequence text, BufferType type) { in setText() argument 70 super.setText(text, BufferType.EDITABLE); in setText()
|
D | LogViewer.java | 44 LogTextBox text; field in LogViewer 52 text = (LogTextBox) findViewById(R.id.text); in onCreate() 54 text.setTextSize(10); in onCreate() 55 text.setHorizontallyScrolling(true); in onCreate() 56 text.setTypeface(Typeface.MONOSPACE); in onCreate() 57 text.setGravity(Gravity.BOTTOM | Gravity.LEFT); in onCreate() 72 text.getText().append(builder); in appendThrowable() 161 text.getText().append(message); in run()
|
D | EnterURL.java | 27 import android.text.Editable; 28 import android.text.Selection; 29 import android.text.format.DateUtils; 59 Editable text = getText(); in onFocusChanged() local 60 String str = text.toString(); in onFocusChanged() 65 Selection.setSelection(text, highlightStart, text.length()); in onFocusChanged() 82 Editable text = getText(); in onFocusChanged() local 83 Selection.setSelection(text, 0, text.length()); in onFocusChanged()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | ReceiveResult.java | 27 import android.text.Editable; 120 Editable text = (Editable)mResults.getText(); in onActivityResult() local 126 text.append("(cancelled)"); in onActivityResult() 131 text.append("(okay "); in onActivityResult() 132 text.append(Integer.toString(resultCode)); in onActivityResult() 133 text.append(") "); in onActivityResult() 135 text.append(data.getAction()); in onActivityResult() 139 text.append("\n"); in onActivityResult()
|
D | StatusBarNotifications.java | 162 CharSequence text = getText(textId); in setMood() local 173 text, makeMoodIntent(moodId)); in setMood() 191 CharSequence text = getText(textId); in setMoodView() local 192 notif.tickerText = text; in setMoodView() 199 contentView.setTextViewText(R.id.text, text); in setMoodView() 217 CharSequence text = getText(R.string.status_bar_notifications_happy_message); in setDefault() local 221 text, // the text to display in the ticker in setDefault() 228 text, // the details to display in the notification in setDefault()
|
D | LocalService.java | 98 CharSequence text = getText(R.string.local_service_started); in showNotification() local 101 Notification notification = new Notification(R.drawable.stat_sample, text, in showNotification() 110 text, contentIntent); in showNotification()
|
D | SaveRestoreState.java | 94 void setSavedText(CharSequence text) { in setSavedText() argument 95 ((EditText)findViewById(R.id.saved)).setText(text); in setSavedText()
|
D | RedirectMain.java | 96 TextView text = (TextView)findViewById(R.id.text); in loadPrefs() local 97 text.setText(mTextPref); in loadPrefs()
|
D | AlarmService_Service.java | 100 CharSequence text = getText(R.string.alarm_service_started); in showNotification() local 103 Notification notification = new Notification(R.drawable.stat_sample, text, in showNotification() 112 text, contentIntent); in showNotification()
|
D | MessengerService.java | 150 CharSequence text = getText(R.string.remote_service_started); in showNotification() local 153 Notification notification = new Notification(R.drawable.stat_sample, text, in showNotification() 162 text, contentIntent); in showNotification()
|
/development/samples/ApiDemos/src/com/example/android/apis/text/ |
D | LogTextBox.java | 17 package com.example.android.apis.text; 21 import android.text.method.ScrollingMovementMethod; 22 import android.text.method.MovementMethod; 23 import android.text.Editable; 61 public void setText(CharSequence text, BufferType type) { in setText() argument 62 super.setText(text, BufferType.EDITABLE); in setText()
|
D | Link.java | 17 package com.example.android.apis.text; 24 import android.text.Html; 25 import android.text.SpannableString; 26 import android.text.Spanned; 27 import android.text.method.LinkMovementMethod; 28 import android.text.style.StyleSpan; 29 import android.text.style.URLSpan;
|
D | LogTextBox1.java | 17 package com.example.android.apis.text; 41 mText = (LogTextBox) findViewById(R.id.text); in onCreate()
|
/development/samples/NFCDemo/src/com/example/android/nfc/record/ |
D | TextRecord.java | 42 private TextRecord(String languageCode, String text) { in TextRecord() argument 44 mText = Preconditions.checkNotNull(text); in TextRecord() 48 TextView text = (TextView) inflater.inflate(R.layout.tag_text, parent, false); in getView() local 49 text.setText(mText); in getView() 50 return text; in getView() 86 String text = in parse() local 89 return new TextRecord(languageCode, text); in parse()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | MeasureText.java | 72 private void showText(Canvas canvas, String text, Paint.Align align) { in showText() argument 76 float[] widths = new float[text.length()]; in showText() 78 int count = mPaint.getTextWidths(text, 0, text.length(), widths); in showText() 79 float w = mPaint.measureText(text, 0, text.length()); in showText() 80 mPaint.getTextBounds(text, 0, text.length(), bounds); in showText() 85 canvas.drawText(text, 0, 0, mPaint); in showText()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | List13.java | 97 TextView text; in getView() local 100 … text = (TextView)mInflater.inflate(android.R.layout.simple_list_item_1, parent, false); in getView() 102 text = (TextView)convertView; in getView() 106 text.setText(mStrings[position]); in getView() 108 text.setTag(null); in getView() 110 text.setText("Loading..."); in getView() 112 text.setTag(this); in getView() 115 return text; in getView()
|
D | List14.java | 111 holder.text = (TextView) convertView.findViewById(R.id.text); in getView() 122 holder.text.setText(DATA[position]); in getView() 129 TextView text; field in List14.EfficientAdapter.ViewHolder
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
D | ReadAsset.java | 62 String text = new String(buffer); in onCreate() local 65 TextView tv = (TextView)findViewById(R.id.text); in onCreate() 66 tv.setText(text); in onCreate()
|
/development/tools/findunused/ |
D | findunusedtranslations | 58 $text = ""; 82 $text .= $_ unless ($suppress); 98 print OUT $text;
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
D | MorseCode.java | 75 mTextView = (TextView)findViewById(R.id.text); in onCreate() 82 String text = mTextView.getText().toString(); 86 long[] pattern = MorseCodeConverter.pattern(text);
|
/development/samples/ApiDemos/src/com/example/android/apis/nfc/ |
D | ForegroundNdefPush.java | 39 public static NdefRecord newTextRecord(String text, Locale locale, boolean encodeInUtf8) { in newTextRecord() argument 43 byte[] textBytes = text.getBytes(utfEncoding); in newTextRecord() 63 mText = (TextView) findViewById(R.id.text); in onCreate()
|
/development/samples/NotePad/src/com/example/android/notepad/ |
D | NoteEditor.java | 178 String text = String.format(res.getString(R.string.title_edit), title); in onResume() local 179 setTitle(text); in onResume() 215 String text = mText.getText().toString(); in onPause() local 216 int length = text.length(); in onPause() 304 String text = mText.getText().toString(); in saveNote() local 305 int length = text.length(); in saveNote() 313 String title = text.substring(0, Math.min(30, length)); in saveNote() 324 values.put(NoteColumns.NOTE, text); in saveNote()
|
/development/ndk/platforms/android-5/arch-x86/include/machine/ |
D | asm.h | 96 .section .gnu.warning. ## _sym ; .ascii _msg ; .text 104 .text; _ALIGN_TEXT; .globl x; .type x,@function; x: 121 #define RCSID(x) .text; .asciz x
|
/development/samples/GlobalTime/src/com/android/globaltime/ |
D | GLView.java | 36 public Message(String text, long expirationTime) { in Message() argument 37 this.mText = text; in Message() 535 String text = mMessages.get(key).getText(); in showMessages() local 536 canvas.drawText(text, 10.0f, y, mPaint); in showMessages() 597 private void addMessage(String key, String text, int durationMillis) { in addMessage() argument 600 mMessages.put(key, new Message(text, expirationTime)); in addMessage() 603 private void addMessage(String key, String text) { in addMessage() argument 604 addMessage(key, text, DEFAULT_DURATION_MILLIS); in addMessage() 607 private void addMessage(String text) { in addMessage() argument 608 addMessage(text, text, DEFAULT_DURATION_MILLIS); in addMessage()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
D | LabelMaker.java | 142 public int add(GL10 gl, String text, Paint textPaint) { in add() argument 143 return add(gl, null, text, textPaint); in add() 154 public int add(GL10 gl, Drawable background, String text, Paint textPaint) { in add() argument 155 return add(gl, background, text, textPaint, 0, 0); in add() 174 public int add(GL10 gl, Drawable background, String text, Paint textPaint, in add() argument 178 boolean drawText = (text != null) && (textPaint != null); in add() 194 measuredTextWidth = (int) Math.ceil(textPaint.measureText(text)); in add() 243 mCanvas.drawText(text, in add()
|