/packages/apps/Camera/src/com/android/camera/ |
H A D | RecordLocationPreference.java | 36 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 D | AbstractSettingPopup.java | 31 public AbstractSettingPopup(Context context, AttributeSet attrs) { argument 32 super(context, attrs);
|
H A D | CheckedLinearLayout.java | 30 public CheckedLinearLayout(Context context, AttributeSet attrs) { argument 31 super(context, attrs);
|
H A D | LayoutNotifyView.java | 29 public LayoutNotifyView(Context context) { argument 30 super(context); 33 public LayoutNotifyView(Context context, AttributeSet attrs) { argument 34 super(context, attrs);
|
H A D | PopupManager.java | 53 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 D | PreviewSurfaceView.java | 28 public PreviewSurfaceView(Context context, AttributeSet attrs) { argument 29 super(context, attrs);
|
H A D | TwoStateImageView.java | 31 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 D | CaptureModuleUtil.java | 36 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 D | DisableCameraReceiver.java | 39 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 D | ToggleImageButton.java | 39 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 D | PanoramaMetadataLoader.java | 74 public static void loadPanoramaMetadata(final Context context, Uri contentUri, argument 77 PhotoSphereHelper.getPanoramaMetadata(context, contentUri);
|
H A D | RgbzMetadataLoader.java | 41 * @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 D | SessionStorageManagerImpl.java | 49 * @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 D | CameraPictureSizesCacher.java | 43 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 D | ManagedSwitchPreference.java | 36 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 D | CheckedLinearLayout.java | 30 public CheckedLinearLayout(Context context, AttributeSet attrs) { argument 31 super(context, attrs);
|
H A D | GridLines.java | 38 public GridLines(Context context, AttributeSet attrs) { argument 39 super(context, attrs);
|
H A D | TopRightWeightedLayout.java | 36 public TopRightWeightedLayout(Context context, AttributeSet attrs) { argument 37 super(context, attrs);
|
H A D | TwoStateImageView.java | 31 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 D | IntentHelper.java | 32 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 D | Cling.java | 47 public Cling(Context context, AttributeSet attrs) { argument 48 super(context, attrs); 51 public Cling(Context context) { argument 52 super(context);
|
H A D | SettingsCling.java | 40 public SettingsCling(Context context, AttributeSet attrs) { argument 41 super(context, attrs);
|
/packages/apps/Camera2/src_pd/com/android/camera/app/ |
H A D | LocationManager.java | 34 public LocationManager(Context context) { argument 36 LegacyLocationProvider llp = new LegacyLocationProvider(context);
|
/packages/apps/Camera2/src_pd/com/android/camera/one/v2/ |
H A D | OneCameraCreator.java | 29 public static OneCamera create(Context context, boolean useHdr, CameraDevice device, argument
|
/packages/apps/Camera2/src_pd/com/android/camera/util/ |
H A D | GalleryHelper.java | 40 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);
|