Searched defs:flat (Results 1 - 9 of 9) sorted by relevance

/frameworks/native/libs/utils/tests/
H A DBlobCache_test.cpp275 uint8_t* flat = new uint8_t[size]; local
276 ASSERT_EQ(OK, mBC->flatten(flat, size, NULL, 0));
277 ASSERT_EQ(OK, mBC2->unflatten(flat, size, NULL, 0));
278 delete[] flat;
323 uint8_t* flat = new uint8_t[size]; local
324 ASSERT_EQ(OK, mBC->flatten(flat, size, NULL, 0));
325 delete[] flat;
345 uint8_t* flat = new uint8_t[size]; local
346 ASSERT_EQ(BAD_VALUE, mBC->flatten(flat, size, NULL, 0));
347 delete[] flat;
355 uint8_t* flat = new uint8_t[size]; local
372 uint8_t* flat = new uint8_t[size]; local
391 uint8_t* flat = new uint8_t[size]; local
410 uint8_t* flat = new uint8_t[size]; local
[all...]
/frameworks/av/media/libstagefright/codecs/mp3dec/include/
H A Dpvmp3decoder_api.h81 flat = 0, enumerator in enum:__anon666
/frameworks/base/libs/androidfw/
H A DInputDevice.cpp175 float flat, float fuzz) {
176 MotionRange range = { axis, source, min, max, flat, fuzz };
174 addMotionRange(int32_t axis, uint32_t source, float min, float max, float flat, float fuzz) argument
/frameworks/base/include/androidfw/
H A DInputDevice.h65 float flat; member in struct:android::InputDeviceInfo::MotionRange
86 float min, float max, float flat, float fuzz);
/frameworks/base/core/java/android/view/
H A DInputDevice.java569 float min, float max, float flat, float fuzz) {
570 mMotionRanges.add(new MotionRange(axis, source, min, max, flat, fuzz));
611 private MotionRange(int axis, int source, float min, float max, float flat, float fuzz) { argument
616 mFlat = flat;
661 * Gets the extent of the center flat position with respect to this axis.
663 * For example, a flat value of 8 means that the center position is between -8 and +8.
666 * @return The extent of the center flat position.
758 description.append(" flat=").append(range.mFlat);
568 addMotionRange(int axis, int source, float min, float max, float flat, float fuzz) argument
/frameworks/base/services/input/
H A DEventHub.h71 int32_t flat; // center flat position, eg. flat == 8 means center is between -8 and 8 member in struct:android::RawAbsoluteAxisInfo
79 flat = 0;
H A DInputReader.h1734 float flat; // normalized flat region size member in struct:android::JoystickInputMapper::Axis
1746 float min, float max, float flat, float fuzz) {
1756 this->flat = flat;
1743 initialize(const RawAbsoluteAxisInfo& rawAxisInfo, const AxisInfo& axisInfo, bool explicitlyMapped, float scale, float offset, float highScale, float highOffset, float min, float max, float flat, float fuzz) argument
/frameworks/native/libs/binder/
H A DParcel.cpp146 const sp<IBinder>& binder, const flat_binder_object& flat, Parcel* out)
148 return out->writeObject(flat, false);
231 BpBinder* proxy, const flat_binder_object& flat, const Parcel& in)
239 const flat_binder_object* flat = in.readObject(false); local
241 if (flat) {
242 switch (flat->type) {
244 *out = static_cast<IBinder*>(flat->cookie);
245 return finish_unflatten_binder(NULL, *flat, in);
247 *out = proc->getStrongProxyForHandle(flat->handle);
249 static_cast<BpBinder*>(out->get()), *flat, i
145 finish_flatten_binder( const sp<IBinder>& binder, const flat_binder_object& flat, Parcel* out) argument
230 finish_unflatten_binder( BpBinder* proxy, const flat_binder_object& flat, const Parcel& in) argument
258 const flat_binder_object* flat = in.readObject(false); local
429 flat_binder_object* flat local
1096 const flat_binder_object* flat = readObject(true); local
1234 const flat_binder_object* flat local
1294 const flat_binder_object* flat local
1315 const flat_binder_object* flat local
1329 const flat_binder_object* flat local
1467 const flat_binder_object* flat local
1551 const flat_binder_object* flat local
[all...]
/frameworks/base/services/input/tests/
H A DInputReader_test.cpp368 int32_t minValue, int32_t maxValue, int flat, int fuzz, int resolution = 0) {
375 info.flat = flat;
1426 int32_t axis, uint32_t source, float min, float max, float flat, float fuzz) {
1433 ASSERT_NEAR(flat, range->flat, EPSILON) << "Axis: " << axis << " Source: " << source;
367 addAbsoluteAxis(int32_t deviceId, int axis, int32_t minValue, int32_t maxValue, int flat, int fuzz, int resolution = 0) argument
1425 assertMotionRange(const InputDeviceInfo& info, int32_t axis, uint32_t source, float min, float max, float flat, float fuzz) argument

Completed in 1521 milliseconds