Searched defs:base (Results 51 - 75 of 86) sorted by relevance

1234

/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A DIPTestListJB.java85 private TestName(String s, int g, float base) { argument
88 baseline = base;
/frameworks/support/v4/java/android/support/v4/content/
H A DFileProvider.java752 private static File buildPath(File base, String... segments) { argument
753 File cur = base;
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DTintTypedArray.java140 public float getFraction(int index, int base, int pbase, float defValue) { argument
141 return mWrapped.getFraction(index, base, pbase, defValue);
H A DResourcesWrapper.java125 public float getFraction(int id, int base, int pbase) { argument
126 return mResources.getFraction(id, base, pbase);
/frameworks/base/core/java/android/util/
H A DTypedValue.java208 * Retrieve the base value from a complex data integer. This uses the
276 * conversion involves rounding the base value, and ensuring that a
277 * non-zero base value is at least one pixel in size.
381 * @param base The base value of this fraction. In other words, a
383 * @param pbase The parent base value of this fraction. In other
388 * base value depending on its unit.
390 public static float complexToFraction(int data, float base, float pbase) argument
394 return complexToFloat(data) * base;
405 * @param base Th
414 getFraction(float base, float pbase) argument
[all...]
/frameworks/base/native/android/
H A Dconfiguration.cpp229 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 DDatabaseHelper.java2672 private void loadFractionSetting(SQLiteStatement stmt, String key, int resid, int base) { argument
2674 Float.toString(mContext.getResources().getFraction(resid, base, base)));
/frameworks/base/services/core/java/com/android/server/notification/
H A DDowntimeConditionProvider.java104 public void attachBase(Context base) { argument
105 attachBaseContext(base);
/frameworks/native/libs/binder/
H A DIMemory.cpp140 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;
469 ALOGD("hey=%p, heap=%p, count=%d, (fd=%d, base=%p, size=%zu)",
/frameworks/native/opengl/libagl/
H A Dstate.cpp68 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/native/services/sensorservice/
H A Dvec.h303 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/rs/cpp/
H A DScriptIntrinsics.cpp541 void ScriptIntrinsicLUT::setTable(unsigned int offset, unsigned char base, unsigned int length, unsigned char* lutValues) { argument
542 if ((base + length) > 256 || length == 0) {
548 mCache[offset + base + i] = lutValues[i];
552 void ScriptIntrinsicLUT::setRed(unsigned char base, unsigned int length, unsigned char* lutValues) { argument
553 setTable(0, base, length, lutValues);
556 void ScriptIntrinsicLUT::setGreen(unsigned char base, unsigned int length, unsigned char* lutValues) { argument
557 setTable(256, base, length, lutValues);
560 void ScriptIntrinsicLUT::setBlue(unsigned char base, unsigned int length, unsigned char* lutValues) { argument
561 setTable(512, base, length, lutValues);
564 void ScriptIntrinsicLUT::setAlpha(unsigned char base, unsigne argument
[all...]
/frameworks/base/core/java/android/os/
H A DEnvironment.java826 * Append path segments to each given base path, returning result.
830 public static File[] buildPaths(File[] base, String... segments) { argument
831 File[] result = new File[base.length];
832 for (int i = 0; i < base.length; i++) {
833 result[i] = buildPath(base[i], segments);
839 * Append path segments to given base path, returning result.
843 public static File buildPath(File base, String... segments) { argument
844 File cur = base;
/frameworks/base/core/java/android/text/
H A DDynamicLayout.java45 public DynamicLayout(CharSequence base, argument
50 this(base, base, paint, width, align, spacingmult, spacingadd,
57 * that will be updated as the base text is changed.
59 public DynamicLayout(CharSequence base, CharSequence display, argument
64 this(base, display, paint, width, align, spacingmult, spacingadd,
71 * that will be updated as the base text is changed.
75 public DynamicLayout(CharSequence base, CharSequence display, argument
81 this(base, display, paint, width, align, TextDirectionHeuristics.FIRSTSTRONG_LTR,
88 * that will be updated as the base tex
94 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/services/core/java/com/android/server/am/
H A DProcessList.java309 private static String buildOomTag(String prefix, String space, int val, int base) { argument
310 if (val == base) {
314 return prefix + "+" + Integer.toString(val-base);
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageSettingBase.java30 * Settings base class for pending and resolved classes.
51 * this is path to single base APK file; for cluster packages this is
127 PackageSettingBase(PackageSettingBase base) { argument
128 super(base);
130 name = base.name;
131 realName = base.realName;
132 codePath = base.codePath;
133 codePathString = base.codePathString;
134 resourcePath = base.resourcePath;
135 resourcePathString = base
203 copyFrom(PackageSettingBase base) argument
[all...]
/frameworks/base/tools/aidl/
H A Daidl.cpp349 // for interfaces, also add the service base type, we don't
356 Type* base = new Type(c->package ? c->package : "", local
359 NAMES.Add(base);
H A Dgenerate_java_rpc.cpp803 // the service base class
836 // == the dispatch method in the service base class ======================
848 // == the push method in the service base class =========================
883 // == the event method in the listener base class =====================
966 // the service base class
967 EndpointBaseClass* base = new EndpointBaseClass(iface); local
968 proxy->elements.push_back(base);
979 generate_event_method((method_type*)item, proxy, base, listener, presenter, index);
981 generate_regular_method((method_type*)item, proxy, base, results, index);
988 base
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DLinearLayoutManagerTest.java77 protected List<Config> addConfigVariation(List<Config> base, String fieldName, argument
82 for (Config config : base) {
/frameworks/base/core/java/android/content/
H A DContextWrapper.java53 public ContextWrapper(Context base) { argument
54 mBase = base;
58 * Set the base context for this ContextWrapper. All calls will then be
59 * delegated to the base context. Throws
60 * IllegalStateException if a base context has already been set.
62 * @param base The new base context for this wrapper.
64 protected void attachBaseContext(Context base) { argument
68 mBase = base;
72 * @return the base contex
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboard.java883 static int getDimensionOrFraction(TypedArray a, int index, int base, int defValue) { argument
890 return Math.round(a.getFraction(index, base, base, defValue));
/frameworks/base/core/jni/
H A Dcom_google_android_gles_jni_EGLImpl.cpp136 jint* base = (jint *)_env->GetPrimitiveArrayCritical(major_minor, (jboolean *)0); local
137 if (len >= 1) base[0] = 1;
138 if (len >= 2) base[1] = 0;
139 _env->ReleasePrimitiveArrayCritical(major_minor, base, 0);
157 jint* base = _env->GetIntArrayElements(value, (jboolean *)0); local
158 success = eglQueryContext(dpy, ctx, attribute, base);
159 _env->ReleaseIntArrayElements(value, base, 0);
177 jint* base = _env->GetIntArrayElements(value, (jboolean *)0); local
178 success = eglQuerySurface(dpy, sur, attribute, base);
179 _env->ReleaseIntArrayElements(value, base,
239 jint* base = beginNativeAttribList(_env, attrib_list); local
254 jint* base = beginNativeAttribList(_env, attrib_list); local
281 jint* base = 0; local
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_ImageReader.cpp339 uint8_t **base, uint32_t *size, int32_t readerFormat)
342 ALOG_ASSERT(base != NULL, "base is NULL!!!");
481 *base = pData;
910 uint8_t *base = NULL; local
925 Image_getLockedBufferInfo(env, buffer, idx, &base, &size, readerFormat);
934 byteBuffer = env->NewDirectByteBuffer(base, size);
338 Image_getLockedBufferInfo(JNIEnv* env, CpuConsumer::LockedBuffer* buffer, int idx, uint8_t **base, uint32_t *size, int32_t readerFormat) argument
/frameworks/native/libs/input/
H A DKeyCharacterMap.cpp165 sp<KeyCharacterMap> KeyCharacterMap::combine(const sp<KeyCharacterMap>& base, argument
168 return base;
170 if (base == NULL) {
174 sp<KeyCharacterMap> map = new KeyCharacterMap(*base.get());
274 // For example, the base key behavior will usually be last in the list.
428 // For example, the base key behavior will usually be last in the list.
1052 if (token == "base") {
/frameworks/native/opengl/libs/ETC1/
H A Detc1.cpp40 | base col1 | base col2 | base col1 | base col2 |
46 | base col1 | base col2 | table | table |diff|flip|
55 | base col1 | dcol 2 | base col1 | dcol 2 |
61 | base col 1 | dcol 2 | table | table |diff|flip|
162 inline int convertDiff(int base, in argument
[all...]

Completed in 8390 milliseconds

1234