Searched refs:sw (Results 1 – 20 of 20) sorted by relevance
339 CharArrayWriter sw = new CharArrayWriter(); in toCharArray() local340 copy(input, sw); in toCharArray()341 return sw.toCharArray(); in toCharArray()359 StringWriter sw = new StringWriter(); in toString() local360 copy(input, sw); in toString()361 return sw.toString(); in toString()382 StringWriter sw = new StringWriter(); in toString() local383 copy(input, sw, encoding); in toString()384 return sw.toString(); in toString()399 StringWriter sw = new StringWriter(); in toString() local[all …]
227 StringWriter sw = new StringWriter(); in testAnalyticsVideo() local228 PrintWriter pw = new PrintWriter(sw); in testAnalyticsVideo()231 TelecomLogClass.TelecomLog.parseFrom(Base64.decode(sw.toString(), Base64.DEFAULT)); in testAnalyticsVideo()282 StringWriter sw = new StringWriter(); in testAnalyticsDumpToProto() local283 PrintWriter pw = new PrintWriter(sw); in testAnalyticsDumpToProto()286 TelecomLogClass.TelecomLog.parseFrom(Base64.decode(sw.toString(), Base64.DEFAULT)); in testAnalyticsDumpToProto()374 StringWriter sw = new StringWriter();375 PrintWriter pw = new PrintWriter(sw);378 TelecomLogClass.TelecomLog.parseFrom(Base64.decode(sw.toString(), Base64.DEFAULT));392 StringWriter sw = new StringWriter();[all …]
79 int sw = lw; in apply() local81 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()
154 float sw = canvas.getWidth(); in display() local158 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()
210 int sw = SMALL_BITMAP_DIM; in loadBitmap() local211 int sh = (int) (sw * (float) mOriginalBitmapLarge.getHeight() / mOriginalBitmapLarge in loadBitmap()213 mOriginalBitmapSmall = Bitmap.createScaledBitmap(mOriginalBitmapLarge, sw, sh, true); in loadBitmap()
91 StringWriter sw = new StringWriter(); in encode() local94 xmlMsgElement.setOutput(sw); in encode()112 return sw.toString().getBytes("UTF-8"); in encode()
95 StringWriter sw = new StringWriter(); in encode() local98 xmlConvoElement.setOutput(sw); in encode()117 return sw.toString().getBytes("UTF-8"); in encode()
252 StringWriter sw = new StringWriter(); in encode() local266 xmlMsgElement.setOutput(sw); in encode()289 return sw.toString().getBytes("UTF-8"); in encode()
733 StringWriter sw = new StringWriter(); in encode() local737 xmlEvtReport.setOutput(sw); in encode()830 if (V) Log.d(TAG, sw.toString()); in encode()832 return sw.toString().getBytes("UTF-8"); in encode()
72 final StringWriter sw = new StringWriter(); in listToJsonStr() local73 final JsonWriter writer = new JsonWriter(sw); in listToJsonStr()86 return sw.toString(); in listToJsonStr()
174 StringWriter sw = new StringWriter(); in toString() local176 write(new JsonWriter(sw)); in toString()179 return "DiscoveredPrinter" + sw.toString(); in toString()
369 final Switch sw = (Switch) findViewById(R.id.vIStrengthToggle); in onCreate() local370 sw.setOnCheckedChangeListener(new OnCheckedChangeListener() { in onCreate()591 Switch sw = (Switch) findViewById(R.id.vIStrengthToggle); in updateUI() local600 sw.setVisibility(View.GONE); in updateUI()603 sw.setChecked(sw.isEnabled() && strength != 0); in updateUI()
133 Switch sw = (Switch)view.findViewById(R.id.switchWidget); in refreshUi() local135 sw.setChecked(mAppOps.checkOp(switchOp, entry.getPackageOps().getUid(), in refreshUi()137 sw.setOnCheckedChangeListener(new Switch.OnCheckedChangeListener() { in refreshUi()
370 Switch sw = ((Switch) v.findViewById(R.id.op_switch)); in onListItemClick() local371 boolean checked = !sw.isChecked(); in onListItemClick()372 sw.setChecked(checked); in onListItemClick()
52 final int sw = res.getConfiguration().smallestScreenWidthDp; in init() local54 + " smallestScreenWidthDp=" + sw + " densityDpi=" + densityDpi in init()
116 public void setGeometry(float st, float sw, int inside, int outside) { in setGeometry() argument118 sweep = sw; in setGeometry()
133 public void setGeometry(float st, float sw, int inside, int outside) { in setGeometry() argument135 sweep = sw; in setGeometry()
825 final StringWriter sw = new StringWriter(); in dumpFragment() local826 f.dump("", new FileDescriptor(), new PrintWriter(sw), new String[0]); in dumpFragment()827 return sw.toString(); in dumpFragment()
2253 StringWriter sw = new StringWriter(); in stream2String() local2258 sw.write(new String(buffer, 0, read)); in stream2String()2263 return sw.toString(); in stream2String()
1dictionary=main:pl,locale=pl,description=Polski,date=1414726264, ...