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

12

/frameworks/base/core/java/android/text/format/
H A DFormatter.java32 * @param number size value to be formatted
33 * @return formatted string with the number
35 public static String formatFileSize(Context context, long number) { argument
36 return formatFileSize(context, number, false);
43 public static String formatShortFileSize(Context context, long number) { argument
44 return formatFileSize(context, number, true);
47 private static String formatFileSize(Context context, long number, boolean shorter) { argument
52 float result = number;
/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
60 // index,isMT,state,mode,isMpty(,number,TOA)?
77 ret.number = PhoneNumberUtils.extractNetworkPortionAlt(p.nextString());
79 if (ret.number.length() == 0) {
80 ret.number = null;
88 ret.number = PhoneNumberUtils.stringFromStringAndTOA(
89 ret.number, ret.TOA);
114 /*+ "number=" + number */ + ",cli=" + numberPresentation + ","
H A DIccUtils.java158 * second octet contains a value indicating the number of
160 * 8 bit number which defines bits 15 to 8 of a 16 bit
172 * the second octet contains a value indicating the number of
174 * contain a 16 bit number which defines the complete 16 bit
280 * @param s A string of hexadecimal characters, must be an even number of
464 Log.e(LOG_TAG, "not event number of color");
502 Log.e(LOG_TAG, "not odd number of color");
512 private static int[] getCLUT(byte[] rawData, int offset, int number) { argument
517 int[] result = new int[number];
518 int endIndex = offset + (number *
[all...]
H A DAdnRecord.java41 String number = null; field in class:AdnRecord
54 // Maximum size of the un-extended number field
78 String number;
84 number = source.readString();
87 return new AdnRecord(efid, recordNumber, alphaTag, number, emails);
107 public AdnRecord (String alphaTag, String number) { argument
108 this(0, 0, alphaTag, number);
111 public AdnRecord (String alphaTag, String number, String[] emails) { argument
112 this(0, 0, alphaTag, number, emails);
115 public AdnRecord (int efid, int recordNumber, String alphaTag, String number, Strin argument
123 AdnRecord(int efid, int recordNumber, String alphaTag, String number) argument
[all...]
H A DCallerInfo.java43 * Looks up caller information for the given phone number.
69 * connection. This is especially relevant for the phone number field,
74 * 2. Device recognizes that this is an emergency number
80 * for a connection, but the number should be displayable.
93 /* Split up the phoneLabel into number type and label name */
155 * number. The returned CallerInfo is null if no number is supplied.
183 // Look for the number
189 // Look for the normalized number
253 * number
271 getCallerInfo(Context context, String number) argument
311 doSecondaryLookupIfNecessary(Context context, String number, CallerInfo previousResult) argument
341 getCallerId(Context context, String number) argument
531 getGeoDescription(Context context, String number) argument
[all...]
H A DCallerInfoAsyncQuery.java79 public String number; field in class:CallerInfoAsyncQuery.CookieWrapper
229 // Change the callerInfo number ONLY if it is an emergency number or the
230 // voicemail number, and adjust other data (including photoResource)
233 // Note we're setting the phone number here (refer to javadoc
243 mQueryContext, cw.number, mCallerInfo);
253 // no contacts matched the phone number of the incoming call),
264 // Actually when no contacts match the incoming phone number,
266 // *or* phoneNumber). So we need to pass in cw.number as
267 // a fallback number
339 startQuery(int token, Context context, String number, OnQueryCompleteListener listener, Object cookie) argument
[all...]
H A DIccProvider.java47 "number",
57 private static final String STR_NUMBER = "number";
132 String number = initialValues.getAsString("number");
134 boolean success = addIccRecordToEf(efType, tag, number, null, pin2);
199 String number = null;
223 number = normalizeValue(val);
232 if (TextUtils.isEmpty(number)) {
240 boolean success = deleteIccRecordFromEf(efType, tag, number, emails, pin2);
272 String number
321 addIccRecordToEf(int efType, String name, String number, String[] emails, String pin2) argument
373 deleteIccRecordFromEf(int efType, String name, String number, String[] emails, String pin2) argument
[all...]
/frameworks/support/v4/honeycomb/android/support/v4/app/
H A DNotificationCompatHoneycomb.java28 RemoteViews tickerView, int number,
50 .setNumber(number);
26 add(Context context, Notification n, CharSequence contentTitle, CharSequence contentText, CharSequence contentInfo, RemoteViews tickerView, int number, PendingIntent contentIntent, PendingIntent fullScreenIntent, Bitmap largeIcon) argument
/frameworks/base/core/java/com/android/internal/statusbar/
H A DStatusBarIcon.java27 public int number; field in class:StatusBarIcon
30 public StatusBarIcon(String iconPackage, int iconId, int iconLevel, int number, argument
35 this.number = number;
43 + " num=" + this.number + " )";
49 this.number, this.contentDescription);
66 this.number = in.readInt();
75 out.writeInt(this.number);
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
H A DCdmaCallWaitingNotification.java29 public String number = null; field in class:CdmaCallWaitingNotification
43 + " 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...]
H A DModelInterpreter.java139 /** number of msec between dialing -> alerting and alerting->active */
277 triggerRing(String number) argument
282 success = simulatedCallState.triggerRing(number);
/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/internal/telephony/
H A DCallerInfoTest.java59 * the number is an emergency one. There is no test for the
60 * contact based constructors because emergency number are not in
113 * Check if the voice mail number cannot be retrieved that the
114 * original phone number is preserved.
173 public QueryRunner(String number) { argument
175 mNumber = number;
/frameworks/base/core/java/android/provider/
H A DCallLog.java120 * The phone number as the user entered it.
123 public static final String NUMBER = "number";
155 * The cached name associated with the phone number, if it exists.
157 * associated with this number has changed.
163 * The cached number type (Home, Work, etc) associated with the
164 * phone number, if it exists.
166 * associated with this number has changed.
172 * The cached number label, for a custom number type, associated with the
173 * phone number, i
264 addCall(CallerInfo ci, Context context, String number, int presentation, int callType, long start, int duration) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabasePerformanceTests.java113 public String numberName(int number) { argument
116 if (number >= 1000) {
117 result += numberName((number / 1000)) + " thousand";
118 number = (number % 1000);
120 if (number > 0) result += " ";
123 if (number >= 100) {
124 result += ONES[(number / 100)] + " hundred";
125 number = (number
[all...]
H A DNewDatabasePerformanceTests.java70 public String numberName(int number) { argument
73 if (number >= 1000) {
74 result += numberName((number / 1000)) + " thousand";
75 number = (number % 1000);
77 if (number > 0) result += " ";
80 if (number >= 100) {
81 result += ONES[(number / 100)] + " hundred";
82 number = (number
[all...]
/frameworks/base/include/androidfw/
H A DKeyCharacterMap.h92 /* Gets the Unicode character for the number or symbol generated by the key
94 * Returns 0 if no number or symbol is generated.
164 /* The number or symbol character generated by the key, or 0 if none. */
165 char16_t number; member in struct:android::KeyCharacterMap::Key
/frameworks/compile/libbcc/lib/ExecutionEngine/
H A DMCCacheReader.cpp165 uint32_t number = 0x00000001; local
167 bool isLittleEndian = (*reinterpret_cast<char *>(&number) == 1);
H A DMCCacheWriter.cpp94 uint32_t number = 0x00000001; local
95 header->endianness = (*reinterpret_cast<char *>(&number) == 1) ? 'e' : 'E';
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardUtils.java195 String number) {
196 if (number == null) {
197 number = "";
234 // 3. TYPE_PAGER is prefered when the number contains @ surronded by
235 // a pager number and a domain name.
240 final int indexOfAt = number.indexOf("@");
242 && 0 < indexOfAt && indexOfAt < number.length() - 1)
194 getPhoneTypeFromStrings(Collection<String> types, String number) argument
/frameworks/support/v4/java/android/support/v4/app/
H A DNotificationCompat.java162 * Set the large number at the right-hand side of the notification. This is
163 * equivalent to setContentInfo, although it might show the number in a different
166 public Builder setNumber(int number) { argument
167 mNumber = number;
305 * rate. The rate is specified in terms of the number of milliseconds to be on
306 * and then the number of milliseconds to be off.

Completed in 7622 milliseconds

12