Searched defs:number (Results 1 - 25 of 39) sorted by relevance

12

/frameworks/base/core/java/android/text/format/
H A DFormatter.java31 * @param number size value to be formated
32 * @return formated string with the number
34 public static String formatFileSize(Context context, long number) { argument
35 return formatFileSize(context, number, false);
42 public static String formatShortFileSize(Context context, long number) { argument
43 return formatFileSize(context, number, true);
46 private static String formatFileSize(Context context, long number, boolean shorter) { argument
51 float result = number;
/frameworks/base/include/ui/
H A DKeyCharacterMap.h38 unsigned short *number, unsigned short* results);
58 uint16_t number; member in struct:KeyCharacterMap::Key
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCallForwardInfo.java31 public String number; /* "number" from TS 27.007 7.11 */ field in class:CallForwardInfo
38 + " \"" + PhoneNumberUtils.stringFromStringAndTOA(number, toa) + "\" "
H A DDriverCall.java44 public String number; field in class:DriverCall
59 // index,isMT,state,mode,isMpty(,number,TOA)?
76 ret.number = PhoneNumberUtils.extractNetworkPortionAlt(p.nextString());
78 if (ret.number.length() == 0) {
79 ret.number = null;
87 ret.number = PhoneNumberUtils.stringFromStringAndTOA(
88 ret.number, ret.TOA);
113 /*+ "number=" + number */ + ",cli=" + numberPresentation + ","
H A DIccUtils.java130 * second octet contains a value indicating the number of
132 * 8 bit number which defines bits 15 to 8 of a 16 bit
144 * the second octet contains a value indicating the number of
146 * contain a 16 bit number which defines the complete 16 bit
241 * @param s A string of hexadecimal characters, must be an even number of
424 Log.e(LOG_TAG, "not event number of color");
462 Log.e(LOG_TAG, "not odd number of color");
472 private static int[] getCLUT(byte[] rawData, int offset, int number) { argument
477 int[] result = new int[number];
478 int endIndex = offset + (number *
[all...]
H A DAdnRecord.java42 String number = ""; field in class:AdnRecord
55 // Maximum size of the un-extended number field
79 String number;
85 number = source.readString();
88 return new AdnRecord(efid, recordNumber, alphaTag, number, emails);
108 public AdnRecord (String alphaTag, String number) { argument
109 this(0, 0, alphaTag, number);
112 public AdnRecord (String alphaTag, String number, String[] emails) { argument
113 this(0, 0, alphaTag, number, emails);
116 public AdnRecord (int efid, int recordNumber, String alphaTag, String number, Strin argument
124 AdnRecord(int efid, int recordNumber, String alphaTag, String number) argument
[all...]
H A DCallerInfo.java33 * Looks up caller information for the given phone number.
58 * connection. This is especially relevant for the phone number field,
63 * 2. Device recognizes that this is an emergency number
69 * for a connection, but the number should be displayable.
80 /* Split up the phoneLabel into number type and label name */
119 * number. The returned CallerInfo is null if no number is supplied.
147 // Look for the number
228 * number. The returned CallerInfo is null if no number i
246 getCallerInfo(Context context, String number) argument
289 getCallerId(Context context, String number) argument
[all...]
H A DCallerInfoAsyncQuery.java69 public String number; field in class:CallerInfoAsyncQuery.CookieWrapper
219 // Change the callerInfo number ONLY if it is an emergency number or the
220 // voicemail number, and adjust other data (including photoResource)
223 // Note we're setting the phone number here (refer to javadoc
230 // Use the number entered by the user for display.
231 if (!TextUtils.isEmpty(cw.number)) {
232 mCallerInfo.phoneNumber = PhoneNumberUtils.formatNumber(cw.number);
283 * Factory method to start query with a number
285 public static CallerInfoAsyncQuery startQuery(int token, Context context, String number, argument
[all...]
H A DIccProvider.java193 "number",
202 private static final String STR_NUMBER = "number";
320 String number = initialValues.getAsString("number");
322 boolean success = addIccRecordToEf(efType, tag, number, null, pin2);
387 String number = null;
411 number = normalizeValue(val);
428 boolean success = deleteIccRecordFromEf(efType, tag, number, emails, pin2);
460 String number = values.getAsString("number");
511 addIccRecordToEf(int efType, String name, String number, String[] emails, String pin2) argument
563 deleteIccRecordFromEf(int efType, String name, String number, String[] emails, String pin2) argument
[all...]
/frameworks/base/services/java/com/android/server/status/
H A DIconData.java59 * The "count" number.
61 public int number; field in class:IconData
72 String iconPackage, int iconId, int iconLevel, int number) {
79 data.number = number;
97 this.number = that.number;
71 makeIcon(String slot, String iconPackage, int iconId, int iconLevel, int number) argument
H A DStatusBarIcon.java83 // number
84 TextView nv = (TextView)v.findViewById(com.android.internal.R.id.number);
86 if (data.number > 0) {
87 nv.setText("" + data.number);
117 if (mData.number != data.number) {
119 if (data.number > 0) {
120 nv.setText("" + data.number);
130 public void update(int number) { argument
131 if (mData.number !
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
H A DCdmaCallWaitingNotification.java29 public String number =null; field in class:CdmaCallWaitingNotification
41 + " number: " + number
H A DCdmaInformationRecords.java151 public String number; field in class:CdmaInformationRecords.CdmaNumberInfoRec
157 public CdmaNumberInfoRec(int id, String number, int numberType, int numberPlan, int pi, argument
159 this.number = number;
170 ", number: " + number +
190 public CdmaRedirectingNumberInfoRec(String number, int numberType, int numberPlan, argument
193 number, numberType, numberPlan, pi, si);
/frameworks/base/telephony/java/com/android/internal/telephony/test/
H A DSimulatedRadioControl.java21 public void triggerRing(String number); argument
H A DSimulatedGsmCallState.java48 String number; field in class:CallInfo
51 CallInfo (boolean isMT, State state, boolean isMpty, String number) { argument
55 this.number = number;
57 if (number.length() > 0 && number.charAt(0) == '+') {
65 createOutgoingCall(String number) { argument
66 return new CallInfo (false, State.DIALING, false, number);
70 createIncomingCall(String number) { argument
71 return new CallInfo (true, State.INCOMING, false, number);
177 triggerRing(String number) argument
[all...]
/frameworks/base/core/java/android/app/
H A DNotification.java86 * The number of events that this notification represents. For example, if this is the
87 * new mail notification, this would be the number of unread messages. This number is
88 * be superimposed over the icon in the status bar. If the number is 0 or negative, it
91 public int number; field in class:Notification
175 * The number of milliseconds for the LED to be on while it's flashing.
184 * The number of milliseconds for the LED to be off while it's flashing.
210 * <li>To flash the LED, pass the number of milliseconds that it should
317 number = parcel.readInt();
357 parcel.writeInt(number);
[all...]
/frameworks/base/core/java/android/provider/
H A DCallLog.java85 * The phone number as the user entered it.
88 public static final String NUMBER = "number";
109 * The cached name associated with the phone number, if it exists.
111 * associated with this number has changed.
117 * The cached number type (Home, Work, etc) associated with the
118 * phone number, if it exists.
120 * associated with this number has changed.
126 * The cached number label, for a custom number type, associated with the
127 * phone number, i
149 addCall(CallerInfo ci, Context context, String number, int presentation, int callType, long start, int duration) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_text_KeyCharacterMap.cpp78 unsigned short number = env->GetCharField(keydata, gKeyDataNumberField); local
84 rv = kmap->getKeyData(keycode, &displayLabel, &number, ch);
87 env->SetCharField(keydata, gKeyDataNumberField, number);
163 gKeyDataNumberField = env->GetFieldID(clazz, "number", "C");
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DSuppServiceNotification.java35 /** TS 27.007 7.17 "number" (MT only) */
36 public String number; field in class:SuppServiceNotification
67 + PhoneNumberUtils.stringFromStringAndTOA(number, type) + "\" ";
/frameworks/base/telephony/tests/telephonytests/src/com/android/telephonytest/unit/
H A DCallerInfoUnitTest.java58 * the number is an emergency one. There is no test for the
59 * contact based constructors because emergency number are not in
112 * Check if the voice mail number cannot be retrieved that the
113 * original phone number is preserved.
172 public QueryRunner(String number) { argument
174 mNumber = number;
/frameworks/base/core/java/android/pim/vcard/
H A DVCardUtils.java110 String number) {
111 if (number == null) {
112 number = "";
139 // TYPE_PAGER is prefered when the number contains @ surronded by
140 // a pager number and a domain name.
145 final int indexOfAt = number.indexOf("@");
147 && 0 < indexOfAt && indexOfAt < number.length() - 1)
109 getPhoneTypeFromStrings(Collection<String> types, String number) argument
/frameworks/base/core/java/android/view/
H A DKeyCharacterMap.java128 * Gets the number or symbol associated with the key. The character value
129 * is returned, not the numeric value. If the key is not a number, but is
190 * The "number" value (see {@link #getNumber}).
192 public char number; field in class:KeyCharacterMap.KeyData
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabasePerformanceTests.java112 public String numberName(int number) { argument
115 if (number >= 1000) {
116 result += numberName((number / 1000)) + " thousand";
117 number = (number % 1000);
119 if (number > 0) result += " ";
122 if (number >= 100) {
123 result += ONES[(number / 100)] + " hundred";
124 number = (number
[all...]
H A DNewDatabasePerformanceTests.java71 public String numberName(int number) { argument
74 if (number >= 1000) {
75 result += numberName((number / 1000)) + " thousand";
76 number = (number % 1000);
78 if (number > 0) result += " ";
81 if (number >= 100) {
82 result += ONES[(number / 100)] + " hundred";
83 number = (number
[all...]
/frameworks/base/libs/ui/
H A DKeyCharacterMap.cpp48 return k->number;
87 unsigned short *number, unsigned short* results)
92 *number = k->number;
86 getKeyData(int keycode, unsigned short *displayLabel, unsigned short *number, unsigned short* results) argument

Completed in 296 milliseconds

12