Home
last modified time | relevance | path

Searched refs:labelStr (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DPackageItemInfo.java170 String labelStr = Html.fromHtml(label).toString(); in loadSafeLabel() local
175 final int labelLength = Math.min(labelStr.length(), MAX_SAFE_LABEL_LENGTH); in loadSafeLabel()
179 final int codePoint = labelStr.codePointAt(offset); in loadSafeLabel()
184 labelStr = labelStr.substring(0, offset); in loadSafeLabel()
192 sb.append(labelStr.charAt(offset)); in loadSafeLabel()
194 sb.append(labelStr.charAt(offset + 1)); in loadSafeLabel()
200 labelStr = sb.toString().trim(); in loadSafeLabel()
201 if (labelStr.isEmpty()) { in loadSafeLabel()
207 return TextUtils.ellipsize(labelStr, paint, MAX_LABEL_SIZE_PX, in loadSafeLabel()
/frameworks/base/core/jni/
Dandroid_database_SQLiteConnection.cpp115 jstring labelStr, jboolean enableTrace, jboolean enableProfile, jint lookasideSz, in nativeOpen() argument
130 const char* labelChars = env->GetStringUTFChars(labelStr, NULL); in nativeOpen()
132 env->ReleaseStringUTFChars(labelStr, labelChars); in nativeOpen()