Home
last modified time | relevance | path

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

/packages/apps/UnifiedEmail/src/org/apache/commons/io/
DIOUtils.java339 CharArrayWriter sw = new CharArrayWriter(); in toCharArray() local
340 copy(input, sw); in toCharArray()
341 return sw.toCharArray(); in toCharArray()
359 StringWriter sw = new StringWriter(); in toString() local
360 copy(input, sw); in toString()
361 return sw.toString(); in toString()
382 StringWriter sw = new StringWriter(); in toString() local
383 copy(input, sw, encoding); in toString()
384 return sw.toString(); in toString()
399 StringWriter sw = new StringWriter(); in toString() local
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DAnalyticsTests.java221 StringWriter sw = new StringWriter(); in testAnalyticsVideo() local
222 PrintWriter pw = new PrintWriter(sw); in testAnalyticsVideo()
225 TelecomLogClass.TelecomLog.parseFrom(Base64.decode(sw.toString(), Base64.DEFAULT)); in testAnalyticsVideo()
276 StringWriter sw = new StringWriter(); in testAnalyticsDumpToProto() local
277 PrintWriter pw = new PrintWriter(sw); in testAnalyticsDumpToProto()
280 TelecomLogClass.TelecomLog.parseFrom(Base64.decode(sw.toString(), Base64.DEFAULT)); in testAnalyticsDumpToProto()
336 StringWriter sw = new StringWriter();
337 PrintWriter pw = new PrintWriter(sw);
340 TelecomLogClass.TelecomLog.parseFrom(Base64.decode(sw.toString(), Base64.DEFAULT));
354 StringWriter sw = new StringWriter();
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DImageFilterKMeans.java79 int sw = lw; in apply() local
81 while (sw > 64 && sh > 64) { in apply()
82 sw /= 2; in apply()
85 if (sw != lw) { in apply()
86 small_bm_ds = Bitmap.createScaledBitmap(large_bm_ds, sw, sh, true); in apply()
91 nativeApplyFilter(bitmap, w, h, large_bm_ds, lw, lh, small_bm_ds, sw, sh, p, mSeed); in apply()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageTinyPlanet.java154 float sw = canvas.getWidth(); in display() local
158 float nsw = sw; in display()
161 if (sw * ih > sh * iw) { in display()
164 nsh = sw * ih / iw; in display()
167 mDestRect.left = (sw - nsw) / 2; in display()
169 mDestRect.right = sw - mDestRect.left; in display()
DMasterImage.java210 int sw = SMALL_BITMAP_DIM; in loadBitmap() local
211 int sh = (int) (sw * (float) mOriginalBitmapLarge.getHeight() / mOriginalBitmapLarge in loadBitmap()
213 mOriginalBitmapSmall = Bitmap.createScaledBitmap(mOriginalBitmapLarge, sw, sh, true); in loadBitmap()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapMessageListing.java91 StringWriter sw = new StringWriter(); in encode() local
94 xmlMsgElement.setOutput(sw); in encode()
112 return sw.toString().getBytes("UTF-8"); in encode()
DBluetoothMapConvoListing.java95 StringWriter sw = new StringWriter(); in encode() local
98 xmlConvoElement.setOutput(sw); in encode()
117 return sw.toString().getBytes("UTF-8"); in encode()
DBluetoothMapFolderElement.java252 StringWriter sw = new StringWriter(); in encode() local
266 xmlMsgElement.setOutput(sw); in encode()
289 return sw.toString().getBytes("UTF-8"); in encode()
DBluetoothMapContentObserver.java733 StringWriter sw = new StringWriter(); in encode() local
737 xmlEvtReport.setOutput(sw); in encode()
830 if (V) Log.d(TAG, sw.toString()); in encode()
832 return sw.toString().getBytes("UTF-8"); in encode()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DJsonUtils.java72 final StringWriter sw = new StringWriter(); in listToJsonStr() local
73 final JsonWriter writer = new JsonWriter(sw); in listToJsonStr()
86 return sw.toString(); in listToJsonStr()
/packages/apps/MusicFX/src/com/android/musicfx/
DActivityMusic.java365 final Switch sw = (Switch) findViewById(R.id.vIStrengthToggle); in onCreate() local
366 sw.setOnCheckedChangeListener(new OnCheckedChangeListener() { in onCreate()
587 Switch sw = (Switch) findViewById(R.id.vIStrengthToggle); in updateUI() local
596 sw.setVisibility(View.GONE); in updateUI()
599 sw.setChecked(sw.isEnabled() && strength != 0); in updateUI()
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
DDiscoveredPrinter.java162 StringWriter sw = new StringWriter(); in toString() local
164 write(new JsonWriter(sw)); in toString()
167 return "DiscoveredPrinter" + sw.toString(); in toString()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DShared.java164 StringWriter sw = new StringWriter(); in getStackTrace() local
165 PrintWriter pw = new PrintWriter(sw); in getStackTrace()
167 return sw.toString(); in getStackTrace()
/packages/apps/Settings/src/com/android/settings/applications/
DAppOpsDetails.java131 Switch sw = (Switch)view.findViewById(R.id.switchWidget); in refreshUi() local
133 sw.setChecked(mAppOps.checkOp(switchOp, entry.getPackageOps().getUid(), in refreshUi()
135 sw.setOnCheckedChangeListener(new Switch.OnCheckedChangeListener() { in refreshUi()
DAppOpsCategory.java370 Switch sw = ((Switch) v.findViewById(R.id.op_switch)); in onListItemClick() local
371 boolean checked = !sw.isChecked(); in onListItemClick()
372 sw.setChecked(checked); in onListItemClick()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DBogusMoveEventDetector.java52 final int sw = res.getConfiguration().smallestScreenWidthDp; in init() local
54 + " smallestScreenWidthDp=" + sw + " densityDpi=" + densityDpi in init()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DPieItem.java116 public void setGeometry(float st, float sw, int inside, int outside) { in setGeometry() argument
118 sweep = sw; in setGeometry()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DPieItem.java133 public void setGeometry(float st, float sw, int inside, int outside) { in setGeometry() argument
135 sweep = sw; in setGeometry()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DUtils.java825 final StringWriter sw = new StringWriter(); in dumpFragment() local
826 f.dump("", new FileDescriptor(), new PrintWriter(sw), new String[0]); in dumpFragment()
827 return sw.toString(); in dumpFragment()
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
DStringUtil.java2253 StringWriter sw = new StringWriter(); in stream2String() local
2258 sw.write(new String(buffer, 0, read)); in stream2String()
2263 return sw.toString(); in stream2String()
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...
/packages/inputmethods/LatinIME/dictionaries/
Dpl_wordlist.combined.gz1dictionary=main:pl,locale=pl,description=Polski,date=1414726264, ...