/frameworks/av/libvideoeditor/osal/src/ |
H A D | M4OSA_CharStar.c | 129 * representation in base provided by the parameter base. pStrOut is 141 * @param base: (IN) Base of the character string representation. 154 M4OSA_chrNumBase base) 160 "M4OSA_Char** %x,M4OSA_chrNumBase %d)",pStrIn,pVal,pStrOut,base); 167 switch(base) 222 * representation in base provided by the parameter base. pStrOut is 234 * @param base: (IN) Base of the character string representation. 245 M4OSA_Char** pStrOut, M4OSA_chrNumBase base) 151 M4OSA_chrGetUInt32(M4OSA_Char* pStrIn, M4OSA_UInt32* pVal, M4OSA_Char** pStrOut, M4OSA_chrNumBase base) argument 244 M4OSA_chrGetUInt16(M4OSA_Char* pStrIn, M4OSA_UInt16 *pVal, M4OSA_Char** pStrOut, M4OSA_chrNumBase base) argument [all...] |
/frameworks/base/cmds/screencap/ |
H A D | screencap.cpp | 137 void const* base = 0; local 144 base = screenshot.getPixels(); 164 base = (void const *)((char const *)mapbase + offset); 172 if (base) { 176 b.setPixels((void*)base); 187 write(fd, base, size);
|
/frameworks/base/cmds/screenshot/ |
H A D | screenshot.c | 134 char base[PATH_MAX] = ""; local 137 if (!base[0]) { 140 strcpy(base, outfile); 142 snprintf(outfile, PATH_MAX, "%s-%d.png", base, ++i);
|
/frameworks/native/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 //ALOGD("mmap(fd=%d, base=%p, size=%lu)", fd, base, size); 136 mBase = base; 158 //ALOGD("munmap(fd=%d, base=%p, size=%lu)", fd, mBase, mSize);
|
H A D | IMemory.cpp | 140 void* const base = realHeap->base(); local 141 if (base == MAP_FAILED) 143 return static_cast<char*>(base) + offset; 149 void* const base = heap!=0 ? heap->base() : MAP_FAILED; local 150 if (base == MAP_FAILED) 152 return static_cast<char*>(base) + offset; 471 ALOGD("hey=%p, heap=%p, count=%d, (fd=%d, base=%p, size=%d)",
|
/frameworks/native/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...] |
H A D | state.cpp | 68 void* const base = malloc(extra + sizeof(ogles_context_t) + 32); local 69 if (!base) return 0; 72 (ogles_context_t *)((ptrdiff_t(base) + extra + 31) & ~0x1FL); 91 c->rasterizer.base = base; 114 free(c->rasterizer.base);
|
/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);
|
H A D | Resources.java | 537 * truncating the base value to an integer. 570 * rounding the base value, and ensuring that a non-zero base value 605 * @param base The base value of this fraction. In other words, a 607 * @param pbase The parent base value of this fraction. In other 612 * base value. 616 public float getFraction(int id, int base, int pbase) { argument 621 return TypedValue.complexToFraction(value.data, base, pbase); 1210 * that style will be applied on top of the base attribute [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | Chronometer.java | 41 * and it counts up from that, or if you don't give it a base time, it will use the 81 * Sets the base to the current time. 89 * Sets the base to the current time. 97 * Sets the base to the current time. 119 * @param base Use the {@link SystemClock#elapsedRealtime} time base. 122 public void setBase(long base) { argument 123 mBase = base; 129 * Return the base time as set through {@link #setBase}. 179 * Start counting up. This does not affect the base a [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
H A D | BridgeTypedArray.java | 472 * truncating the base value to an integer. 494 * rounding the base value, and ensuring that a non-zero base value 597 * @param base The base value of this fraction. In other words, a 599 * @param pbase The parent base value of this fraction. In other 606 * base value, or defValue if not defined. 609 public float getFraction(int index, int base, int pbase, float defValue) { argument 625 return mValue.getFraction(base, pbase);
|
/frameworks/native/services/sensorservice/ |
H A D | mat.h | 126 typedef vec< vec<TYPE, R>, C > base; typedef in class:android::mat 141 mat(const mat& rhs) : base(rhs) { } 142 mat(const base& rhs) : base(rhs) { } 156 base::operator=(rhs); 160 mat& operator=(const base& rhs) { 161 base::operator=(rhs); 174 static_cast<const base&>(lhs), 175 static_cast<const base&>(rhs)); 179 static_cast<const base 257 typedef vec<TYPE, R> base; typedef in class:android::mat [all...] |
H A D | vec.h | 303 typedef vbase<TYPE, SIZE> base; typedef in class:android::vec 314 iterator begin() { return base::v; } 315 iterator end() { return base::v + SIZE; } 316 const_iterator begin() const { return base::v; } 317 const_iterator end() const { return base::v + SIZE; } 324 vec(const vec& rhs) : base(rhs) { } 325 vec(const base& rhs) : base(rhs) { } 332 base::operator[](i) = rhs; 342 base [all...] |
/frameworks/base/core/java/android/os/ |
H A D | Environment.java | 639 private static File buildPath(File base, String... segments) { argument 640 File cur = base;
|
/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/services/java/com/android/server/pm/ |
H A D | PackageSettingBase.java | 33 * Settings base class for pending and resolved classes. 92 PackageSettingBase(PackageSettingBase base) { argument 93 super(base); 95 name = base.name; 96 realName = base.realName; 97 codePath = base.codePath; 98 codePathString = base.codePathString; 99 resourcePath = base.resourcePath; 100 resourcePathString = base.resourcePathString; 101 nativeLibraryPathString = base 158 copyFrom(PackageSettingBase base) argument [all...] |
/frameworks/compile/slang/ |
H A D | slang_rs_type_spec.h | 118 struct RSTypeBase base; member in struct:RSPrimitiveType 120 // dt is encoded in base.b[1] 124 struct RSTypeBase base; member in struct:RSPointerType 129 struct RSPrimitiveType base; // base type of vec must be in primitive type member in struct:RSVectorType 131 // vsize is encoded in base.b[2] 138 struct RSTypeBase base; member in struct:RSMatrixType 142 struct RSTypeBase base; member in struct:RSConstantArrayType 145 // esize is encoded in base.bits{8-31} in little-endian way. This implicates 155 struct RSTypeBase base; member in struct:RSRecordType 166 struct RSTypeBase base; member in union:RSType [all...] |
/frameworks/base/native/android/ |
H A D | configuration.cpp | 229 int32_t AConfiguration_match(AConfiguration* base, AConfiguration* requested) { argument 230 return base->match(*requested); 233 int32_t AConfiguration_isBetterThan(AConfiguration* base, AConfiguration* test, argument 235 return base->isBetterThan(*test, requested);
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | DatabaseHelper.java | 2230 private void loadFractionSetting(SQLiteStatement stmt, String key, int resid, int base) { argument 2232 Float.toString(mContext.getResources().getFraction(resid, base, base)));
|
/frameworks/base/core/java/android/text/ |
H A D | DynamicLayout.java | 44 public DynamicLayout(CharSequence base, argument 49 this(base, base, paint, width, align, spacingmult, spacingadd, 56 * that will be updated as the base text is changed. 58 public DynamicLayout(CharSequence base, CharSequence display, argument 63 this(base, display, paint, width, align, spacingmult, spacingadd, 70 * that will be updated as the base text is changed. 74 public DynamicLayout(CharSequence base, CharSequence display, argument 80 this(base, display, paint, width, align, TextDirectionHeuristics.FIRSTSTRONG_LTR, 87 * that will be updated as the base tex 93 DynamicLayout(CharSequence base, CharSequence display, TextPaint paint, int width, Alignment align, TextDirectionHeuristic textDir, float spacingmult, float spacingadd, boolean includepad, TextUtils.TruncateAt ellipsize, int ellipsizedWidth) argument [all...] |
/frameworks/base/core/jni/ |
H A D | com_google_android_gles_jni_EGLImpl.cpp | 131 jint* base = (jint *)_env->GetPrimitiveArrayCritical(major_minor, (jboolean *)0); local 132 if (len >= 1) base[0] = 1; 133 if (len >= 2) base[1] = 0; 134 _env->ReleasePrimitiveArrayCritical(major_minor, base, JNI_ABORT); 152 jint* base = (jint *)_env->GetPrimitiveArrayCritical(value, (jboolean *)0); local 153 success = eglQueryContext(dpy, ctx, attribute, base); 154 _env->ReleasePrimitiveArrayCritical(value, base, JNI_ABORT); 172 jint* base = (jint *)_env->GetPrimitiveArrayCritical(value, (jboolean *)0); local 173 success = eglQuerySurface(dpy, sur, attribute, base); 174 _env->ReleasePrimitiveArrayCritical(value, base, JNI_ABOR 234 jint* base = beginNativeAttribList(_env, attrib_list); local 249 jint* base = beginNativeAttribList(_env, attrib_list); local 277 jint* base = 0; local [all...] |
/frameworks/base/tools/aidl/ |
H A D | aidl.cpp | 342 // for interfaces, also add the service base type, we don't 349 Type* base = new Type(c->package ? c->package : "", local 352 NAMES.Add(base);
|
/frameworks/native/libs/utils/ |
H A D | RefBase.cpp | 62 weakref_impl(RefBase* base) argument 65 , mBase(base) 81 weakref_impl(RefBase* base) argument 84 , mBase(base)
|
/frameworks/base/core/java/android/content/ |
H A D | ContextWrapper.java | 56 public ContextWrapper(Context base) { argument 57 mBase = base; 61 * Set the base context for this ContextWrapper. All calls will then be 62 * delegated to the base context. Throws 63 * IllegalStateException if a base context has already been set. 65 * @param base The new base context for this wrapper. 67 protected void attachBaseContext(Context base) { argument 71 mBase = base; 75 * @return the base contex [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | Keyboard.java | 883 static int getDimensionOrFraction(TypedArray a, int index, int base, int defValue) { argument 890 return Math.round(a.getFraction(index, base, base, defValue));
|