Searched defs:base (Results 26 - 50 of 86) sorted by relevance

1234

/frameworks/native/include/binder/
H A DIMemory.h50 void* base() const { return getBase(); } function in class:android::IMemoryHeap
/frameworks/support/v17/leanback/src/android/support/v17/leanback/animation/
H A DLogAccelerateInterpolator.java27 public LogAccelerateInterpolator(int base, int drift) { argument
28 mBase = base;
33 static float computeLog(float t, int base, int drift) { argument
34 return (float) -Math.pow(base, -t) + 1 + (drift * t);
H A DLogDecelerateInterpolator.java27 public LogDecelerateInterpolator(int base, int drift) { argument
28 mBase = base;
34 static float computeLog(float t, int base, int drift) { argument
35 return (float) -Math.pow(base, -t) + 1 + (drift * t);
/frameworks/av/include/media/stagefright/foundation/
H A DABuffer.h38 uint8_t *base() { return (uint8_t *)mData; } function in struct:android::ABuffer
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DValueTarget.java17 package androidx.media.filterpacks.base;
/frameworks/base/tools/aidl/
H A Dgenerate_java.cpp9 VariableFactory::VariableFactory(const string& base) argument
10 :m_base(base),
/frameworks/base/core/java/android/view/
H A DContextThemeWrapper.java39 public ContextThemeWrapper(Context base, int themeres) { argument
40 super(base);
/frameworks/base/libs/androidfw/tests/data/basic/
H A DR.h20 namespace base { namespace
70 } // namespace base
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DCallbackFilter.java18 package android.filterpacks.base;
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DBroadcastInterceptingContext.java80 public BroadcastInterceptingContext(Context base) { argument
81 super(base);
/frameworks/native/include/ui/
H A DANativeObjectBase.h81 static inline TYPE* getSelf(android_native_base_t* base) { argument
82 return getSelf(reinterpret_cast<NATIVE_TYPE*>(base));
84 static inline TYPE const * getSelf(android_native_base_t const* base) { argument
85 return getSelf(reinterpret_cast<NATIVE_TYPE const*>(base));
87 static void incRef(android_native_base_t* base) { argument
88 ANativeObjectBase* self = getSelf(base);
91 static void decRef(android_native_base_t* base) { argument
92 ANativeObjectBase* self = getSelf(base);
/frameworks/native/libs/binder/
H A DMemoryHeapBase.cpp89 status_t MemoryHeapBase::init(int fd, void *base, int size, int flags, const char* device) argument
95 mBase = base;
113 void* base = (uint8_t*)mmap(0, size, local
115 if (base == MAP_FAILED) {
121 //ALOGD("mmap(fd=%d, base=%p, size=%lu)", fd, base, size);
122 mBase = base;
144 //ALOGD("munmap(fd=%d, base=%p, size=%lu)", fd, mBase, mSize);
/frameworks/support/tests/java/android/support/v4/app/
H A DNotificationCompatActionWearableExtenderTest.java73 // Test that the base WearableExtender from an empty Notification is equal to the compat.
245 private void assertExtendersEqual(Notification.Action.WearableExtender base, argument
247 assertEquals(base.isAvailableOffline(), compat.isAvailableOffline());
248 assertEquals(base.getInProgressLabel(), compat.getInProgressLabel());
249 assertEquals(base.getConfirmLabel(), compat.getConfirmLabel());
250 assertEquals(base.getCancelLabel(), compat.getCancelLabel());
253 // Parse the Notification using the base parser and the compat parser and confirm
270 Notification.Action.WearableExtender base =
274 assertExtendersEqual(base, compat);
/frameworks/support/v4/java/android/support/v4/content/
H A DContextCompat.java293 private static File buildPath(File base, String... segments) { argument
294 File cur = base;
/frameworks/base/cmds/screencap/
H A Dscreencap.cpp138 void const* base = 0; local
145 base = screenshot.getPixels();
167 base = (void const *)((char const *)mapbase + offset);
175 if (base) {
180 b.installPixels(info, const_cast<void*>(base), s*bytesPerPixel(f));
193 write(fd, base, w*Bpp);
194 base = (void *)((char *)base + s*Bpp);
/frameworks/base/services/core/java/com/android/server/notification/
H A DCountdownConditionProvider.java157 public void attachBase(Context base) { argument
158 attachBaseContext(base);
H A DNextAlarmConditionProvider.java126 public void attachBase(Context base) { argument
127 attachBaseContext(base);
/frameworks/native/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/support/tests/java/android/support/v4/content/
H A DFileProviderTest.java342 private static File buildPath(File base, String... segments) { argument
343 File cur = base;
/frameworks/base/core/java/android/content/res/
H A DTypedArray.java504 * truncating the base value to an integer.
542 * rounding the base value, and ensuring that a non-zero base value
646 * @param base The base value of this fraction. In other words, a
648 * @param pbase The parent base value of this fraction. In other
655 * base value, or defValue if not defined.
657 public float getFraction(int index, int base, int pbase, float defValue) { argument
669 data[index+AssetManager.STYLE_DATA], base, pbase);
/frameworks/base/core/java/android/printservice/
H A DPrintService.java39 * This is the base class for implementing print services. A print service knows
244 protected final void attachBaseContext(Context base) { argument
245 super.attachBaseContext(base);
246 mHandler = new ServiceHandler(base.getMainLooper());
/frameworks/base/core/java/android/widget/
H A DChronometer.java39 * and it counts up from that, or if you don't give it a base time, it will use the
79 * Sets the base to the current time.
87 * Sets the base to the current time.
95 * Sets the base to the current time.
120 * @param base Use the {@link SystemClock#elapsedRealtime} time base.
123 public void setBase(long base) { argument
124 mBase = base;
130 * Return the base time as set through {@link #setBase}.
180 * Start counting up. This does not affect the base a
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DBridgeTypedArray.java387 * truncating the base value to an integer.
409 * rounding the base value, and ensuring that a non-zero base value
505 * @param base The base value of this fraction. In other words, a
507 * @param pbase The parent base value of this fraction. In other
514 * base value, or defValue if not defined.
517 public float getFraction(int index, int base, int pbase, float defValue) { argument
524 return mValue.getFraction(base, pbase);
/frameworks/base/tools/split-select/
H A DMain.cpp40 "split-select --target <config> --base <path/to/apk> [--split <path/to/apk> [...]]\n"
41 "split-select --generate --base <path/to/apk> [--split <path/to/apk> [...]]\n"
46 " --base <path/to/apk> Specifies the base APK, from which all Split APKs must be based off.\n"
71 void generate(const KeyedVector<String8, Vector<SplitDescription> >& splits, const String8& base) { argument
83 if (splits.keyAt(i) == base) {
84 // Skip the base.
269 } else if (arg == "--base") {
273 fprintf(stderr, "error: missing parameter for --base.\n");
279 fprintf(stderr, "error: multiple --base flag
[all...]
/frameworks/native/services/sensorservice/
H A Dmat.h126 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...]

Completed in 696 milliseconds

1234