Home
last modified time | relevance | path

Searched refs:major (Results 1 – 25 of 81) sorted by relevance

1234

/frameworks/base/core/java/android/view/
DScaleGestureDetector.java233 float major; in addTouchHistory() local
235 major = ev.getHistoricalTouchMajor(i, h); in addTouchHistory()
237 major = ev.getTouchMajor(i); in addTouchHistory()
239 if (major < mTouchMinMajor) major = mTouchMinMajor; in addTouchHistory()
240 total += major; in addTouchHistory()
242 if (Float.isNaN(mTouchUpper) || major > mTouchUpper) { in addTouchHistory()
243 mTouchUpper = major; in addTouchHistory()
245 if (Float.isNaN(mTouchLower) || major < mTouchLower) { in addTouchHistory()
246 mTouchLower = major; in addTouchHistory()
250 final int directionSig = (int) Math.signum(major - mTouchHistoryLastAccepted); in addTouchHistory()
/frameworks/native/opengl/libs/EGL/
Degl_display.cpp121 EGLBoolean egl_display_t::initialize(EGLint *major, EGLint *minor) { in initialize() argument
128 if (major != NULL) in initialize()
129 *major = VERSION_MAJOR; in initialize()
158 cnx->major = -1; in initialize()
162 if (cnx->egl.eglInitialize(idpy, &cnx->major, &cnx->minor)) { in initialize()
225 if (major != NULL) in initialize()
226 *major = VERSION_MAJOR; in initialize()
Degldefs.h43 EGLint major; member
Degl_display.h61 EGLBoolean initialize(EGLint *major, EGLint *minor);
/frameworks/native/services/surfaceflinger/RenderEngine/
DRenderEngine.cpp181 int major, minor; in parseGlesVersion() local
182 if (sscanf(str, "OpenGL ES-CM %d.%d", &major, &minor) != 2) { in parseGlesVersion()
183 if (sscanf(str, "OpenGL ES %d.%d", &major, &minor) != 2) { in parseGlesVersion()
189 if (major == 1 && minor == 0) return GLES_VERSION_1_0; in parseGlesVersion()
190 if (major == 1 && minor >= 1) return GLES_VERSION_1_1; in parseGlesVersion()
191 if (major == 2 && minor >= 0) return GLES_VERSION_2_0; in parseGlesVersion()
192 if (major == 3 && minor >= 0) return GLES_VERSION_3_0; in parseGlesVersion()
194 ALOGW("Unrecognized OpenGL ES version: %d.%d", major, minor); in parseGlesVersion()
/frameworks/native/opengl/libs/GLES_trace/src/
Dgltrace_context.cpp177 int major, minor; in parseGlesVersion() local
178 if (sscanf(str, "OpenGL ES-CM %d.%d", &major, &minor) != 2) { in parseGlesVersion()
179 if (sscanf(str, "OpenGL ES %d.%d", &major, &minor) != 2) { in parseGlesVersion()
181 major = 1; in parseGlesVersion()
185 mVersionMajor = major; in parseGlesVersion()
/frameworks/base/core/java/android/content/pm/
DFeatureInfo.java112 int major = ((reqGlEsVersion & 0xffff0000) >> 16); in getGlEsVersion() local
114 return String.valueOf(major)+"."+String.valueOf(minor); in getGlEsVersion()
DConfigurationInfo.java141 int major = ((reqGlEsVersion & 0xffff0000) >> 16); in getGlEsVersion() local
143 return String.valueOf(major)+"."+String.valueOf(minor); in getGlEsVersion()
/frameworks/base/libs/hwui/renderthread/
DEglManager.cpp91 EGLint major, minor; in initialize() local
92 LOG_ALWAYS_FATAL_IF(eglInitialize(mEglDisplay, &major, &minor) == EGL_FALSE, in initialize()
95 ALOGI("Initialized EGL, version %d.%d", (int)major, (int)minor); in initialize()
/frameworks/native/opengl/tools/glgen/specs/egl/
Dchecks.spec1 eglInitialize check major 1 check minor 1
DEGL14.spec3 EGLBoolean eglInitialize ( EGLDisplay dpy, EGLint *major, EGLint *minor )
/frameworks/base/services/core/jni/
Dcom_android_server_AssetAtlasService.cpp103 EGLint major; in com_android_server_AssetAtlasService_upload() local
105 if (!eglInitialize(display, &major, &minor)) { in com_android_server_AssetAtlasService_upload()
/frameworks/base/core/jni/
Dcom_android_internal_os_Zygote.cpp332 int major; in NeedsNoRandomizeWorkaround()
339 if (sscanf(uts.release, "%d.%d", &major, &minor) != 2) { in NeedsNoRandomizeWorkaround()
344 return (major < 3) || ((major == 3) && (minor < 4)); in NeedsNoRandomizeWorkaround()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/inc/
DH264SwDecApi.h134 u32 major; /* Decoder API major version */ member
/frameworks/multidex/library/src/android/support/multidex/
DMultiDex.java220 int major = Integer.parseInt(matcher.group(1)); in isVMMultidexCapable() local
222 isMultidexCapable = (major > VM_WITH_MULTIDEX_VERSION_MAJOR) in isVMMultidexCapable()
223 || ((major == VM_WITH_MULTIDEX_VERSION_MAJOR) in isVMMultidexCapable()
/frameworks/multidex/
Dbuild.gradle80 <sdk:major>${project.ext.extraVersion}</sdk:major>\n\
/frameworks/support/
Dbuild.gradle85 <sdk:major>${project.ext.extraVersion}</sdk:major>\n\
/frameworks/native/services/inputflinger/
DEventHub.cpp96 static void getLinuxRelease(int* major, int* minor) { in getLinuxRelease() argument
98 if (uname(&info) || sscanf(info.release, "%d.%d", major, minor) <= 0) { in getLinuxRelease()
99 *major = 0, *minor = 0; in getLinuxRelease()
220 int major, minor; in EventHub() local
221 getLinuxRelease(&major, &minor); in EventHub()
223 mUsingEpollWakeup = major > 3 || (major == 3 && minor >= 5); in EventHub()
/frameworks/base/docs/html/guide/topics/renderscript/
Dindex.jd18 since then. One of the major goals of this past year was to improve the performance
/frameworks/native/opengl/tests/angeles/include/GLES/
Degl.h197 GLAPI EGLBoolean APIENTRY eglInitialize (EGLDisplay dpy, EGLint *major, EGLint *minor);
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java725 int major = 0; in validateLayoutParams() local
737 major = majorRange.min; in validateLayoutParams()
751 while (!fits(maxSizes, major, minor, minor + minorSpan)) { in validateLayoutParams()
753 major++; in validateLayoutParams()
759 major++; in validateLayoutParams()
764 procrusteanFill(maxSizes, minor, minor + minorSpan, major + majorSpan); in validateLayoutParams()
768 setCellGroup(lp, major, majorSpan, minor, minorSpan); in validateLayoutParams()
770 setCellGroup(lp, minor, minorSpan, major, majorSpan); in validateLayoutParams()
/frameworks/base/tests/CoreTests/android/core/
DTestEventHandler.java622 public void expectStatus(int major, int minor, int code) { in expectStatus() argument
624 expectMajor = major; in expectStatus()
/frameworks/base/docs/html-intl/intl/ja/guide/publishing/
Dversioning.jd58 <p>値は文字列なので、アプリケーション バージョンを「&lt;major&gt;.&lt;minor&gt;.&lt;point&gt;」といった文字列や、その他のタイプの絶対的または相対的バージ…
/frameworks/base/core/java/android/widget/
DGridLayout.java737 int major = 0; in validateLayoutParams() local
749 major = majorRange.min; in validateLayoutParams()
763 while (!fits(maxSizes, major, minor, minor + minorSpan)) { in validateLayoutParams()
765 major++; in validateLayoutParams()
771 major++; in validateLayoutParams()
776 procrusteanFill(maxSizes, minor, minor + minorSpan, major + majorSpan); in validateLayoutParams()
780 setCellGroup(lp, major, majorSpan, minor, minorSpan); in validateLayoutParams()
782 setCellGroup(lp, minor, minorSpan, major, majorSpan); in validateLayoutParams()
/frameworks/base/opengl/java/android/opengl/
DEGL14.java174 int[] major, in eglInitialize() argument

1234