Searched defs:context (Results 251 - 275 of 2076) sorted by relevance

<<11121314151617181920>>

/packages/apps/Email/src/com/android/email/provider/
H A DUtilities.java57 public static void copyOneMessageToProvider(Context context, Message message, Account account, argument
62 c = context.getContentResolver().query(
77 localMessage = EmailContent.getContent(context, c, EmailContent.Message.class);
83 copyOneMessageToProvider(context, message, localMessage, loadStatus);
99 * @param context the context to be used for EmailProvider
101 public static void copyOneMessageToProvider(Context context, Message message, argument
106 body = EmailContent.Body.restoreBodyWithMessageId(context, localMessage.mId);
131 saveOrUpdate(localMessage, context);
133 saveOrUpdate(body, context);
190 saveOrUpdate(EmailContent content, Context context) argument
[all...]
/packages/apps/Email/src/com/android/mail/providers/
H A DEmailAccountCacheProvider.java44 protected Intent getNoAccountsIntent(Context context) { argument
45 return AccountSetupFinal.actionNewAccountWithResultIntent(context);
/packages/apps/Email/tests/src/com/android/email/
H A DMockVendorPolicy.java38 public static void inject(Context context) { argument
39 VendorPolicyLoader.injectPolicyForTest(context, context.getPackageName(),
H A DNotificationControllerTest.java40 NotificationControllerForTest(Context context) { argument
41 super(context, mMockClock);
/packages/apps/Exchange/src/com/android/exchange/utility/
H A DCurlLogger.java33 public void process(HttpRequest request, HttpContext context) throws IOException { argument
/packages/apps/Gallery/src/com/android/camera/
H A DActionMenuButton.java42 public ActionMenuButton(Context context) { argument
43 super(context);
47 public ActionMenuButton(Context context, AttributeSet attrs) { argument
48 super(context, attrs);
52 public ActionMenuButton(Context context, AttributeSet attrs, int defStyle) { argument
53 super(context, attrs, defStyle);
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DHttpClientFactory.java42 * package name contained in the context.
45 public static HttpClient newHttpClient(Context context) { argument
46 return HttpClientFactory.newHttpClient(getUserAgent(context));
108 private static String getUserAgent(Context context) { argument
112 pi = context.getPackageManager().getPackageInfo(
113 context.getPackageName(), 0);
/packages/apps/Gallery2/src/com/android/camera/
H A DDisableCameraReceiver.java38 public void onReceive(Context context, Intent intent) { argument
47 disableComponent(context, ACTIVITIES[i]);
52 disableComponent(context, "com.android.camera.DisableCameraReceiver");
75 private void disableComponent(Context context, String klass) { argument
76 ComponentName name = new ComponentName(context, klass);
77 PackageManager pm = context.getPackageManager();
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DPackagesMonitor.java32 public synchronized static int getPackagesVersion(Context context) { argument
33 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
38 public void onReceive(final Context context, final Intent intent) { argument
39 intent.setClass(context, AsyncService.class);
40 context.startService(intent);
55 private static void onReceiveAsync(Context context, Intent intent) { argument
56 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
64 PicasaSource.onPackageAdded(context, packageName);
66 PicasaSource.onPackageRemoved(context, packageName);
68 PicasaSource.onPackageChanged(context, packageNam
[all...]
H A DPhotoPageProgressBar.java31 public PhotoPageProgressBar(Context context, RelativeLayout parentLayout) { argument
32 LayoutInflater inflater = (LayoutInflater) context
H A DTrimControllerOverlay.java33 public TrimControllerOverlay(Context context) { argument
34 super(context);
38 protected void createTimeBar(Context context) { argument
39 mTimeBar = new TrimTimeBar(context, this);
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DPanoramaMetadataJob.java31 public PanoramaMetadataJob(Context context, Uri uri) { argument
32 mContext = context;
H A DSecureSource.java32 public SecureSource(GalleryApp context) { argument
34 mApplication = context;
H A DTagClustering.java35 public TagClustering(Context context) { argument
36 mUntaggedString = context.getResources().getString(R.string.untagged);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
H A DCenteredLinearLayout.java31 public CenteredLinearLayout(Context context, AttributeSet attrs) { argument
32 super(context, attrs);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
H A DCategorySelected.java16 public CategorySelected(Context context, AttributeSet attrs) { argument
17 super(context, attrs);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
H A DColorGridDialog.java35 public ColorGridDialog(Context context, final RGBListener cl) { argument
36 super(context);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
H A DEditorRedEye.java44 public void createEditor(Context context, FrameLayout frameLayout) { argument
45 super.createEditor(context, frameLayout);
46 mView = mImageShow = mImageRedEyes= new ImageRedEye(context);
H A DEditorTinyPlanet.java37 public void createEditor(Context context, FrameLayout frameLayout) { argument
38 super.createEditor(context, frameLayout);
H A DImageOnlyEditor.java45 public void createEditor(Context context, FrameLayout frameLayout) { argument
46 super.createEditor(context, frameLayout);
47 mView = mImageShow = new ImageShow(context);
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
H A DWidgetUtils.java41 public static void initialize(Context context) { argument
42 Resources r = context.getResources();
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DResourceTexture.java32 public ResourceTexture(Context context, int resId) { argument
33 Assert.assertNotNull(context);
34 mContext = context;
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
H A DMtpBitmapFetch.java107 public static void configureForContext(Context context) { argument
109 WindowManager wm = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE);
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
H A DIngestGridView.java37 public IngestGridView(Context context) { argument
38 super(context);
41 public IngestGridView(Context context, AttributeSet attrs) { argument
42 super(context, attrs);
45 public IngestGridView(Context context, AttributeSet attrs, int defStyle) { argument
46 super(context, attrs, defStyle);
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DCacheManager.java39 public static BlobCache getCache(Context context, String filename, argument
43 removeOldFilesIfNecessary(context);
48 File cacheDir = context.getExternalCacheDir();
63 private static void removeOldFilesIfNecessary(Context context) { argument
65 .getDefaultSharedPreferences(context);
75 File cacheDir = context.getExternalCacheDir();

Completed in 4983 milliseconds

<<11121314151617181920>>