Lines Matching refs:style
21 import android.text.style.*;
84 int[] style = nativeGetStyle(mNative, idx);
86 if (localLOGV) Log.v(TAG, "Got styles: " + Arrays.toString(style));
87 if (style != null) {
92 // the style array is a flat array of <type, start, end> hence
94 for (int styleIndex = 0; styleIndex < style.length; styleIndex += 3) {
95 int styleId = style[styleIndex];
103 // id already found skip to next style
134 res = applyStyles(str, style, mStyleIDs);
166 private CharSequence applyStyles(String str, int[] style, StyleIDs ids) {
167 if (style.length == 0)
172 while (i < style.length) {
173 int type = style[i];
174 if (localLOGV) Log.v(TAG, "Applying style span id=" + type
175 + ", start=" + style[i+1] + ", end=" + style[i+2]);
180 style[i+1], style[i+2]+1,
184 style[i+1], style[i+2]+1,
188 style[i+1], style[i+2]+1,
192 style[i+1], style[i+2]+1,
196 style[i+1], style[i+2]+1,
200 style[i+1], style[i+2]+1,
204 style[i+1], style[i+2]+1,
208 style[i+1], style[i+2]+1,
212 style[i+1], style[i+2]+1,
216 style[i+1], style[i+2]+1);
219 style[i+1], style[i+2]+1,
231 style[i+1], style[i+2]+1);
238 style[i+1], style[i+2]+1,
245 style[i+1], style[i+2]+1,
252 style[i+1], style[i+2]+1,
259 style[i+1], style[i+2]+1,
266 style[i+1], style[i+2]+1,
275 style[i+1], style[i+2]+1,
297 style[i+1], style[i+2]+1,