Searched defs:context (Results 176 - 200 of 2076) sorted by relevance

1234567891011>>

/packages/apps/Camera/src/com/android/camera/
H A DRecordLocationPreference.java36 public RecordLocationPreference(Context context, AttributeSet attrs) { argument
37 super(context, attrs);
38 mResolver = context.getContentResolver();
/packages/apps/Camera/src/com/android/camera/ui/
H A DAbstractSettingPopup.java31 public AbstractSettingPopup(Context context, AttributeSet attrs) { argument
32 super(context, attrs);
H A DCheckedLinearLayout.java30 public CheckedLinearLayout(Context context, AttributeSet attrs) { argument
31 super(context, attrs);
H A DLayoutNotifyView.java29 public LayoutNotifyView(Context context) { argument
30 super(context);
33 public LayoutNotifyView(Context context, AttributeSet attrs) { argument
34 super(context, attrs);
H A DPopupManager.java53 public static PopupManager getInstance(Context context) { argument
54 PopupManager instance = sMap.get(context);
57 sMap.put(context, instance);
62 public static void removeInstance(Context context) { argument
63 PopupManager instance = sMap.get(context);
64 sMap.remove(context);
H A DPreviewSurfaceView.java28 public PreviewSurfaceView(Context context, AttributeSet attrs) { argument
29 super(context, attrs);
H A DTwoStateImageView.java31 public TwoStateImageView(Context context, AttributeSet attrs) { argument
32 super(context, attrs);
35 public TwoStateImageView(Context context) { argument
36 this(context, null);
/packages/apps/Camera2/src/com/android/camera/
H A DCaptureModuleUtil.java36 public static int getDeviceNaturalOrientation(Context context) { argument
37 Configuration config = context.getResources().getConfiguration();
38 int rotation = CameraUtil.getDisplayRotation(context);
55 public static Size getOptimalPreviewSize(Context context, Size[] sizes, argument
77 .getOptimalPreviewSizeIndex(context, camera1Sizes, targetRatio);
98 Context context) {
100 boolean swapDimens = (CameraUtil.getDisplayRotation(context) % 180) == 90;
103 if (CaptureModuleUtil.getDeviceNaturalOrientation(context)
112 Size pick = CaptureModuleUtil.getOptimalPreviewSize(context, supportedPreviewSizes,
96 pickBufferDimensions(Size[] supportedPreviewSizes, double bestPreviewAspectRatio, Context context) argument
H A DDisableCameraReceiver.java39 public void onReceive(Context context, Intent intent) { argument
48 disableComponent(context, ACTIVITIES[i]);
53 disableComponent(context, "com.android.camera.DisableCameraReceiver");
76 private void disableComponent(Context context, String klass) { argument
77 ComponentName name = new ComponentName(context, klass);
78 PackageManager pm = context.getPackageManager();
H A DToggleImageButton.java39 public ToggleImageButton(Context context) { argument
40 super(context);
43 public ToggleImageButton(Context context, AttributeSet attrs) { argument
44 super(context, attrs);
47 public ToggleImageButton(Context context, AttributeSet attrs, int defStyle) { argument
48 super(context, attrs, defStyle);
/packages/apps/Camera2/src/com/android/camera/data/
H A DPanoramaMetadataLoader.java74 public static void loadPanoramaMetadata(final Context context, Uri contentUri, argument
77 PhotoSphereHelper.getPanoramaMetadata(context, contentUri);
H A DRgbzMetadataLoader.java41 * @param context The app context.
43 public static void loadRgbzMetadata(final Context context, Uri contentUri, Bundle metadata) { argument
44 if (RefocusHelper.isRGBZ(context, contentUri)) {
/packages/apps/Camera2/src/com/android/camera/session/
H A DSessionStorageManagerImpl.java49 * @param context A valid Android context to be used for determining the
53 public static SessionStorageManager create(Context context) { argument
54 return new SessionStorageManagerImpl(context.getExternalCacheDir(),
55 context.getExternalFilesDir(null));
/packages/apps/Camera2/src/com/android/camera/settings/
H A DCameraPictureSizesCacher.java43 public static void updateSizesForCamera(Context context, int cameraId, List<Size> sizes) { argument
45 SharedPreferences defaultPrefs = PreferenceManager.getDefaultSharedPreferences(context);
67 public static List<Size> getSizesForCamera(int cameraId, Context context) { argument
70 SharedPreferences defaultPrefs = PreferenceManager.getDefaultSharedPreferences(context);
H A DManagedSwitchPreference.java36 public ManagedSwitchPreference(Context context) { argument
37 super(context);
40 public ManagedSwitchPreference(Context context, AttributeSet attrs) { argument
41 super(context, attrs);
44 public ManagedSwitchPreference(Context context, AttributeSet attrs, int defStyle) { argument
45 super(context, attrs, defStyle);
52 // The context and app may not be initialized upon initial inflation of the
70 // The context may not be initialized upon initial inflation of the
88 Context context = getContext();
89 if (context instanceo
[all...]
/packages/apps/Camera2/src/com/android/camera/ui/
H A DCheckedLinearLayout.java30 public CheckedLinearLayout(Context context, AttributeSet attrs) { argument
31 super(context, attrs);
H A DGridLines.java38 public GridLines(Context context, AttributeSet attrs) { argument
39 super(context, attrs);
H A DTopRightWeightedLayout.java36 public TopRightWeightedLayout(Context context, AttributeSet attrs) { argument
37 super(context, attrs);
H A DTwoStateImageView.java31 public TwoStateImageView(Context context, AttributeSet attrs) { argument
32 super(context, attrs);
35 public TwoStateImageView(Context context) { argument
36 this(context, null);
/packages/apps/Camera2/src/com/android/camera/util/
H A DIntentHelper.java32 public static Intent getGalleryIntent(Context context) { argument
37 PackageManager pm = context.getPackageManager();
47 public static Drawable getGalleryIcon(Context context, Intent galleryIntent) { argument
48 return GalleryHelper.getGalleryIcon(context, galleryIntent);
51 public static CharSequence getGalleryAppName(Context context, Intent galleryIntent) { argument
52 return GalleryHelper.getGalleryAppName(context, galleryIntent);
/packages/apps/Camera2/src/com/android/camera/widget/
H A DCling.java47 public Cling(Context context, AttributeSet attrs) { argument
48 super(context, attrs);
51 public Cling(Context context) { argument
52 super(context);
H A DSettingsCling.java40 public SettingsCling(Context context, AttributeSet attrs) { argument
41 super(context, attrs);
/packages/apps/Camera2/src_pd/com/android/camera/app/
H A DLocationManager.java34 public LocationManager(Context context) { argument
36 LegacyLocationProvider llp = new LegacyLocationProvider(context);
/packages/apps/Camera2/src_pd/com/android/camera/one/v2/
H A DOneCameraCreator.java29 public static OneCamera create(Context context, boolean useHdr, CameraDevice device, argument
/packages/apps/Camera2/src_pd/com/android/camera/util/
H A DGalleryHelper.java40 public static Drawable getGalleryIcon(Context context, Intent galleryIntent) { argument
43 return context.getPackageManager().getActivityIcon(galleryIntent);
51 public static CharSequence getGalleryAppName(Context context, Intent galleryIntent) { argument
56 return context.getResources().getString(GALLERY_APP_NAME_ID);

Completed in 164 milliseconds

1234567891011>>