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

/frameworks/base/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/base/media/libstagefright/codecs/mp3dec/include/
H A Dpvmp3decoder_api.h81 flat = 0, enumerator in enum:__anon723
/frameworks/base/core/java/android/view/
H A DInputDevice.java430 float min, float max, float flat, float fuzz) {
431 mMotionRanges.add(new MotionRange(axis, source, min, max, flat, fuzz));
447 private MotionRange(int axis, int source, float min, float max, float flat, float fuzz) { argument
452 mFlat = flat;
497 * Gets the extent of the center flat position with respect to this axis.
499 * For example, a flat value of 8 means that the center position is between -8 and +8.
502 * @return The extent of the center flat position.
617 description.append(" flat=").append(range.mFlat);
429 addMotionRange(int axis, int source, float min, float max, float flat, float fuzz) argument
/frameworks/base/services/input/
H A DEventHub.h65 int32_t flat; // center flat position, eg. flat == 8 means center is between -8 and 8 member in struct:android::RawAbsoluteAxisInfo
73 flat = 0;
H A DInputReader.h1589 float flat; // normalized flat region size member in struct:android::JoystickInputMapper::Axis
1601 float min, float max, float flat, float fuzz) {
1611 this->flat = flat;
1598 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/base/libs/ui/
H A DInput.cpp1214 float flat, float fuzz) {
1215 MotionRange range = { axis, source, min, max, flat, fuzz };
1213 addMotionRange(int32_t axis, uint32_t source, float min, float max, float flat, float fuzz) argument
/frameworks/base/include/ui/
H A DInput.h809 float flat; member in struct:android::InputDeviceInfo::MotionRange
823 float min, float max, float flat, float fuzz);
/frameworks/base/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
1087 const flat_binder_object* flat = readObject(true); local
1225 const flat_binder_object* flat local
1285 const flat_binder_object* flat local
1306 const flat_binder_object* flat local
1320 const flat_binder_object* flat local
1458 const flat_binder_object* flat local
1542 const flat_binder_object* flat local
[all...]
/frameworks/base/services/input/tests/
H A DInputReader_test.cpp338 int32_t minValue, int32_t maxValue, int flat, int fuzz, int resolution = 0) {
345 info.flat = flat;
1458 int32_t axis, uint32_t source, float min, float max, float flat, float fuzz) {
1465 ASSERT_NEAR(flat, range->flat, EPSILON) << "Axis: " << axis << " Source: " << source;
337 addAbsoluteAxis(int32_t deviceId, int axis, int32_t minValue, int32_t maxValue, int flat, int fuzz, int resolution = 0) argument
1457 assertMotionRange(const InputDeviceInfo& info, int32_t axis, uint32_t source, float min, float max, float flat, float fuzz) argument

Completed in 282 milliseconds