Home
last modified time | relevance | path

Searched refs:reqValue (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/opengl/libagl/
Degl.cpp786 bool (*match)(GLint reqValue, GLint confValue);
787 static bool atLeast(GLint reqValue, GLint confValue) { in atLeast()
788 return (reqValue == EGL_DONT_CARE) || (confValue >= reqValue); in atLeast()
790 static bool exact(GLint reqValue, GLint confValue) { in exact()
791 return (reqValue == EGL_DONT_CARE) || (confValue == reqValue); in exact()
793 static bool mask(GLint reqValue, GLint confValue) { in mask()
794 return (confValue & reqValue) == reqValue; in mask()
796 static bool ignore(GLint reqValue, GLint confValue) { in ignore()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1947 int reqValue = (requested->density?requested->density:160); in isBetterThan() local
1948 if (reqValue >= h) { in isBetterThan()
1952 if (l >= reqValue) { in isBetterThan()
1957 if (((2 * l) - reqValue) * h > reqValue * reqValue) { in isBetterThan()