Searched defs:sw (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/core/jni/android/opengl/
H A Dpoly.h35 float sx, sy, sz, sw; /* screen space position (sometimes homo.) */ member in struct:android::__anon962
H A Dpoly_clip.cpp49 * copying the portion satisfying sign*s[index] < k*sw into q,
72 tu = sign*COORD(u, index) - u->sw*k;
76 tv = sign*COORD(v, index) - v->sw*k;
95 * using the homogeneous screen coordinates (sx, sy, sz, sw) of each vertex,
96 * testing if v->sx/v->sw > box->x0 and v->sx/v->sw < box->x1,
116 float sw = v->sw; local
117 if (v->sx < -sw) x0out++; /* out on left */
118 if (v->sx > sw) x1ou
[all...]
/frameworks/base/core/java/android/content/res/
H A DCompatibilityInfo.java95 public CompatibilityInfo(ApplicationInfo appInfo, int screenLayout, int sw, argument
123 } else if (largest != 0 && sw > largest) {
128 } else if (compat >= sw) {
504 float sw = width/(float)newWidth;
506 float scale = sw < sh ? sw : sh;
/frameworks/base/services/jni/
H A Dcom_android_server_input_InputManagerService.cpp1033 jint ptr, jint deviceId, jint sourceMask, jint sw) {
1037 deviceId, uint32_t(sourceMask), sw);
1032 nativeGetSwitchState(JNIEnv* env, jclass clazz, jint ptr, jint deviceId, jint sourceMask, jint sw) argument
/frameworks/base/services/java/com/android/server/input/
H A DInputManagerService.java163 int deviceId, int sourceMask, int sw);
162 nativeGetSwitchState(int ptr, int deviceId, int sourceMask, int sw) argument
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp2650 uint32_t sw, uint32_t sh,
2672 if ((sw > hw_w) || (sh > hw_h)) {
2673 ALOGE("size mismatch (%d, %d) > (%d, %d)", sw, sh, hw_w, hw_h);
2677 sw = (!sw) ? hw_w : sw;
2679 const size_t size = sw * sh * 4;
2680 const bool filtering = sw != hw_w || sh != hw_h;
2682 // ALOGD("screenshot: sw=%d, sh=%d, minZ=%d, maxZ=%d",
2683 // sw, s
2647 captureScreenImplLocked(const sp<IBinder>& display, sp<IMemoryHeap>* heap, uint32_t* w, uint32_t* h, PixelFormat* f, uint32_t sw, uint32_t sh, uint32_t minLayerZ, uint32_t maxLayerZ) argument
2775 captureScreen(const sp<IBinder>& display, sp<IMemoryHeap>* heap, uint32_t* width, uint32_t* height, PixelFormat* format, uint32_t sw, uint32_t sh, uint32_t minLayerZ, uint32_t maxLayerZ) argument
2794 uint32_t sw; member in class:android::MessageCaptureScreen
2800 MessageCaptureScreen(SurfaceFlinger* flinger, const sp<IBinder>& display, sp<IMemoryHeap>* heap, uint32_t* w, uint32_t* h, PixelFormat* f, uint32_t sw, uint32_t sh, uint32_t minLayerZ, uint32_t maxLayerZ) argument
[all...]

Completed in 144 milliseconds