Searched refs:base (Results 1 - 25 of 75) sorted by relevance

123

/frameworks/base/core/java/android/content/
H A DMutableContextWrapper.java20 * Special version of {@link ContextWrapper} that allows the base context to
24 public MutableContextWrapper(Context base) { argument
25 super(base);
29 * Change the base context for this ContextWrapper. All calls will then be
30 * delegated to the base context. Unlike ContextWrapper, the base context
33 * @param base The new base context for this wrapper.
35 public void setBaseContext(Context base) { argument
36 mBase = base;
[all...]
H A DSearchRecentSuggestionsProvider.java221 final String base = uri.getPathSegments().get(0);
223 if (base.equals(sSuggestions)) {
243 String base = uri.getPathSegments().get(0);
244 if (base.equals(sSuggestions)) {
269 String base = uri.getPathSegments().get(0);
271 if (base.equals(sSuggestions)) {
340 String base = uri.getPathSegments().get(0);
341 if (!base.equals(sSuggestions)) {
369 Cursor c = db.query(base, useProjection, whereClause.toString(),
/frameworks/base/cmds/system_server/library/
H A DAndroid.mk7 base = $(LOCAL_PATH)/../../.. macro
10 $(base)/camera/libcameraservice \
11 $(base)/libs/audioflinger \
12 $(base)/libs/surfaceflinger \
13 $(base)/media/libmediaplayerservice \
/frameworks/base/media/mediaserver/
H A DAndroid.mk14 base := $(LOCAL_PATH)/../.. macro
17 $(base)/libs/audioflinger \
18 $(base)/camera/libcameraservice \
19 $(base)/media/libmediaplayerservice
/frameworks/base/opengl/libagl/
H A Dmipmap.cpp33 const GGLSurface* base = &tex->surface; local
34 const GGLFormat& pixelFormat(c->rasterizer.formats[base->format]);
36 int w = base->width;
37 int h = base->height;
48 base->format, base->compressedFormat, bpr) != NO_ERROR) {
53 int bs = base->stride;
56 if (base->format == GGL_PIXEL_FORMAT_RGB_565)
58 uint16_t const * src = (uint16_t const *)base->data;
79 else if (base
[all...]
/frameworks/base/include/ui/egl/
H A Dandroid_natives.h57 void (*incRef)(struct android_native_base_t* base);
58 void (*decRef)(struct android_native_base_t* base);
242 static inline TYPE* getSelf(android_native_base_t* base) { argument
243 return getSelf(reinterpret_cast<NATIVE_TYPE*>(base));
245 static inline TYPE const * getSelf(android_native_base_t const* base) { argument
246 return getSelf(reinterpret_cast<NATIVE_TYPE const*>(base));
248 static void incRef(android_native_base_t* base) { argument
249 EGLNativeBase* self = getSelf(base);
252 static void decRef(android_native_base_t* base) { argument
253 EGLNativeBase* self = getSelf(base);
[all...]
/frameworks/base/opengl/tests/angeles/
H A Dgpustate.c8 static void *map_memory(const char *fn, unsigned base, unsigned size) argument
20 MAP_SHARED, fd, base);
24 fprintf(stderr,"cannot map %s (@%08x,%08x)\n", fn, base, size);
33 printf("GPU base mapped at %p\n", grp_regs);
/frameworks/base/include/utils/
H A Dmisc.h88 void k_itoa(int value, char* str, int base);
89 char* itoa(int val, int base);
/frameworks/base/cmds/stagefright/
H A DAndroid.mk15 frameworks/base/media/libstagefright \
37 frameworks/base/media/libstagefright \
/frameworks/base/libs/ui/
H A DGraphicBufferMapper.cpp159 void* base = mmap(0, size, prot, MAP_SHARED, fd, 0); local
160 if (base == MAP_FAILED) {
170 hnd->base = intptr_t(base);
180 if (hnd->base) {
181 munmap((void*)hnd->base, hnd->size);
193 void* base = mmap(0, hnd->size, hnd->prot, MAP_SHARED, hnd->fd, 0); local
194 if (base == MAP_FAILED) {
199 hnd->base = intptr_t(base);
[all...]
/frameworks/base/tests/CoreTests/android/core/
H A DURITest.java48 private static void resolve(String base, String uri, String expected) { argument
49 URI b = URI.create(base);
51 // System.out.println("base=" + base + " uri=" + uri
/frameworks/base/core/java/android/view/
H A DContextThemeWrapper.java37 public ContextThemeWrapper(Context base, int themeres) { argument
38 super(base);
39 mBase = base;
/frameworks/base/telephony/java/android/telephony/
H A DJapanesePhoneNumberFormatter.java184 int base = 0;
191 short value = FORMAT_MAP[base + ch - '0'];
207 base = value;
/frameworks/base/
H A DAndroid.mk205 frameworks/base/core/java/android/accounts/IAccountManager.aidl \
206 frameworks/base/core/java/android/accounts/IAccountManagerResponse.aidl \
207 frameworks/base/core/java/android/accounts/IAccountAuthenticator.aidl \
208 frameworks/base/core/java/android/accounts/IAccountAuthenticatorResponse.aidl \
209 frameworks/base/core/java/android/app/Notification.aidl \
210 frameworks/base/core/java/android/app/PendingIntent.aidl \
211 frameworks/base/core/java/android/bluetooth/BluetoothDevice.aidl \
212 frameworks/base/core/java/android/content/ComponentName.aidl \
213 frameworks/base/core/java/android/content/Intent.aidl \
214 frameworks/base/cor
[all...]
/frameworks/base/core/java/android/backup/
H A DFileBackupHelper.java52 File base = mContext.getFilesDir();
56 fullPaths[i] = (new File(base, files[i])).getAbsolutePath();
/frameworks/base/include/private/ui/
H A Dsw_gralloc_handle.h39 int base; member in struct:android::sw_gralloc_handle_t
48 fd(-1), magic(sMagic), size(0), base(0), prot(0), pid(getpid())
/frameworks/base/libs/binder/
H A DMemoryHeapBase.cpp94 status_t MemoryHeapBase::init(int fd, void *base, int size, int flags, const char* device) argument
100 mBase = base;
127 void* base = (uint8_t*)mmap(0, size, local
129 if (base == MAP_FAILED) {
135 //LOGD("mmap(fd=%d, base=%p, size=%lu)", fd, base, size);
136 mBase = base;
157 //LOGD("munmap(fd=%d, base=%p, size=%lu)", fd, mBase, mSize);
/frameworks/base/core/java/android/text/
H A DDynamicLayout.java42 public DynamicLayout(CharSequence base, argument
47 this(base, base, paint, width, align, spacingmult, spacingadd,
54 * that will be updated as the base text is changed.
56 public DynamicLayout(CharSequence base, CharSequence display, argument
61 this(base, display, paint, width, align, spacingmult, spacingadd,
68 * that will be updated as the base text is changed.
72 public DynamicLayout(CharSequence base, CharSequence display, argument
85 mBase = base;
150 reflow(base,
[all...]
/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/
H A Duiosfunc.h73 /// \class base uiosfunc.h ustl.h
77 /// Example: os << ios::base(15);
79 class base { class in class:ustl::ios
81 inline explicit base (size_t n) : m_Base(n) {} function in class:ustl::ios::base
95 inline ostringstream& operator<< (ostringstream& os, const ios::base& op) { return (op.apply (os)); }
H A Dsistream.cpp69 inline void str_to_num (issiter_t i, issiter_t* iend, uint8_t base, T& v) argument
70 { v = strtol (i, const_cast<char**>(iend), base); }
74 template <> inline void str_to_num (issiter_t i, issiter_t* iend, uint8_t base, long long& v) argument
75 { v = strtoll (i, const_cast<char**>(iend), base); }
H A Dsistream.h55 inline void set_base (short base);
72 /// Sets the numeric base used to read numbers.
73 inline void istringstream::set_base (short base) argument
75 m_Base = base;
/frameworks/base/tools/localize/
H A DPerforce.h13 static int GetResourceFileNames(const string& version, const string& base,
/frameworks/base/media/jni/
H A DAndroid.mk28 frameworks/base/core/jni \
/frameworks/base/core/jni/
H A Dcom_google_android_gles_jni_EGLImpl.cpp148 jint* base = (jint *)_env->GetPrimitiveArrayCritical(major_minor, (jboolean *)0); local
149 if (len >= 1) base[0] = 1;
150 if (len >= 2) base[1] = 0;
151 _env->ReleasePrimitiveArrayCritical(major_minor, base, JNI_ABORT);
169 jint* base = (jint *)_env->GetPrimitiveArrayCritical(value, (jboolean *)0); local
170 success = eglQueryContext(dpy, ctx, attribute, base);
171 _env->ReleasePrimitiveArrayCritical(value, base, JNI_ABORT);
189 jint* base = (jint *)_env->GetPrimitiveArrayCritical(value, (jboolean *)0); local
190 success = eglQuerySurface(dpy, sur, attribute, base);
191 _env->ReleasePrimitiveArrayCritical(value, base, JNI_ABOR
241 jint* base = beginNativeAttribList(_env, attrib_list); local
256 jint* base = beginNativeAttribList(_env, attrib_list); local
284 jint* base = 0; local
[all...]
/frameworks/base/camera/libcameraservice/
H A DCameraHardwareStub.cpp172 void *base = heap->base(); local
175 uint8_t *frame = ((uint8_t *)base) + offset;
291 cam.getNextFrameAsYuv422((uint8_t *)mRawHeap->base());
298 memcpy(heap->base(), kCannedJpeg, kCannedJpegSize);

Completed in 567 milliseconds

123