/packages/experimental/LoaderApp/src/com/android/loaderapp/util/ |
H A D | ContactsUtils.java | 52 // Try finding the type and label for this mimetype 58 // Reset to phone mimetype so we generate a label for SMS case 76 final CharSequence label = cursor.getString(colLabel); 78 return getDisplayLabel(context, mimeType, type, label); 82 CharSequence label) { 105 // Can't return display label for given mimetype. 117 if (!TextUtils.isEmpty(label)) { 118 display = label; 81 getDisplayLabel(Context context, String mimetype, int type, CharSequence label) argument
|
/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/ |
H A D | ContactInfoHelper.java | 189 info.label = c.getString(CallLogQuery.CACHED_NUMBER_LABEL); 374 info.label = phoneLookupCursor.getString(PhoneQuery.LABEL); 501 if (!TextUtils.equals(updatedInfo.label, callLogInfo.label)) { 502 values.put(Calls.CACHED_NUMBER_LABEL, updatedInfo.label); 547 values.put(Calls.CACHED_NUMBER_LABEL, updatedInfo.label);
|
/packages/apps/TV/src/com/android/tv/data/ |
H A D | Channel.java | 723 String label = mInputIdToLabelMap.get(channel.getInputId()); 724 if (label == null) { 727 label = Utils.loadLabel(mContext, info); 728 if (label != null) { 729 mInputIdToLabelMap.put(channel.getInputId(), label); 733 return label;
|
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
H A D | StringUtils.java | 601 public static String toTitleCaseOfKeyLabel(@Nullable final String label, argument 603 if (label == null) { 604 return label; 606 return label.toUpperCase(getLocaleUsedForToTitleCase(locale)); 613 final String label = newSingleCodePointString(code); 614 final String titleCaseLabel = toTitleCaseOfKeyLabel(label, locale);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
H A D | KeyboardView.java | 99 // The maximum key label width in the proportion to the key width. 390 // Draw key label. 396 final String label = key.getLabel(); 397 if (label != null) { 403 // Vertical label text alignment. 406 // Horizontal label text alignment 408 // The label is placed off center of the key. Used mainly on "phone number" layout. 417 TypefaceUtils.getStringWidth(label, paint)); 435 // Make label invisible 440 canvas.drawText(label, [all...] |
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
H A D | AccountType.java | 203 * @return resource ID for the "invite contact" action label, or -1 if not defined. 210 * @return resource ID for the "view group" label, or -1 if not defined. 234 * Returns an optional custom label for the "invite contact" action, which will be shown on 243 * Returns a label for the "view group" action. If not defined, this falls back to our 350 * Description of a specific "type" or "label" of a {@link DataKind} row, 520 CharSequence label = type.getDisplayLabel(mContext); 521 return (label == null) ? "" : label.toString();
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
H A D | ChooseAccountActivity.java | 282 * Gets the label associated with a particular account type. If none found, return null. 284 * @return a CharSequence for the label or null if one cannot be found. 287 CharSequence label = null; 293 label = authContext.getResources().getText(desc.labelId); 295 Log.w(TAG, "No label name for account type " + accountType); 297 Log.w(TAG, "No label resource for account type " + accountType); 300 return label;
|
/packages/apps/Settings/src/com/android/settings/sim/ |
H A D | SimPreferenceDialog.java | 220 holder.label = (TextView) rowView.findViewById(R.id.color_text); 229 holder.label.setText(getItem(position)); 252 TextView label; field in class:SimPreferenceDialog.SelectColorAdapter.ViewHolder
|
/packages/apps/Email/tests/src/com/android/email/ |
H A D | VendorPolicyLoaderTest.java | 154 assertNull(p.label);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | ManageCachePage.java | 379 String label = activity.getString(R.string.free_space_format, "-"); 380 status.setText(label); 385 String label = activity.getString(R.string.free_space_format, 387 status.setText(label);
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/ |
H A D | BindWidgetTest.java | 113 setupAndVerifyContents(item, LauncherAppWidgetHostView.class, info.label); 121 setupAndVerifyContents(item, LauncherAppWidgetHostView.class, info.label); 140 assertFalse(mDevice.findObject(new UiSelector().description(info.label)).exists()); 152 setupAndVerifyContents(item, LauncherAppWidgetHostView.class, info.label);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
H A D | UninstallerActivity.java | 232 CharSequence label = mDialogInfo.appInfo.loadLabel(getPackageManager()); 254 newIntent.putExtra(UninstallUninstalling.EXTRA_APP_LABEL, label); 280 broadcastIntent.putExtra(UninstallFinish.EXTRA_APP_LABEL, label); 295 .setContentTitle(getString(R.string.uninstalling_app, label)).setOngoing(true)
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/ |
H A D | AppPermissionsFragment.java | 169 CharSequence label = appInfo.loadLabel(pm); 170 fragment.setHeader(icon, label, infoIntent, fragment.getString( 403 CharSequence label = appInfo.loadLabel(pm); 404 fragment.setHeader(icon, label, infoIntent, fragment.getString(
|
H A D | PermissionAppsFragment.java | 156 final CharSequence label = permissionApps.getLabel(); 159 fragment.getString(R.string.permission_apps_decor_title, label)); 436 final CharSequence label = permissionApps.getLabel(); 438 fragment.getString(R.string.system_apps_decor_title, label));
|
/packages/apps/Settings/src/com/android/settings/location/ |
H A D | InjectedSetting.java | 101 ", label=" + title +
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/ |
H A D | ManageAppUsageAccess.java | 69 switchPref.setTitle(entry.label);
|
/packages/apps/Bluetooth/jni/ |
H A D | com_android_bluetooth_avrcp_controller.cpp | 228 uint8_t abs_vol, uint8_t label) { 243 addr.get(), (jbyte)abs_vol, (jbyte)label); 247 uint8_t label) { 263 addr.get(), (jbyte)label); 827 jint abs_vol, jint label) { 838 (RawAddress*)addr, (uint8_t)abs_vol, (uint8_t)label); 847 jint abs_vol, jint label) { 858 (uint8_t)label); 227 btavrcp_set_abs_vol_cmd_callback(RawAddress* bd_addr, uint8_t abs_vol, uint8_t label) argument 246 btavrcp_register_notification_absvol_callback(RawAddress* bd_addr, uint8_t label) argument 826 sendAbsVolRspNative(JNIEnv* env, jobject object, jbyteArray address, jint abs_vol, jint label) argument 845 sendRegisterAbsVolRspNative(JNIEnv* env, jobject object, jbyteArray address, jbyte rsp_type, jint abs_vol, jint label) argument
|
/packages/apps/Contacts/tests/src/com/android/contacts/util/ |
H A D | AccountDisplayInfoFactoryTests.java | 173 private void addTypeMapping(AccountWithDataSet account, String label, Drawable icon) { argument 174 mKnownTypes.put(account, FakeAccountType.create(account, label, icon));
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
H A D | TimerDAO.java | 61 /** Prefix for a key to a preference that stores the label of the timer. */ 92 final String label = prefs.getString(LABEL + id, null); 95 lastWallClockTime, remainingTime, label, deleteAfterUse));
|
/packages/apps/Dialer/java/com/android/dialer/app/contactinfo/ |
H A D | ContactInfoCache.java | 316 && TextUtils.equals(callLogInfo.label, info.label);
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
H A D | GestureBot.java | 90 public UiObject findDocument(String label) throws UiObjectNotFoundException { argument 98 return mDevice.findObject(docList.childSelector(new UiSelector().text(label)));
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/ |
H A D | InfoPanel.java | 54 String label = getActivity().getString(str); 55 exifString += "<b>" + label + ": </b>";
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | AlbumLabelMaker.java | 203 public void recycleLabel(Bitmap label) { argument 204 GalleryBitmapPool.getInstance().put(label);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | PagedViewWidget.java | 130 CharSequence label = info.loadLabel(pm); 132 name.setText(label);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | InstallShortcutReceiver.java | 207 if (info.launchIntent == null || info.label == null) { 311 final String label; field in class:InstallShortcutReceiver.PendingInstallShortcutInfo 327 label = data.getStringExtra(Intent.EXTRA_SHORTCUT_NAME); 344 label = info.getLabel().toString(); 360 label = info.getShortLabel().toString(); 378 label = info.label; 426 String name = ensureValidName(mContext, launchIntent, label).toString(); 600 // Ignore any conflicts in the label name, as that can change based on locale.
|