/frameworks/base/core/java/android/content/ |
H A D | MutableContextWrapper.java | 20 * 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...] |
/frameworks/base/cmds/system_server/library/ |
H A D | Android.mk | 7 base = $(LOCAL_PATH)/../../.. macro 10 $(base)/services/camera/libcameraservice \ 11 $(base)/services/audioflinger \ 12 $(base)/services/surfaceflinger \ 13 $(base)/services/sensorservice \ 14 $(base)/media/libmediaplayerservice \
|
/frameworks/base/media/mediaserver/ |
H A D | Android.mk | 14 base := $(LOCAL_PATH)/../.. macro 17 $(base)/services/audioflinger \ 18 $(base)/services/camera/libcameraservice \ 19 $(base)/media/libmediaplayerservice
|
/frameworks/base/cmds/screencap/ |
H A D | screencap.cpp | 31 void const* base = screenshot.getPixels(); local 39 write(fd, base, w*h*4);
|
/frameworks/base/include/binder/ |
H A D | IMemory.h | 49 void* base() const { return getBase(); } function in class:android::IMemoryHeap
|
/frameworks/base/libs/ui/ |
H A D | GraphicLog.cpp | 32 void writeInt32(uint8_t* base, size_t& pos, int32_t value) { argument 38 base[pos] = EVENT_TYPE_INT; 39 memcpy(&base[pos+1], &v, sizeof(int32_t)); 44 void writeInt64(uint8_t* base, size_t& pos, int64_t value) { argument 50 base[pos] = EVENT_TYPE_LONG; 51 memcpy(&base[pos+1], &v, sizeof(int64_t));
|
H A D | GraphicBufferMapper.cpp | 159 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/media/libstagefright/codecs/aacdec/ |
H A D | huffcb.cpp | 34 change variables 'base', 'sect_len_inc', and 'esc_val' to 89 UChar base = number of sfb in already detected sections 177 FOR (base = 0; base<total_sfb AND num_of_section<total_sfb) 182 WHILE (sect_length_incr == ESC_value AND base < total_sfb) 184 base += ESC_value; 189 base += sect_length_incr; 190 *pSect++ = base; 196 base += sfb_per_win - max_sfb; 197 *pSect++ = base; 295 Int base; /* section boundary */ local [all...] |
/frameworks/base/opengl/tests/angeles/ |
H A D | gpustate.c | 8 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/tests/CoreTests/android/core/ |
H A D | URITest.java | 48 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 D | ContextThemeWrapper.java | 37 public ContextThemeWrapper(Context base, int themeres) { argument 38 super(base); 39 mBase = base;
|
/frameworks/base/include/media/stagefright/foundation/ |
H A D | ABuffer.h | 37 uint8_t *base() { return (uint8_t *)mData; } function in struct:android::ABuffer
|
/frameworks/base/include/private/ui/ |
H A D | sw_gralloc_handle.h | 39 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 D | MemoryHeapBase.cpp | 94 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);
|
H A D | IMemory.cpp | 138 void* const base = realHeap->base(); local 139 if (base == MAP_FAILED) 141 return static_cast<char*>(base) + offset; 147 void* const base = heap!=0 ? heap->base() : MAP_FAILED; local 148 if (base == MAP_FAILED) 150 return static_cast<char*>(base) + offset; 460 LOGD("hey=%p, heap=%p, count=%d, (fd=%d, base=%p, size=%d)",
|
/frameworks/base/opengl/libagl/ |
H A D | mipmap.cpp | 33 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/tools/localize/ |
H A D | Perforce.cpp | 99 Perforce::GetResourceFileNames(const string& version, const string& base, argument 111 cmd << " \"" << base << '/' << apps[i] << "/res/values/strings.xml@" << version << '"';
|
/frameworks/base/core/java/android/content/res/ |
H A D | TypedArray.java | 407 * truncating the base value to an integer. 439 * rounding the base value, and ensuring that a non-zero base value 527 * @param base The base value of this fraction. In other words, a 529 * @param pbase The parent base value of this fraction. In other 536 * base value, or defValue if not defined. 538 public float getFraction(int index, int base, int pbase, float defValue) { argument 546 data[index+AssetManager.STYLE_DATA], base, pbase);
|
/frameworks/base/core/java/android/widget/ |
H A D | Chronometer.java | 38 * and it counts up from that, or if you don't give it a base time, it will use the 78 * Sets the base to the current time. 86 * Sets the base to the current time. 94 * Sets the base to the current time. 116 * @param base Use the {@link SystemClock#elapsedRealtime} time base. 119 public void setBase(long base) { argument 120 mBase = base; 126 * Return the base time as set through {@link #setBase}. 176 * Start counting up. This does not affect the base a [all...] |
/frameworks/base/media/libstagefright/omx/ |
H A D | OMXComponentBase.cpp | 166 OMX_COMPONENTTYPE *OMXComponentBase::MakeComponent(OMXComponentBase *base) { argument 174 result->pComponentPrivate = base; 196 base->setComponentHandle(result);
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | DatabaseHelper.java | 1225 private void loadFractionSetting(SQLiteStatement stmt, String key, int resid, int base) { argument 1227 Float.toString(mContext.getResources().getFraction(resid, base, base)));
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeTypedArray.java | 438 * truncating the base value to an integer. 460 * rounding the base value, and ensuring that a non-zero base value 563 * @param base The base value of this fraction. In other words, a 565 * @param pbase The parent base value of this fraction. In other 572 * base value, or defValue if not defined. 575 public float getFraction(int index, int base, int pbase, float defValue) { argument 586 return mValue.getFraction(base, pbase);
|
/frameworks/base/core/java/android/text/ |
H A D | DynamicLayout.java | 42 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/core/java/android/util/ |
H A D | TypedValue.java | 197 * Retrieve the base value from a complex data integer. This uses the 265 * conversion involves rounding the base value, and ensuring that a 266 * non-zero base value is at least one pixel in size. 362 * @param base The base value of this fraction. In other words, a 364 * @param pbase The parent base value of this fraction. In other 369 * base value depending on its unit. 371 public static float complexToFraction(int data, float base, float pbase) argument 375 return complexToFloat(data) * base; 386 * @param base Th 395 getFraction(float base, float pbase) argument [all...] |
/frameworks/base/include/ui/egl/ |
H A D | android_natives.h | 67 void (*incRef)(struct android_native_base_t* base); 68 void (*decRef)(struct android_native_base_t* base); 402 static inline TYPE* getSelf(android_native_base_t* base) { argument 403 return getSelf(reinterpret_cast<NATIVE_TYPE*>(base)); 405 static inline TYPE const * getSelf(android_native_base_t const* base) { argument 406 return getSelf(reinterpret_cast<NATIVE_TYPE const*>(base)); 408 static void incRef(android_native_base_t* base) { argument 409 EGLNativeBase* self = getSelf(base); 412 static void decRef(android_native_base_t* base) { argument 413 EGLNativeBase* self = getSelf(base); [all...] |