Home
last modified time | relevance | path

Searched refs:tb (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/graphics/java/android/renderscript/
DAllocation.java969 Type.Builder tb = new Type.Builder(rs, e); in typeFromBitmap() local
970 tb.setX(b.getWidth()); in typeFromBitmap()
971 tb.setY(b.getHeight()); in typeFromBitmap()
972 tb.setMipmaps(mip == MipmapControl.MIPMAP_FULL); in typeFromBitmap()
973 return tb.create(); in typeFromBitmap()
1051 Type.Builder tb = new Type.Builder(rs, e); in createCubemapFromBitmap() local
1052 tb.setX(height); in createCubemapFromBitmap()
1053 tb.setY(height); in createCubemapFromBitmap()
1054 tb.setFaces(true); in createCubemapFromBitmap()
1055 tb.setMipmaps(mips == MipmapControl.MIPMAP_FULL); in createCubemapFromBitmap()
[all …]
DMesh.java318 Type.Builder tb = new Type.Builder(mRS, e); in newType() local
319 tb.setX(size); in newType()
320 return tb.create(); in newType()
/frameworks/base/core/java/android/text/
DSpannableStringBuilder.java205 public SpannableStringBuilder insert(int where, CharSequence tb, int start, int end) { in insert() argument
206 return replace(where, where, tb, start, end); in insert()
210 public SpannableStringBuilder insert(int where, CharSequence tb) { in insert() argument
211 return replace(where, where, tb, 0, tb.length()); in insert()
265 private int change(int start, int end, CharSequence tb, int tbstart, int tbend) { in change() argument
266 return change(true, start, end, tb, tbstart, tbend); in change()
270 CharSequence tb, int tbstart, int tbend) { in change() argument
325 TextUtils.getChars(tb, tbstart, tbend, mText, start); in change()
327 if (tb instanceof Spanned) { in change()
328 Spanned sp = (Spanned) tb; in change()
[all …]
DTextUtils.java802 SpannableStringBuilder tb = new SpannableStringBuilder(template); in replace() local
805 int where = indexOf(tb, sources[i]); in replace()
808 tb.setSpan(sources[i], where, where + sources[i].length(), in replace()
813 int start = tb.getSpanStart(sources[i]); in replace()
814 int end = tb.getSpanEnd(sources[i]); in replace()
817 tb.replace(start, end, destinations[i]); in replace()
821 return tb; in replace()
/frameworks/base/core/java/android/text/format/
DDateFormat.java558 StringBuilder tb = new StringBuilder(); in formatZoneOffset() local
561 tb.insert(0, "-"); in formatZoneOffset()
564 tb.insert(0, "+"); in formatZoneOffset()
570 tb.append(zeroPad(hours, 2)); in formatZoneOffset()
571 tb.append(zeroPad(minutes, 2)); in formatZoneOffset()
572 return tb.toString(); in formatZoneOffset()
/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/
DImageProcessingActivity.java230 Type.Builder tb = new Type.Builder(mRS, Element.F32_4(mRS)); in createScript() local
231 tb.setX(mBitmapIn.getWidth()); in createScript()
232 tb.setY(mBitmapIn.getHeight()); in createScript()
233 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, tb.create()); in createScript()
234 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, tb.create()); in createScript()
/frameworks/base/tools/preload/
Dsorttable.js155 tb = this.sorttable_tbody;
157 tb.appendChild(row_array[j][1]);
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmMmiCode.java1234 SpannableStringBuilder tb = new SpannableStringBuilder(); in onQueryCfComplete() local
1248 tb.append(makeCFQueryResultMessage(infos[i], in onQueryCfComplete()
1250 tb.append("\n"); in onQueryCfComplete()
1254 sb.append(tb); in onQueryCfComplete()
/frameworks/base/core/java/com/android/internal/os/
DProcessStats.java238 int tb = stb.rel_utime + stb.rel_stime;
239 if (ta != tb) {
240 return ta > tb ? -1 : 1;