Searched defs:content (Results 1 - 22 of 22) sorted by relevance

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DDialogActivity.java40 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 DImapStringTest.java145 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 DImapTestUtils.java101 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 DGLRootStub.java19 import android.content.Context;
32 public void setContentPane(GLView content) {} argument
H A DGLRootMock.java19 import android.content.Context;
41 public void setContentPane(GLView content) {} argument
/packages/apps/Tag/src/com/android/apps/tag/record/
H A DMimeRecord.java24 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 DVCardRecord.java33 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 DAlertDialogs.java20 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 DAbstractSlotRenderer.java19 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 DGLRoot.java19 import android.content.Context;
42 public void setContentPane(GLView content); argument
H A DAlbumSlidingWindow.java54 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 DAlbumSetSlidingWindow.java74 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 DGLRootView.java20 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 DHttpHelper.java36 public String post(String url, Map<String,String> requestHeaders, String content) argument
109 public void setContent(String content) { argument
110 mContent = content;
H A DJavaNetHttpHelper.java59 * 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 DLegacyConversionsTests.java40 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 DUtils.java19 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 DActivityState.java21 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 DDTMFTwelveKeyDialer.java19 import android.content.Context;
182 public boolean backspace(View view, Editable content, int keyCode, argument
208 public boolean onKeyDown(View view, Editable content, argument
213 char c = (char) lookup(event, content);
216 if (event.getRepeatCount() == 0 && super.onKeyDown(view, content, keyCode, event)) {
238 public boolean onKeyUp(View view, Editable content, argument
242 super.onKeyUp(view, content, keyCode, event);
245 char c = (char) lookup(event, content);
/packages/apps/Settings/src/com/android/settings/
H A DTetherSettings.java28 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 DMessageComposeTests.java19 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 DMessagingController.java19 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...]

Completed in 621 milliseconds