/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | StrSegment.java | 20 * The information container class of segment in a string. 22 * This class defines information of a segment in a string, such as a character, a word or a clause. 28 /** The string */ 29 public String string; field in class:StrSegment 45 * @param str The string 63 * @param str The string 68 this.string = str;
|
H A D | OpenWnnJAJP.java | 92 /** Highlight color style for the selected string */ 121 /** Maximum length of input string */ 264 /** Spannable string builder for displaying the composing text */ 468 String delimiter = Pattern.quote(getResources().getString(R.string.en_word_separators)); 791 String prevChar = mComposingText.getStrSegment(ComposingText.LAYER1, cursor - 1).string; 809 String search = mComposingText.getStrSegment(ComposingText.LAYER1, cursor - 1).string; 1018 if (str.string.charAt(0) != '\u0009') { 1023 commitText(str.string); 1136 /* if there is no composing string. */ 1250 Matcher m = mEnglishAutoCommitDelimiter.matcher(str.string); 1664 commitTextThroughInputConnection(String string) argument [all...] |
/packages/apps/Email/src/com/android/email/mail/store/imap/ |
H A D | ImapSimpleString.java | 30 /* package */ ImapSimpleString(String string) { argument 31 mString = (string != null) ? string : "";
|
/packages/apps/Gallery3D/src/com/cooliris/app/ |
H A D | Res.java | 34 public static final R.string string = new R.string(); field in class:Res
|
H A D | App.java | 122 public void showToast(final String string, final int duration) { argument 125 Toast.makeText(mContext, string, duration).show();
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
H A D | SimpleStringTexture.java | 32 SimpleStringTexture(String string, StringTexture.Config config) { argument 33 mString = string; 62 // Measure string. 63 String string = mString; 65 paint.getTextBounds(string, 0, string.length(), bounds); 71 // Draw string into bitmap with a 1px margin for anti-aliasing. 78 canvas.drawText(string, 0, 0, paint);
|
H A D | DisplaySlot.java | 83 private StringTexture getTextureForString(String string, HashMap<String, StringTexture> textureTable, argument 86 if (textureTable != null && textureTable.containsKey(string)) { 87 texture = textureTable.get(string); 90 texture = new StringTexture(string, config); 92 textureTable.put(string, texture);
|
H A D | Utils.java | 56 Toast.makeText(context, context.getResources().getString(Res.string.video_err), Toast.LENGTH_SHORT).show(); 62 public static final void writeUTF(DataOutputStream dos, String string) throws IOException { argument 63 if (string == null) { 66 dos.writeUTF(string); 109 * A function thats returns a 64-bit crc for string 112 * : input string 144 * A function that returns a human readable hex string of a Crx64 147 * : input string 148 * @return hex string of the 64-bit CRC value 166 String string [all...] |
H A D | StringTexture.java | 42 public static int computeTextWidthForConfig(String string, Config config) { argument 43 return computeTextWidthForConfig(config.fontSize, config.bold ? Typeface.DEFAULT_BOLD : Typeface.DEFAULT, string); 46 public static int computeTextWidthForConfig(float textSize, Typeface typeface, String string) { argument 53 return (int) (10.0f * App.PIXEL_DENSITY) + (int) FloatMath.ceil(paint.measureText(string)); 57 public static int lengthToFit(float textSize, float maxWidth, Typeface typeface, String string) { argument 64 int length = string.length(); 65 float retVal = paint.measureText(string); 71 retVal = paint.measureText(string, 0, length - 1); 77 public StringTexture(String string) { argument 78 mString = string; 82 StringTexture(String string, Config config) argument 86 StringTexture(String string, Config config, int width, int height) argument [all...] |
H A D | MediaFeed.java | 460 showToast(mContext.getResources().getString(Res.string.initializing), Toast.LENGTH_LONG); 470 showToast(mContext.getResources().getString(Res.string.loading_new), Toast.LENGTH_LONG); 510 private void showToast(final String string, final int duration) { argument 511 showToast(string, duration, false); 514 private void showToast(final String string, final int duration, final boolean centered) { argument 519 Toast toast = Toast.makeText(mContext, string, duration);
|
/packages/apps/Email/src/com/android/exchange/utility/ |
H A D | SimpleIcsWriter.java | 40 /* package for testing */ void writeLine(String string) { argument 42 for (byte b : Utility.toUtf8(string)) { 122 * Quote a param-value string, according to RFC 5545, section 3.1 131 // It's not the smartest implementation. e.g. we don't have to wrap an empty string with
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
H A D | BluetoothPbapAuthenticator.java | 72 public final synchronized void setSessionKey(final String string) { argument 73 mSessionKey = string;
|
/packages/apps/Email/src/com/android/email/mail/ |
H A D | PackedString.java | 35 * packed-string : [ element ] [ ELEMENT-DELIMITER [ element ] ]* 45 * Create a packed string using an already-packed string (e.g. from database) 46 * @param string packed string 48 public PackedString(String string) { argument 49 mString = string; 55 * @param tag identifier of string of interest 56 * @return returns value, or null if no string is found 68 * @return a map of the values in the packed string [all...] |
/packages/apps/Email/src/com/android/exchange/adapter/ |
H A D | AbstractSyncParser.java | 207 void userLog(String string, int num, String string2) { argument 208 mService.userLog(string, num, string2);
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
H A D | AccessPoint.java | 184 static String removeDoubleQuotes(String string) { argument 185 int length = string.length(); 186 if ((length > 1) && (string.charAt(0) == '"') 187 && (string.charAt(length - 1) == '"')) { 188 return string.substring(1, length - 1); 190 return string; 193 static String convertToQuotedString(String string) { argument 194 return "\"" + string + "\""; 209 status = context.getString(R.string.wifi_not_in_range); 212 R.string [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | NameLookupBuilder.java | 84 String string); 83 insertNameLookup(long rawContactId, long dataId, int lookupType, String string) argument
|
H A D | LegacyContactImporter.java | 1289 private void bindString(SQLiteStatement insert, int index, String string) { argument 1290 if (string == null) { 1293 insert.bindString(index, string);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | NameLookupBuilderTest.java | 71 String string) { 72 sb.append("(").append(lookupType).append(":").append(string).append(")"); 70 insertNameLookup(long rawContactId, long dataId, int lookupType, String string) argument
|
/packages/apps/Email/src/com/android/exchange/ |
H A D | AbstractSyncService.java | 206 public void userLog(String string, int code, String string2) { argument 208 userLog(string + code + string2); 212 public void userLog(String string, int code) { argument 214 userLog(string + code); 242 for (String string: strings) { 243 sb.append(string); 256 * @param str the string to log
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | BrowserProvider.java | 375 getContext().getString(R.string.picasa) + "', '" 409 public MySuggestionCursor(Cursor hc, Cursor sc, String string) { argument 417 mString = string; 418 mIncludeWebSearch = string.length() > 0; 420 // Some web suggest providers only give suggestions and have no description string for 529 return getContext().getString(R.string.search_the_web); 661 * @return the title string to use 676 * @return the subtitle string to use, or null if none 721 // still want to show the result string. 1051 * strip "https://". If the provided string canno [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
H A D | MessageUtils.java | 156 return context.getResources().getString(R.string.cannot_get_details); 160 details.append(res.getString(R.string.message_type_label)); 161 details.append(res.getString(R.string.multimedia_notification)); 166 details.append(res.getString(R.string.from_label)); 168 res.getString(R.string.hidden_sender_address)); 173 R.string.expire_on, 179 details.append(res.getString(R.string.subject_label)); 188 details.append(res.getString(R.string.message_class_label)); 193 details.append(res.getString(R.string.message_size_label)); 195 details.append(context.getString(R.string 876 isAlias(String string) argument [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | CalendarView.java | 1782 // The day header string is regenerated on every draw during drag and fling animation. 1783 // Caching day header since formatting the string takes surprising long time. 1788 R.string.weekday_day, dateStr, dateNumStr); 2486 // Sanitize a string before passing it to drawText or else we get little 2489 private String drawTextSanitizer(String string) { argument 2490 Matcher m = drawTextSanitizerFilter.matcher(string); 2491 string = m.replaceAll(",").replace('\n', ' ').replace('\n', ' '); 2492 return string; 2911 item = menu.add(0, MenuHelper.MENU_EVENT_VIEW, 0, R.string.event_view); 2917 item = menu.add(0, MenuHelper.MENU_EVENT_EDIT, 0, R.string [all...] |