HomeSort by relevance Sort by last modified time
    Searched refs:LocalData (Results 1 - 16 of 16) sorted by null

  /packages/apps/Camera2/src/com/android/camera/data/
LocalDataList.java 27 * Fast access data structure for an ordered LocalData list.
31 * We use this as a way to compare a Uri to LocalData instances inside a
43 if (!(o instanceof LocalData)) {
46 return mUri.equals(((LocalData) o).getContentUri());
50 private LinkedList<LocalData> mList = new LinkedList<LocalData>();
51 private HashMap<Uri, LocalData> mUriMap = new HashMap<Uri, LocalData>();
53 public LocalData get(int index) {
57 public LocalData remove(int index)
    [all...]
LocalDataAdapter.java 39 * Returns the specified {@link LocalData}.
41 * @param dataID The ID of the {@link LocalData} to get.
42 * @return The {@link LocalData} to get. {@code null} if not available.
44 public LocalData getLocalData(int dataID);
79 * Finds the {@link LocalData} of the specified content Uri.
81 * @param Uri The content Uri of the {@link LocalData}.
114 public void updateData(int pos, LocalData data);
117 public void insertData(LocalData data);
LocalData.java 32 * Note that all the sub-class of LocalData are designed to be immutable, i.e:
34 * can guarantee thread safety for LocalData.
36 public interface LocalData extends FilmStripView.ImageData {
149 * Returns the type of the local data defined by {@link LocalData}.
166 * @return A new LocalData object if success, null otherwise.
168 LocalData refresh(ContentResolver resolver);
170 static class NewestFirstComparator implements Comparator<LocalData> {
172 /** Compare taken/modified date of LocalData in descent order to make
185 public int compare(LocalData d1, LocalData d2)
    [all...]
RotationTask.java 36 * RotationTask can be used to rotate a {@link LocalData} by updating the exif
39 public class RotationTask extends AsyncTask<LocalData, Void, LocalData> {
67 protected LocalData doInBackground(LocalData... data) {
76 * @return A new {@link LocalData} object which containing the new info.
78 private LocalData rotateInJpegExif(LocalData data) {
97 if (imageData.getMimeType().equalsIgnoreCase(LocalData.MIME_TYPE_JPEG)) {
146 protected void onPostExecute(LocalData result)
    [all...]
CameraDataAdapter.java 54 private LocalData mLocalDataToDelete;
68 public LocalData getLocalData(int dataID) {
126 LocalData d = mImages.remove(dataID);
187 LocalData d = mLocalDataToDelete;
215 LocalData data = mImages.get(pos);
216 LocalData refreshedData = data.refresh(resolver);
223 public void updateData(final int pos, LocalData data) {
241 public void insertData(LocalData data) {
246 Comparator<LocalData> comp = new LocalData.NewestFirstComparator()
    [all...]
FixedFirstDataAdapter.java 28 * A {@link LocalDataAdapter} which puts a {@link LocalData} fixed at the first
29 * position. It's done by combining a {@link LocalData} and another
38 private LocalData mFirstData;
45 * @param firstData The {@link LocalData} to be placed at the first
50 LocalData firstData) {
59 public LocalData getLocalData(int dataID) {
83 public void updateData(int pos, LocalData data) {
FixedLastDataAdapter.java 27 * A {@link LocalDataAdapter} which puts a {@link LocalData} fixed at the last
28 * position. It's done by combining a {@link LocalData} and another
33 private LocalData mLastData;
40 * @param lastData The {@link LocalData} to be placed at the last position.
44 LocalData lastData) {
59 public LocalData getLocalData(int dataID) {
84 public void updateData(final int pos, LocalData data) {
InProgressDataWrapper.java 36 public class InProgressDataWrapper implements LocalData {
38 final LocalData mLocalData;
41 public InProgressDataWrapper(LocalData wrappedData) {
45 public InProgressDataWrapper(LocalData wrappedData, boolean hasProgressBar) {
140 public LocalData refresh(ContentResolver resolver) {
SimpleViewData.java 31 * A LocalData that does nothing but only shows a view.
33 public class SimpleViewData implements LocalData {
103 public LocalData refresh(ContentResolver resolver) {
AbstractLocalDataAdapterWrapper.java 78 public void insertData(LocalData data) {
LocalMediaData.java 57 public abstract class LocalMediaData implements LocalData {
330 LocalData.ACTION_DELETE;
453 public LocalData refresh(ContentResolver resolver) {
592 LocalData.ACTION_DELETE
593 | LocalData.ACTION_PLAY;
732 public LocalData refresh(ContentResolver resolver) {
    [all...]
  /packages/apps/Camera2/src/com/android/camera/
CameraActivity.java 75 import com.android.camera.data.LocalData;
309 final LocalData localData = mDataAdapter.getLocalData(dataID);
311 File localFile = new File(localData.getPath());
359 LocalData localData = mDataAdapter.getLocalData(dataID);
360 if (localData == null) {
364 return localData.getLocalDataType() == LocalData.LOCAL_CAMERA_PREVIEW;
412 LocalData currentData = mDataAdapter.getLocalData(dataID)
    [all...]
Storage.java 35 import com.android.camera.data.LocalData;
100 LocalData.MIME_TYPE_JPEG);
WideAnglePanoramaModule.java 49 import com.android.camera.data.LocalData;
768 jpegLength, filepath, width, height, LocalData.MIME_TYPE_JPEG);
    [all...]
  /external/clang/include/clang/AST/
TypeLoc.h 289 /// \tparam LocalData the structure type of local location data for
309 template <class Base, class Derived, class TypeClass, class LocalData>
328 return std::max(llvm::alignOf<LocalData>(),
332 unsigned size = sizeof(LocalData);
356 LocalData *getLocalData() const {
357 return static_cast<LocalData*>(Base::Data);
364 unsigned size = sizeof(LocalData);
1016 template <class Derived, class TypeClass, class LocalData = PointerLikeLocInfo>
1018 TypeClass, LocalData> {
    [all...]
  /packages/apps/Camera2/src/com/android/camera/ui/
FilmStripView.java 41 import com.android.camera.data.LocalData;
    [all...]

Completed in 3613 milliseconds