Searched defs:value (Results 176 - 200 of 922) sorted by last modified time

1234567891011>>

/frameworks/native/opengl/tests/gl_yuvtex/
H A Dgl_yuvtex.cpp213 EGLint value = -1; local
214 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value);
218 printf("%d (0x%x)", value, value);
/frameworks/native/opengl/tests/hwc/
H A DhwcTestLib.cpp602 // value given by pixel. The contents of pixel is format specific. It's
603 // value should come from a call to hwcTestColor2Pixel().
739 * When possible, converts color specified as a full range value in
1006 EGLint value = -1; local
1008 &value);
1011 testPrintI(" %s: %d (%#x)", names[j].name, value, value);
/frameworks/native/opengl/tests/lib/
H A DglTestLib.cpp110 EGLint value = -1; local
112 &value);
115 testPrintI(" %s: %d (%#x)", names[j].name, value, value);
/frameworks/native/services/inputflinger/
H A DEventHub.cpp78 static inline const char* toString(bool value) { argument
79 return value ? "true" : "false";
406 *outValue = info.value;
527 ev.value = on ? 1 : 0;
602 // The descriptor is assumed to be a stable identifier. Its value should not
646 ev.value = 1;
668 ev.value = 0;
838 ALOGV("%s got: time=%d.%06d, type=%d, code=%d, value=%d",
841 iev.type, iev.code, iev.value);
850 device->timestampOverrideSec = iev.value;
1432 bool value; local
1442 bool value; local
[all...]
H A DEventHub.h77 int32_t value; member in struct:android::RawEvent
84 int32_t minValue; // minimum value
85 int32_t maxValue; // maximum value
87 int32_t fuzz; // error tolerance, eg. fuzz == 4 means value is +/- 4 due to noise
H A DInputDispatcher.cpp80 // that the first event be finished. This value extends the ANR timeout by the specified
95 static inline const char* toString(bool value) { argument
96 return value ? "true" : "false";
154 ALOGE("Motion event has invalid pointer count %zu; value must be between 1 and %d.",
162 ALOGE("Motion event has invalid pointer id %d; value must be between 0 and %d",
1781 inputTarget->scaleFactor, inputTarget->pointerIds.value);
2252 ALOG_ASSERT(pointerIds.value != 0);
3147 touchedWindow.pointerIds.value,
4124 // other value and we need to track the motion so we can send cancellation events for
4457 touchedWindow.pointerIds.value |
[all...]
H A DInputReader.cpp86 inline static T abs(const T& value) { argument
87 return value < 0 ? - value : value;
110 inline static int32_t signExtendNybble(int32_t value) { argument
111 return value >= 8 ? value - 16 : value;
114 static inline const char* toString(bool value) { argument
115 return value
118 rotateValueUsingRotationMap(int32_t value, int32_t orientation, const int32_t map[][4], size_t mapSize) argument
6996 setPointerCoordsAxisValue(PointerCoords* pointerCoords, int32_t axis, float value) argument
[all...]
H A DInputReader.h42 // Maximum allowable delay value in a vibration pattern before
206 // cosine of the angle between the two vectors is greater than or equal to than this value
644 int32_t value; local
645 getEventHub()->getAbsoluteAxisValue(mId, code, &value);
646 return value;
1950 float currentValue; // current value
1951 float newValue; // most recent value
1952 float highCurrentValue; // current value of high split
1953 float highNewValue; // most recent value of high split
2002 float value);
[all...]
/frameworks/native/services/inputflinger/host/
H A DInputDriver.cpp117 input_collection_id_t id, input_usage_t usage, int32_t value, int32_t arity_index) { }
120 input_collection_id_t id, input_usage_t usage, bool value, int32_t arity_index) { }
116 input_report_set_usage_int(input_host_t* host, input_report_t* r, input_collection_id_t id, input_usage_t usage, int32_t value, int32_t arity_index) argument
119 input_report_set_usage_bool(input_host_t* host, input_report_t* r, input_collection_id_t id, input_usage_t usage, bool value, int32_t arity_index) argument
/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp25 // An arbitrary time value.
366 void addConfigurationProperty(int32_t deviceId, const String8& key, const String8& value) { argument
368 device->configuration.addProperty(key, value);
410 void setAbsoluteAxisValue(int32_t deviceId, int32_t axis, int32_t value) { argument
412 device->absoluteAxisValue.replaceValueFor(axis, value);
449 int32_t code, int32_t value) {
455 event.value = value;
459 setAbsoluteAxisValue(deviceId, code, value);
1065 << "Should return value provide
448 enqueueEvent(nsecs_t when, int32_t deviceId, int32_t type, int32_t code, int32_t value) argument
1420 addConfigurationProperty(const char* key, const char* value) argument
1437 process(InputMapper* mapper, nsecs_t when, int32_t deviceId, int32_t type, int32_t code, int32_t value) argument
2670 processKey( SingleTouchInputMapper* mapper, int32_t code, int32_t value) argument
3858 processKey( MultiTouchInputMapper* mapper, int32_t code, int32_t value) argument
[all...]
/frameworks/native/services/sensorservice/
H A DSensorService.cpp179 // Compare the socketBufferSize value against the system limits and limit
719 char value[PROPERTY_VALUE_MAX]; local
720 property_get("debug.sensors", value, "0");
721 const Vector<Sensor>& initialSensorList = (atoi(value)) ?
862 // Immediately send down the last known value of the requested sensor if it's not a
1460 bool value) {
1465 flushInfo.mFirstFlushPending = value;
1459 setFirstFlushPending(int32_t handle, bool value) argument
H A Dtraits.h47 enum { value = -1 }; enumerator in enum:android::TL::IndexOf::__anon1481
52 enum { value = 0 }; enumerator in enum:android::TL::IndexOf::__anon1482
58 enum { temp = IndexOf<Tail, T>::value };
60 enum { value = temp == -1 ? -1 : 1 + temp }; enumerator in enum:android::TL::IndexOf::__anon1484
104 enum { isStdUnsignedInt = TL::IndexOf<UnsignedInts, T>::value >= 0 };
105 enum { isStdSignedInt = TL::IndexOf<SignedInts, T>::value >= 0 };
106 enum { isStdIntegral = TL::IndexOf<OtherInts, T>::value >= 0 || isStdUnsignedInt || isStdSignedInt };
107 enum { isStdFloat = TL::IndexOf<Floats, T>::value >= 0 };
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp102 char value[PROPERTY_VALUE_MAX]; local
103 property_get("debug.sf.no_hw_vsync", value, "0");
104 mDebugForceFakeVSync = atoi(value);
347 // use zero as default value for unspecified attributes
H A DVirtualDisplaySurface.cpp488 int VirtualDisplaySurface::query(int what, int* value) { argument
491 *value = mSinkBufferWidth;
494 *value = mSinkBufferHeight;
497 return mSource[SOURCE_SINK]->query(what, value);
/frameworks/native/services/surfaceflinger/EventLog/
H A DEventLog.cpp92 void EventLog::TagBuffer::writeInt32(int32_t value) { argument
94 const size_t needed = 1 + sizeof(value);
100 memcpy(&mStorage[mPos + 1], &value, sizeof(value));
104 void EventLog::TagBuffer::writeInt64(int64_t value) { argument
106 const size_t needed = 1 + sizeof(value);
112 memcpy(&mStorage[mPos + 1], &value, sizeof(value));
116 void EventLog::TagBuffer::writeString8(const String8& value) { argument
118 const int32_t stringLen = value
[all...]
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.cpp91 int MonitoredProducer::query(int what, int* value) { argument
92 return mProducer->query(what, value);
H A DSurfaceFlinger.cpp100 // image is displayed. This value may be either positive (after the HW vsync)
161 char value[PROPERTY_VALUE_MAX]; local
163 property_get("ro.bq.gpu_to_cpu_unsupported", value, "0");
164 mGpuToCpuSupported = !atoi(value);
166 property_get("debug.sf.showupdates", value, "0");
167 mDebugRegion = atoi(value);
169 property_get("debug.sf.ddms", value, "0");
170 mDebugDDMS = atoi(value);
620 // TODO: where should this value come from?
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DProgramCache.h77 inline Key& set(key_t mask, key_t value) { argument
78 mKey = (mKey & ~mask) | value;
H A DRenderEngine.cpp294 EGLint value = 0; local
295 eglGetConfigAttrib(dpy, configs[i], attribute, &value);
296 if (wanted == value) {
339 void operator = (EGLint value) { argument
341 v.mList.add(attribute, value);
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DPooledCache.java22 V put(K key, V value); argument
H A DUnrefedBitmapCache.java32 * when the same key is used to retrieve the value, a {@link NullReusableBitmap} singleton will
72 protected int sizeOf(final ReusableBitmap value) { argument
73 return value.getByteCount();
108 public void offer(final ReusableBitmap value) { argument
110 super.offer(value);
131 public ReusableBitmap put(final RequestKey key, final ReusableBitmap value) { argument
132 if (mNullRequests != null && (value == null || value == NullReusableBitmap.getInstance())) {
137 return super.put(key, value);
H A DUnrefedPooledCache.java88 public V put(K key, V value) { argument
91 if (value == null) {
97 if (value.isEligibleForPooling()) {
98 prev = mCache.put(key, value);
100 prev = mNonPooledCache.put(key, value);
110 public void offer(V value) { argument
112 if (value.getRefCount() != 0 || !value.isEligibleForPooling()) {
114 throw new IllegalArgumentException("unexpected offer of an invalid object: " + value);
116 mPool.offer(value);
165 sizeOf(V value) argument
227 sizeOf(K key, V value) argument
[all...]
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/
H A DBmsgTokenizer.java37 public final String value; field in class:BmsgTokenizer.Property
39 public Property(String name, String value) { argument
40 if (name == null || value == null) {
45 this.value = value;
52 return name + ":" + value;
57 return ((o instanceof Property) && ((Property) o).name.equals(name) && ((Property) o).value
58 .equals(value));
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/utils/
H A DBmsgTokenizer.java37 public final String value; field in class:BmsgTokenizer.Property
39 public Property(String name, String value) { argument
40 if (name == null || value == null) {
45 this.value = value;
52 return name + ":" + value;
57 return ((o instanceof Property) && ((Property) o).name.equals(name) && ((Property) o).value
58 .equals(value));
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/
H A DBindingAdapter.java24 * and the value to set:
61 * parameter as well. If it does, it will be passed the value passed in during binding, either
62 * directly in the inflate method or indirectly, using the value from
74 String[] value(); method in interface:BindingAdapter

Completed in 737 milliseconds

1234567891011>>