/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | DialogActivity.java | 40 mContentFrame = (FrameLayout) findViewById(R.id.content); 56 public void setDialogContent(View content) { argument 58 mContentFrame.addView(content);
|
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/ |
H A D | ImapStringTest.java | 145 private static void doLiteralTest(ImapString s, String content) throws IOException { argument 146 assertEquals(content, s.getString()); 147 assertEquals(content, Utility.fromAscii(IOUtils.toByteArray(s.getAsStream())));
|
H A D | ImapTestUtils.java | 101 public static FixedLengthInputStream createFixedLengthInputStream(String content) { argument 103 ByteArrayInputStream in = new ByteArrayInputStream(Utility.toAscii(content + "#trailing")); 104 return new FixedLengthInputStream(in, content.length());
|
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/ |
H A D | GLRootStub.java | 19 import android.content.Context; 32 public void setContentPane(GLView content) {} argument
|
H A D | GLRootMock.java | 19 import android.content.Context; 41 public void setContentPane(GLView content) {} argument
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
H A D | MimeRecord.java | 24 import android.content.Context; 42 private MimeRecord(String mimeType, byte[] content) { argument 44 Preconditions.checkNotNull(content); 45 mContent = Arrays.copyOf(content, content.length);
|
H A D | VCardRecord.java | 33 import android.content.ActivityNotFoundException; 34 import android.content.ContentUris; 35 import android.content.Context; 36 import android.content.Intent; 37 import android.content.pm.PackageManager; 38 import android.content.pm.ResolveInfo; 39 import android.content.res.AssetFileDescriptor; 79 private VCardRecord(byte[] content) { argument 80 mVCard = content; 90 // TODO: parse content an [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
H A D | AlertDialogs.java | 20 import android.content.Context;
21 import android.content.DialogInterface;
22 import android.content.DialogInterface.OnCancelListener;
23 import android.content.DialogInterface.OnClickListener;
48 * @param content The content string
57 String content, String positive, OnClickListener positiveListener, String negative,
65 builder.setMessage(content);
56 createAlert(Context context, String title, int iconId, String content, String positive, OnClickListener positiveListener, String negative, OnClickListener negativeListener, OnCancelListener cancelListener, boolean cancelable) argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | AbstractSlotRenderer.java | 19 import android.content.Context; 42 Texture content, int width, int height, int rotation) { 45 // The content is always rendered in to the largest square that fits 54 // Fit the content into the box 56 (float) width / content.getWidth(), 57 (float) height / content.getHeight()); 59 content.draw(canvas, 0, 0); 41 drawContent(GLCanvas canvas, Texture content, int width, int height, int rotation) argument
|
H A D | GLRoot.java | 19 import android.content.Context; 42 public void setContentPane(GLView content); argument
|
H A D | AlbumSlidingWindow.java | 54 public Texture content; field in class:AlbumSlidingWindow.AlbumEntry 228 if (entry.content != null || entry.item == null) return false; 318 entry.content = entry.bitmapTexture;
|
H A D | AlbumSetSlidingWindow.java | 74 public Texture content; field in class:AlbumSetSlidingWindow.AlbumSetEntry 279 entry.content = null; 366 // If the updated content is not cached, ignore it 452 entry.content = texture;
|
H A D | GLRootView.java | 20 import android.content.Context; 150 public void setContentPane(GLView content) { argument 151 if (mContentView == content) return; 164 mContentView = content; 165 if (content != null) { 166 content.attachToRoot(this); 257 Log.i(TAG, "layout content pane " + w + "x" + h
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
H A D | HttpHelper.java | 36 public String post(String url, Map<String,String> requestHeaders, String content) argument 109 public void setContent(String content) { argument 110 mContent = content;
|
H A D | JavaNetHttpHelper.java | 59 * Executes a GET request and returns the response content. 62 * @return The response content. This is the empty string if the response 63 * contained no content. 72 * Executes a GET request and returns the response content. 76 * @return The response content. This is the empty string if the response 77 * contained no content. 101 public String post(String url, Map<String,String> requestHeaders, String content) argument 109 Integer.toString(content == null ? 0 : content.length())); 111 c.setDoOutput(content ! [all...] |
/packages/apps/Email/tests/src/com/android/email/ |
H A D | LegacyConversionsTests.java | 40 import android.content.ContentUris; 41 import android.content.Context; 133 String sender, String subject, String content) throws MessagingException { 159 if (content != null) { 160 TextBody body = new TextBody(content); 199 // test 1: legacy message using content-type:name style for name 205 // test 2: legacy message using content-disposition:filename style for name 337 * @param filenameInDisposition False: attachment names are sent as content-type:name. True: 338 * attachment names are sent as content-disposition:filename. 344 // construct parameter parts for content 132 buildTestMessage(String to, String cc, String bcc, String replyTo, String sender, String subject, String content) argument [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | Utils.java | 19 import android.content.Context; 20 import android.content.pm.PackageInfo; 21 import android.content.pm.PackageManager.NameNotFoundException; 239 public static float parseFloatSafely(String content, float defaultValue) { argument 240 if (content == null) return defaultValue; 242 return Float.parseFloat(content); 248 public static int parseIntSafely(String content, int defaultValue) { argument 249 if (content == null) return defaultValue; 251 return Integer.parseInt(content);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | ActivityState.java | 21 import android.content.BroadcastReceiver; 22 import android.content.ContentResolver; 23 import android.content.Context; 24 import android.content.Intent; 25 import android.content.IntentFilter; 26 import android.content.res.Configuration; 82 protected void setContentPane(GLView content) { argument 83 mContentPane = content;
|
/packages/apps/Phone/src/com/android/phone/ |
H A D | DTMFTwelveKeyDialer.java | 19 import android.content.Context; 181 public boolean backspace(View view, Editable content, int keyCode, argument 207 public boolean onKeyDown(View view, Editable content, argument 212 char c = (char) lookup(event, content); 215 if (event.getRepeatCount() == 0 && super.onKeyDown(view, content, keyCode, event)) { 237 public boolean onKeyUp(View view, Editable content, argument 241 super.onKeyUp(view, content, keyCode, event); 244 char c = (char) lookup(event, content);
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | TetherSettings.java | 28 import android.content.BroadcastReceiver; 29 import android.content.Context; 30 import android.content.DialogInterface; 31 import android.content.Intent; 32 import android.content.IntentFilter; 33 import android.content.res.AssetManager; 213 public void onReceive(Context content, Intent intent) { argument
|
/packages/apps/Email/tests/src/com/android/email/activity/ |
H A D | MessageComposeTests.java | 19 import android.content.ContentUris; 20 import android.content.Context; 21 import android.content.Intent; 817 * Helper method to quickly check (and assert) on the to, subject, and content views. 823 * @param content expected value (null = it must be empty) 826 private void checkFields(String to, String cc, String bcc, String subject, String content, argument 860 if (content == null && signature == null) { 863 if (content == null) content = ""; 865 int textLength = content 906 buildTestMessage(String to, String sender, String subject, String content) argument [all...] |
/packages/apps/Email/src/com/android/email/ |
H A D | MessagingController.java | 19 import android.content.ContentResolver; 20 import android.content.ContentUris; 21 import android.content.ContentValues; 22 import android.content.Context; 258 // content synchronization (addition AND removal) since each store will likely need 424 private void saveOrUpdate(EmailContent content, Context context) { argument 425 if (content.isSaved()) { 426 content.update(context, content.toContentValues()); 428 content [all...] |