/packages/apps/Email/src/com/android/email/provider/ |
H A D | Utilities.java | 57 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 D | EmailAccountCacheProvider.java | 44 protected Intent getNoAccountsIntent(Context context) { argument 45 return AccountSetupFinal.actionNewAccountWithResultIntent(context);
|
/packages/apps/Email/tests/src/com/android/email/ |
H A D | MockVendorPolicy.java | 38 public static void inject(Context context) { argument 39 VendorPolicyLoader.injectPolicyForTest(context, context.getPackageName(),
|
H A D | NotificationControllerTest.java | 40 NotificationControllerForTest(Context context) { argument 41 super(context, mMockClock);
|
/packages/apps/Exchange/src/com/android/exchange/utility/ |
H A D | CurlLogger.java | 33 public void process(HttpRequest request, HttpContext context) throws IOException { argument
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | ActionMenuButton.java | 42 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 D | HttpClientFactory.java | 42 * 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 D | DisableCameraReceiver.java | 38 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 D | PackagesMonitor.java | 32 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 D | PhotoPageProgressBar.java | 31 public PhotoPageProgressBar(Context context, RelativeLayout parentLayout) { argument 32 LayoutInflater inflater = (LayoutInflater) context
|
H A D | TrimControllerOverlay.java | 33 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 D | PanoramaMetadataJob.java | 31 public PanoramaMetadataJob(Context context, Uri uri) { argument 32 mContext = context;
|
H A D | SecureSource.java | 32 public SecureSource(GalleryApp context) { argument 34 mApplication = context;
|
H A D | TagClustering.java | 35 public TagClustering(Context context) { argument 36 mUntaggedString = context.getResources().getString(R.string.untagged);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ |
H A D | CenteredLinearLayout.java | 31 public CenteredLinearLayout(Context context, AttributeSet attrs) { argument 32 super(context, attrs);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
H A D | CategorySelected.java | 16 public CategorySelected(Context context, AttributeSet attrs) { argument 17 super(context, attrs);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
H A D | ColorGridDialog.java | 35 public ColorGridDialog(Context context, final RGBListener cl) { argument 36 super(context);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
H A D | EditorRedEye.java | 44 public void createEditor(Context context, FrameLayout frameLayout) { argument 45 super.createEditor(context, frameLayout); 46 mView = mImageShow = mImageRedEyes= new ImageRedEye(context);
|
H A D | EditorTinyPlanet.java | 37 public void createEditor(Context context, FrameLayout frameLayout) { argument 38 super.createEditor(context, frameLayout);
|
H A D | ImageOnlyEditor.java | 45 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 D | WidgetUtils.java | 41 public static void initialize(Context context) { argument 42 Resources r = context.getResources();
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
H A D | ResourceTexture.java | 32 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 D | MtpBitmapFetch.java | 107 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 D | IngestGridView.java | 37 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 D | CacheManager.java | 39 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();
|