1 /* 2 * Copyright (C) 2010 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package com.android.gallery3d.data; 18 19 import com.android.gallery3d.app.GalleryApp; 20 import com.android.gallery3d.app.StateManager; 21 import com.android.gallery3d.app.StitchingProgressManager; 22 import com.android.gallery3d.ui.GLRoot; 23 import com.android.gallery3d.util.ThreadPool; 24 25 import android.content.ContentResolver; 26 import android.content.Context; 27 import android.content.res.Resources; 28 import android.os.Looper; 29 30 class GalleryAppStub implements GalleryApp { 31 public ImageCacheService getImageCacheService() { return null; } 32 public StateManager getStateManager() { return null; } 33 public DataManager getDataManager() { return null; } 34 public DownloadUtils getDownloadService() { return null; } 35 public DecodeUtils getDecodeService() { return null; } 36 37 public GLRoot getGLRoot() { return null; } 38 39 public Context getAndroidContext() { return null; } 40 41 public Looper getMainLooper() { return null; } 42 public Resources getResources() { return null; } 43 public ContentResolver getContentResolver() { return null; } 44 public ThreadPool getThreadPool() { return null; } 45 public DownloadCache getDownloadCache() { return null; } 46 public StitchingProgressManager getStitchingProgressManager() { return null; } 47 } 48