Home
last modified time | relevance | path

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

123

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DNavigationBar.java79 float sw = getShortestWidth(context); in setupNavBar() local
82 setSize(context, leftPadding, orientation, getSidePadding(sw)); in setupNavBar()
83 setSize(context, rightPadding, orientation, getSidePadding(sw)); in setupNavBar()
84 int navButtonWidth = getWidth(sw); in setupNavBar()
89 if (sw >= 600) { in setupNavBar()
106 protected int getSidePadding(float sw) { in getSidePadding() argument
107 if (sw >= 400) { in getSidePadding()
110 if (sw >= 360) { in getSidePadding()
116 private static int getWidth(float sw) { in getWidth() argument
117 if (sw >= 600) { in getWidth()
[all …]
DThemePreviewNavigationBar.java52 protected int getSidePadding(float sw) { in getSidePadding() argument
53 if (sw >= 600) { in getSidePadding()
56 return super.getSidePadding(sw); in getSidePadding()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiLoggerTest.java305 StringWriter sw = new StringWriter(); in dumpFetchesFates() local
306 PrintWriter pw = new PrintWriter(sw); in dumpFetchesFates()
319 StringWriter sw = new StringWriter(); in dumpSucceedsWhenNoFatesHaveNotBeenFetched() local
320 PrintWriter pw = new PrintWriter(sw); in dumpSucceedsWhenNoFatesHaveNotBeenFetched()
323 String fateDumpString = sw.toString(); in dumpSucceedsWhenNoFatesHaveNotBeenFetched()
342 StringWriter sw = new StringWriter(); in dumpSucceedsWhenFatesHaveBeenFetchedButAreEmpty() local
343 PrintWriter pw = new PrintWriter(sw); in dumpSucceedsWhenFatesHaveBeenFetchedButAreEmpty()
346 String fateDumpString = sw.toString(); in dumpSucceedsWhenFatesHaveBeenFetchedButAreEmpty()
384 StringWriter sw = new StringWriter(); in getDumpString() local
385 PrintWriter pw = new PrintWriter(sw); in getDumpString()
[all …]
/frameworks/base/core/jni/android/opengl/
Dpoly_clip.cpp71 tu = sign*COORD(u, index) - u->sw*k; in poly_clip_to_halfspace()
75 tv = sign*COORD(v, index) - v->sw*k; in poly_clip_to_halfspace()
115 float sw = v->sw; in poly_clip_to_frustum() local
116 if (v->sx < -sw) x0out++; /* out on left */ in poly_clip_to_frustum()
117 if (v->sx > sw) x1out++; /* out on right */ in poly_clip_to_frustum()
118 if (v->sy < -sw) y0out++; /* out on top */ in poly_clip_to_frustum()
119 if (v->sy > sw) y1out++; /* out on bottom */ in poly_clip_to_frustum()
120 if (v->sz < -sw) z0out++; /* out on near */ in poly_clip_to_frustum()
121 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
/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.java40 final StringWriter sw = new StringWriter(); in dumpAsync() local
44 PrintWriter lpw = new FastPrintWriter(sw); in dumpAsync()
49 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/data-binding/integration-tests/TestApp/app/src/androidTest/java/android/databinding/testapp/
DBaseDataBinderTest.java95 StringWriter sw = new StringWriter(); in initBinder()
96 PrintWriter pw = new PrintWriter(sw); in initBinder()
98 fail("Error creating binder: " + sw.toString()); in initBinder()
/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/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
DMainActivity.java95 int sw = mImgView.getWidth(); in onCreate()
126 float scale = mZoom * Math.min(sw / (float) iw, sh / (float) ih); in onCreate()
127 mXOffset = mDownXOffset + 2 * (dx / (sw - scale * iw)); in onCreate()
196 int sw = mImgView.getWidth(); in updateMatrix() local
203 float scale = mZoom * Math.min(sw / (float) iw, sh / (float) ih); in updateMatrix()
204 mMatrix.postTranslate((1 + mXOffset) * (sw - iw * scale) / 2, in updateMatrix()
/frameworks/opt/setupwizard/tools/docs/
Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/ ...
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
DL.java131 StringWriter sw = new StringWriter(); in getStackTrace() local
132 PrintWriter pw = new PrintWriter(sw); in getStackTrace()
138 return sw.toString(); in getStackTrace()
/frameworks/base/core/java/android/util/
DLog.java344 StringWriter sw = new StringWriter(); in getStackTraceString() local
345 PrintWriter pw = new FastPrintWriter(sw, false, 256); in getStackTraceString()
348 return sw.toString(); in getStackTraceString()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsTimeBaseTest.java320 StringWriter sw = new StringWriter(); in testDump() local
321 PrintWriter pw = new PrintWriter(sw); in testDump()
334 Assert.assertEquals(CORRECT, sw.toString()); in testDump()
/frameworks/base/services/core/java/com/android/server/policy/
DPolicyControl.java235 StringWriter sw = new StringWriter(); in toString() local
236 dump(new PrintWriter(sw, true)); in toString()
237 return sw.toString(); in toString()
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
DViewMatrix.java196 double sw = mScreenDim[0] / 2 - 0.5; in calcMatrix() local
199 m[3] = mEyePoint[0] - (m[0] * sw + m[1] * sh + m[2] * sz); in calcMatrix()
200 m[7] = mEyePoint[1] - (m[4] * sw + m[5] * sh + m[6] * sz); in calcMatrix()
201 m[11] = mEyePoint[2] - (m[8] * sw + m[9] * sh + m[10] * sz); in calcMatrix()
/frameworks/base/core/java/com/android/internal/os/
DProcessCpuTracker.java708 StringWriter sw = new StringWriter();
709 PrintWriter pw = new FastPrintWriter(sw, false, 128);
717 return sw.toString();
725 StringWriter sw = new StringWriter();
726 PrintWriter pw = new FastPrintWriter(sw, false, 1024);
784 return sw.toString();
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerBaseTest.java151 StringWriter sw = new StringWriter(); in tearDown() local
152 PrintWriter pw = new PrintWriter(sw); in tearDown()
155 Log.d(TAG, sw.toString()); in tearDown()
/frameworks/base/docs/html/ndk/reference/
Ddoxygen.css1236 #powerTip.sw:after, #powerTip.sw:before {
1247 #powerTip.sw:after, #powerTip.se:after {
1254 #powerTip.sw:before, #powerTip.se:before {
1288 #powerTip.sw:after, #powerTip.sw:before {
1292 #powerTip.s:after, #powerTip.se:after, #powerTip.sw:after {
1298 #powerTip.s:before, #powerTip.se:before, #powerTip.sw:before {
1308 #powerTip.sw:after, #powerTip.sw:before {
/frameworks/base/core/java/android/app/
DApplicationErrorReport.java344 StringWriter sw = new StringWriter(); in CrashInfo() local
345 PrintWriter pw = new FastPrintWriter(sw, false, 256); in CrashInfo()
348 stackTrace = sw.toString(); in CrashInfo()
/frameworks/base/packages/SettingsLib/tests/src/com/android/settingslib/wifi/
DWifiTrackerTest.java85 StringWriter sw = new StringWriter(); in tearDown() local
86 PrintWriter pw = new PrintWriter(sw); in tearDown()
89 Log.d(TAG, sw.toString()); in tearDown()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DMediaSessions.java251 final StringWriter sw = new StringWriter(); in dumpMediaSessions() local
252 final PrintWriter pw = new PrintWriter(sw, true); in dumpMediaSessions()
254 if (D.BUG) Log.d(TAG, sw.toString()); in dumpMediaSessions()
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
DDelegateClassAdapterTest.java515 StringWriter sw = new StringWriter(); in dumpGeneratedClass() local
516 PrintWriter pw = new PrintWriter(sw); in dumpGeneratedClass()
524 .append(sw.toString()); in dumpGeneratedClass()

123