Searched refs:valid (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/libs/ui/
H A DPixelFormat.cpp81 bool valid = uint32_t(format) < numEntries; local
82 if (!valid) {
H A DInputReader.cpp1390 if (axis.valid) {
1439 if (mRawAxes.x.valid && mRawAxes.y.valid) {
1485 } else if (mRawAxes.toolMajor.valid && mRawAxes.toolMajor.maxValue != 0) {
1507 } else if (mRawAxes.toolMajor.valid && mRawAxes.toolMajor.maxValue != 0) {
1544 } else if (rawPressureAxis.valid && rawPressureAxis.maxValue != 0) {
1560 if (mRawAxes.toolMajor.valid && mRawAxes.toolMajor.maxValue != 0) {
1577 if (mRawAxes.orientation.valid && mRawAxes.orientation.maxValue != 0) {
1634 assert(mRawAxes.x.valid && mRawAxes.y.valid);
[all...]
H A DEventHub.cpp165 outAxisInfo->valid = true;
/frameworks/base/media/libstagefright/
H A DMP3Extractor.cpp320 // out, even if there _were_ 10 bytes of valid mp3 audio data...
346 bool valid = false; local
411 // We found what looks like a valid frame,
416 valid = true;
420 valid = false;
429 valid = false;
435 valid = false;
444 if (valid) {
451 LOGV("no dice, no valid sequence of frames found.");
457 } while (!valid);
[all...]
/frameworks/base/media/java/android/media/
H A DMediaMetadataRetriever.java125 if (!descriptor.valid()) {
/frameworks/base/include/ui/
H A DEventHub.h77 bool valid; // true if the information is valid, false otherwise member in struct:android::RawAbsoluteAxisInfo
87 valid = false;
/frameworks/base/opengl/java/android/opengl/
H A DGLErrorWrapper.java949 int valid = mgl10Ext.glQueryMatrixxOES(mantissa, mantissaOffset,
952 return valid;
957 int valid = mgl10Ext.glQueryMatrixxOES(mantissa, exponent);
959 return valid;
1213 boolean valid = mgl11.glIsBuffer(buffer);
1215 return valid;
1220 boolean valid = mgl11.glIsEnabled(cap);
1222 return valid;
1227 boolean valid = mgl11.glIsTexture(texture);
1229 return valid;
[all...]
H A DGLLogWrapper.java2750 int valid = mgl10Ext.glQueryMatrixxOES(mantissa, mantissaOffset,
2755 return valid;
2763 int valid = mgl10Ext.glQueryMatrixxOES(mantissa, exponent);
2767 return valid;
3465 public ByteBuffer mTempByteBuffer; // Only valid during glDrawXXX calls
/frameworks/base/tools/aidl/
H A Daidl.cpp166 bool valid = false; local
203 valid = (len >= expected.length());
205 if (valid) {
220 valid = (expected == p);
222 valid = !strcasecmp(expected.c_str(), p);
226 if (!valid) {
/frameworks/base/core/java/android/os/
H A DMemoryFile.java121 * will fail, but {@link #getFileDescriptor()} will still return a valid file descriptor.
147 return !mFD.valid();
299 * @throws IOException If <code>fd</code> is not a valid file descriptor.
311 * @throws IOException If <code>fd</code> is not a valid file descriptor.
/frameworks/base/core/tests/coretests/src/android/os/
H A DMemoryFileTest.java245 assertTrue(fd.valid());
/frameworks/base/services/jni/
H A Dcom_android_server_InputManager.cpp692 bool valid = populateWindow(env, inputTargetObj, window); local
693 if (! valid) {
705 bool valid = false; local
791 valid = true;
800 return valid;
/frameworks/base/libs/ui/tests/
H A DInputReader_test.cpp420 info.valid = true;
975 << "Should return unknown when the device id is valid but the sources are not supported by the device.";
979 << "Should return value provided by mapper when device id is valid and the device supports some of the sources.";
1002 << "Should return unknown when the device id is valid but the sources are not supported by the device.";
1006 << "Should return value provided by mapper when device id is valid and the device supports some of the sources.";
1029 << "Should return unknown when the device id is valid but the sources are not supported by the device.";
1033 << "Should return value provided by mapper when device id is valid and the device supports some of the sources.";
1060 << "Should return false when device id is valid but the sources are not supported by the device.";
1065 << "Should return value provided by mapper when device id is valid and the device supports some of the sources.";

Completed in 243 milliseconds