Home
last modified time | relevance | path

Searched refs:sw (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/core/jni/android/opengl/
Dpoly_clip.cpp72 tu = sign*COORD(u, index) - u->sw*k; in poly_clip_to_halfspace()
76 tv = sign*COORD(v, index) - v->sw*k; in poly_clip_to_halfspace()
116 float sw = v->sw; in poly_clip_to_frustum() local
117 if (v->sx < -sw) x0out++; /* out on left */ in poly_clip_to_frustum()
118 if (v->sx > sw) x1out++; /* out on right */ in poly_clip_to_frustum()
119 if (v->sy < -sw) y0out++; /* out on top */ in poly_clip_to_frustum()
120 if (v->sy > sw) y1out++; /* out on bottom */ in poly_clip_to_frustum()
121 if (v->sz < -sw) z0out++; /* out on near */ in poly_clip_to_frustum()
122 if (v->sz > sw) z1out++; /* out on far */ in poly_clip_to_frustum()
Dpoly.h35 float sx, sy, sz, sw; /* screen space position (sometimes homo.) */ member
Dutil.cpp79 ALOGI("[%d] %g, %g, %g %g", i, pV->sx, pV->sy, pV->sz, pV->sw);
/frameworks/base/core/java/com/android/internal/logging/
DAndroidHandler.java94 StringWriter sw = new StringWriter();
95 PrintWriter pw = new FastPrintWriter(sw, false, 256);
96 sw.write(r.getMessage());
97 sw.write("\n");
100 return sw.toString();
/frameworks/base/core/java/com/android/internal/util/
DDumpUtils.java39 final StringWriter sw = new StringWriter(); in dumpAsync() local
43 PrintWriter lpw = new FastPrintWriter(sw); in dumpAsync()
48 pw.print(sw.toString()); in dumpAsync()
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DLog.java55 StringWriter sw = new StringWriter(); in exception() local
56 PrintWriter pw = new PrintWriter(sw); in exception()
59 error(format + "\n" + sw.toString(), args); in exception()
/frameworks/multidex/library/test/src/android/util/
DLog.java195 StringWriter sw = new StringWriter(); in getStackTraceString() local
196 PrintWriter pw = new PrintWriter(sw); in getStackTraceString()
199 return sw.toString(); in getStackTraceString()
/frameworks/base/core/java/android/content/res/
DCompatibilityInfo.java95 public CompatibilityInfo(ApplicationInfo appInfo, int screenLayout, int sw, in CompatibilityInfo() argument
123 } else if (largest != 0 && sw > largest) { in CompatibilityInfo()
128 } else if (compat >= sw) { in CompatibilityInfo()
503 float sw = width/(float)newWidth; in computeCompatibleScaling() local
505 float scale = sw < sh ? sw : sh; in computeCompatibleScaling()
/frameworks/base/core/java/android/util/
DLog.java333 StringWriter sw = new StringWriter(); in getStackTraceString() local
334 PrintWriter pw = new FastPrintWriter(sw, false, 256); in getStackTraceString()
337 return sw.toString(); in getStackTraceString()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPolicyControl.java235 StringWriter sw = new StringWriter(); in toString() local
236 dump(new PrintWriter(sw, true)); in toString()
237 return sw.toString(); in toString()
/frameworks/base/core/java/com/android/internal/os/
DProcessCpuTracker.java694 StringWriter sw = new StringWriter();
695 PrintWriter pw = new FastPrintWriter(sw, false, 128);
703 return sw.toString();
709 StringWriter sw = new StringWriter();
710 PrintWriter pw = new FastPrintWriter(sw, false, 1024);
763 return sw.toString();
/frameworks/base/core/java/android/app/
DApplicationErrorReport.java330 StringWriter sw = new StringWriter(); in CrashInfo() local
331 PrintWriter pw = new FastPrintWriter(sw, false, 256); in CrashInfo()
334 stackTrace = sw.toString(); in CrashInfo()
DActivityManager.java2352 final int sw = res.getConfiguration().smallestScreenWidthDp; in getLauncherLargeIconDensity() local
2354 if (sw < 600) { in getLauncherLargeIconDensity()
2392 final int sw = res.getConfiguration().smallestScreenWidthDp; in getLauncherLargeIconSizeInner() local
2394 if (sw < 600) { in getLauncherLargeIconSizeInner()
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
DDelegateClassAdapterTest.java459 StringWriter sw = new StringWriter(); in dumpGeneratedClass() local
460 PrintWriter pw = new PrintWriter(sw); in dumpGeneratedClass()
468 .append(sw.toString()); in dumpGeneratedClass()
/frameworks/base/graphics/java/android/graphics/drawable/
DScaleDrawable.java99 float sw = getPercent(a, com.android.internal.R.styleable.ScaleDrawable_scaleWidth); in inflate() local
122 mScaleState.mScaleWidth = sw; in inflate()
/frameworks/native/services/inputflinger/
DEventHub.h223 virtual int32_t getSwitchState(int32_t deviceId, int32_t sw) const = 0;
292 virtual int32_t getSwitchState(int32_t deviceId, int32_t sw) const;
DEventHub.cpp368 int32_t EventHub::getSwitchState(int32_t deviceId, int32_t sw) const { in getSwitchState()
369 if (sw >= 0 && sw <= SW_MAX) { in getSwitchState()
373 if (device && !device->isVirtual() && test_bit(sw, device->swBitmask)) { in getSwitchState()
377 return test_bit(sw, swState) ? AKEY_STATE_DOWN : AKEY_STATE_UP; in getSwitchState()
DInputReader.h357 int32_t sw) = 0;
431 int32_t sw);
/frameworks/base/core/java/android/os/
DStrictMode.java1715 StringWriter sw = new StringWriter(); in readAndHandleBinderCallViolations() local
1716 PrintWriter pw = new FastPrintWriter(sw, false, 256); in readAndHandleBinderCallViolations()
1719 String ourStack = sw.toString(); in readAndHandleBinderCallViolations()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java5486 int sw = mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, in getLidState() local
5488 if (sw > 0) { in getLidState()
5491 } else if (sw == 0) { in getLidState()
5503 int sw = mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, in getCameraLensCoverState() local
5505 if (sw > 0) { in getCameraLensCoverState()
5508 } else if (sw == 0) { in getCameraLensCoverState()
7070 int sw = reduceCompatConfigWidthSize(0, Surface.ROTATION_0, tmpDm, unrotDw, unrotDh); in computeCompatSmallestWidth() local
7071 sw = reduceCompatConfigWidthSize(sw, Surface.ROTATION_90, tmpDm, unrotDh, unrotDw); in computeCompatSmallestWidth()
7072 sw = reduceCompatConfigWidthSize(sw, Surface.ROTATION_180, tmpDm, unrotDw, unrotDh); in computeCompatSmallestWidth()
7073 sw = reduceCompatConfigWidthSize(sw, Surface.ROTATION_270, tmpDm, unrotDh, unrotDw); in computeCompatSmallestWidth()
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DGridLayoutManager.java1589 StringWriter sw = new StringWriter(); in onLayoutChildren() local
1590 PrintWriter pw = new PrintWriter(sw); in onLayoutChildren()
1592 Log.d(getTag(), sw.toString()); in onLayoutChildren()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp1072 jlong ptr, jint deviceId, jint sourceMask, jint sw) { in nativeGetSwitchState() argument
1076 deviceId, uint32_t(sourceMask), sw); in nativeGetSwitchState()
/frameworks/base/docs/html/distribute/tools/promote/
Dbadges.jd293 value="sw">Kiswahili</option>
/frameworks/base/docs/html/guide/topics/manifest/
Dsupports-screens-element.jd155 smallest screen width qualifier</a> ({@code sw&lt;N&gt;dp}).</p>
Duses-feature-element.jd22 <li><a href="#sw-features">Software features</a></li>
138 href="#hw-features">Hardware features</a> and <a href="#sw-features">Software
874 <h3 id="sw-features">Software features</h3>

12