Searched refs:valid (Results 1 - 25 of 39) sorted by last modified time

12

/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java171 * intended to avoid confusion between valid values whose sign may not be known.
1265 // its just to stop default (row/col > 0) constraints obliterating valid entries
1400 if (!entry.valid) {
1448 if (!arc.valid) {
1530 arc.valid = false;
1974 public boolean valid = true; field in class:GridLayout.Arc
1983 return span + " " + (!valid ? "+>" : "->") + " " + value;
/frameworks/compile/slang/
H A Dslang_rs_context.cpp221 bool valid = true; local
237 valid = false;
245 valid = false;
251 if (valid) {
261 valid = false;
265 return valid;
H A Dslang_rs_export_foreach.cpp59 bool valid = true; local
97 valid = false;
130 valid = false;
155 valid = false;
161 valid = false;
165 valid = false;
172 valid = false;
189 valid = false;
198 if (valid) {
223 valid
234 bool valid = true; local
558 bool valid = true; local
[all...]
/frameworks/native/libs/ui/
H A DPixelFormat.cpp122 bool valid = uint32_t(format) < numEntries; local
123 if (!valid) {
/frameworks/native/opengl/libs/EGL/
H A Degl_display.cpp331 // by construction, these are either 0 or valid (possibly terminated)
357 // by construction, these are either 0 or valid (possibly terminated)
449 void egl_display_t::HibernationMachine::setDisplayValid(bool valid) { argument
451 mDpyValid = valid;
H A Degl_display.h70 // add reference to this object. returns true if this is a valid object.
170 void setDisplayValid(bool valid);
/frameworks/base/tools/aidl/
H A Daidl.cpp171 bool valid = false; local
208 valid = (len >= expected.length());
210 if (valid) {
225 valid = (expected == p);
227 valid = !strcasecmp(expected.c_str(), p);
231 if (!valid) {
/frameworks/base/services/common_time/
H A Dcommon_clock_service.cpp41 status_t CommonClockService::isCommonTimeValid(bool* valid, argument
43 return mTimeServer.isCommonTimeValid(valid, timelineID);
H A Dcommon_clock_service.h34 virtual status_t isCommonTimeValid(bool* valid, uint32_t *timelineID);
H A Dcommon_time_server.h56 status_t isCommonTimeValid(bool* valid, uint32_t* timelineID);
235 // network synchronization whenever it has a valid network interface to bind
237 // will only participate in network synchronization when it has both a valid
249 bool mBindIfaceValid; // whether or not the bind Iface is valid.
250 bool mBindIfaceDirty; // whether or not the bind Iface is valid.
H A Dcommon_time_server_api.cpp67 status_t CommonTimeServer::isCommonTimeValid(bool* valid, argument
70 *valid = mCommonClock.isValid();
/frameworks/base/services/input/
H A DEventHub.cpp298 outAxisInfo->valid = true;
H A DEventHub.h67 bool valid; // true if the information is valid, false otherwise member in struct:android::RawAbsoluteAxisInfo
76 valid = false;
H A DInputReader.cpp1792 if (axis.valid) {
2893 // Ensure we have valid X and Y axes.
2894 if (!mRawPointerAxes.x.valid || !mRawPointerAxes.y.valid) {
3038 if (mRawPointerAxes.touchMajor.valid
3041 } else if (mRawPointerAxes.toolMajor.valid
3089 } else if (mRawPointerAxes.pressure.valid
3107 mHaveTilt = mRawPointerAxes.tiltX.valid && mRawPointerAxes.tiltY.valid;
3141 if (mRawPointerAxes.orientation.valid) {
[all...]
H A DInputReader.h560 return info.valid;
/frameworks/base/services/input/tests/
H A DInputReader_test.cpp372 info.valid = true;
1041 << "Should return unknown when the device id is valid but the sources are not supported by the device.";
1045 << "Should return value provided by mapper when device id is valid and the device supports some of the sources.";
1068 << "Should return unknown when the device id is valid but the sources are not supported by the device.";
1072 << "Should return value provided by mapper when device id is valid and the device supports some of the sources.";
1095 << "Should return unknown when the device id is valid but the sources are not supported by the device.";
1099 << "Should return value provided by mapper when device id is valid and the device supports some of the sources.";
1126 << "Should return false when device id is valid but the sources are not supported by the device.";
1131 << "Should return value provided by mapper when device id is valid and the device supports some of the sources.";
1979 // Initially there may not be a valid motio
[all...]
/frameworks/base/services/java/com/android/server/
H A DBluetoothManagerService.java231 // if the valid flag is not set, don't load the address and name
947 boolean valid = false;
950 valid = (callingUser == foregroundUser);
952 Log.d(TAG, "checkIfCallerIsForegroundUser: valid=" + valid
959 return valid;
H A DTelephonyRegistry.java783 boolean valid = false;
786 valid = r.callerUid == foregroundUser && (r.events & events) != 0;
788 Slog.d(TAG, "validateEventsAndUserLocked: valid=" + valid
795 return valid;
/frameworks/base/services/java/com/android/server/display/
H A DDisplayManagerService.java656 + "created from it was not considered valid: " + deviceInfo);
755 mDefaultViewport.valid = false;
756 mExternalTouchViewport.valid = false;
783 if (!mDefaultViewport.valid
787 if (!mExternalTouchViewport.valid
795 viewport.valid = true;
H A DDisplayViewport.java30 // True if this viewport is valid.
31 public boolean valid; field in class:DisplayViewport
54 valid = viewport.valid;
66 return "DisplayViewport{valid=" + valid
/frameworks/base/services/java/com/android/server/input/
H A DInputManagerService.java334 if (defaultViewport.valid) {
338 if (externalTouchViewport.valid) {
340 } else if (defaultViewport.valid) {
/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;
3903 public ByteBuffer mTempByteBuffer; // Only valid during glDrawXXX calls
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
H A DBitmapFactoryTest.java40 assertTrue("Got invalid FileDescriptor", fd.valid());
/frameworks/base/media/java/android/media/
H A DMediaMetadataRetriever.java171 if (!descriptor.valid()) {

Completed in 2198 milliseconds

12