/frameworks/base/core/tests/coretests/src/android/util/ |
PatternsTest.java | 127 t = Patterns.PHONE.matcher("(919) 555-1212").matches(); 128 assertTrue("Valid phone", t); 130 t = Patterns.PHONE.matcher("2334 9323/54321").matches(); 131 assertFalse("Invalid phone", t); 161 Matcher m = Patterns.PHONE.matcher(test); 163 assertTrue("Valid phone " + test, m.find());
|
/external/qemu/ |
offset_layout.py | 18 Usage: %s --dx offset-x-display --dy offset-y-display --px offset-x-phone-buttons --py offset-y-phone-buttons --kx offset-x-keyboard --ky offset-y-keyboard < layout > layout2. 22 Phone buttons: soft-left/top/righ/bottom, home, dpad, dial, power, etc. 55 PHONE = [ "soft-left", "home", "back", "dpad-up", "dpad-down", "dpad-left", "dpad-right", "dpad-center", "phone-dial", "phone-hangup", "power", "volume-up", "volume-down" ] 73 is_phone = keyword in PHONE
|
/frameworks/base/core/java/android/util/ |
Patterns.java | 159 * might be phone numbers in arbitrary text, not for validating whether 160 * something is in fact a phone number. It will miss many things that 161 * are legitimate phone numbers. 171 public static final Pattern PHONE
|
/frameworks/base/core/java/android/bluetooth/ |
BluetoothClass.java | 25 * specify the general device type such as a phone, a computer, or 155 public static final int PHONE = 0x0200; 175 // Devices in the PHONE major class
|
/packages/apps/Contacts/src/com/android/contacts/ |
SplitAggregateView.java | 31 import android.provider.ContactsContract.CommonDataKinds.Phone; 51 * and additional data such as a nickname, email address or phone number, whichever 61 StructuredName.DISPLAY_NAME, Nickname.NAME, Email.DATA, Phone.NUMBER 71 int PHONE = 7; 120 String phone; field in class:SplitAggregateView.RawContactInfo 137 if (phone != null) { 138 return phone; 173 } else if (Phone.CONTENT_ITEM_TYPE.equals(mimetype)) { 207 if (info.phone == null || cursor.getInt(SplitQuery.IS_PRIMARY) != 0) { 208 info.phone = cursor.getString(SplitQuery.PHONE) [all...] |
CallDetailActivity.java | 34 import android.provider.ContactsContract.CommonDataKinds.Phone; 122 // Make sure phone isn't already busy before starting direct call 213 callLabel = Phone.getDisplayLabel(this, 248 createIntent.putExtra(Insert.PHONE, mNumber);
|
ContactsListActivity.java | 83 import android.provider.ContactsContract.CommonDataKinds.Phone; 212 /** Mask for hiding additional information e.g. primary phone number in the list */ 248 /** Show all phone numbers and pick them when clicking */ 250 /** Show all phone numbers through the legacy provider and pick them when clicking */ 361 Phone._ID, //0 362 Phone.TYPE, //1 363 Phone.LABEL, //2 364 Phone.NUMBER, //3 365 Phone.DISPLAY_NAME, // 4 366 Phone.CONTACT_ID, // 2607 String phone = cursor.getString(PHONE_NUMBER_COLUMN_INDEX); local 2630 String phone = null; local [all...] |
TwelveKeyDialer.java | 20 import com.android.phone.CallLogAsync; 21 import com.android.phone.HapticFeedback; 127 * press/depress of the "hookswitch" of a landline phone. Aka "empty flash". 129 * TODO: Using an intent extra to tell the phone to send this flash is a 132 * in Phone app until this is replaced with the ITelephony API. 135 = "com.android.phone.extra.SEND_EMPTY_FLASH"; 142 * Listen for phone state changes so that we can take down the 143 * "dialpad chooser" if the phone becomes idle while the 240 // In landscape we put the keyboard in phone mode. 315 // Query the phone numbe 1038 ITelephony phone = ITelephony.Stub.asInterface(ServiceManager.checkService("phone")); local 1062 ITelephony phone = ITelephony.Stub.asInterface(ServiceManager.checkService("phone")); local 1076 ITelephony phone = ITelephony.Stub.asInterface(ServiceManager.checkService("phone")); local 1092 ITelephony phone = ITelephony.Stub.asInterface(ServiceManager.checkService("phone")); local [all...] |
RecentCallsListActivity.java | 53 import android.provider.ContactsContract.CommonDataKinds.Phone; 168 * allocations when formatting phone numbers. 359 // New incoming phone number invalidates our formatted 564 // Format and cache phone number for found contact 582 // Format the cached call_log phone number 593 CharSequence numberLabel = Phone.getDisplayLabel(context, ntype, label, 772 ITelephony.Stub.asInterface(ServiceManager.getService("phone")); 786 * Format the given phone number using [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
GlobalSearchSupport.java | 39 import android.provider.ContactsContract.CommonDataKinds.Phone; 108 public static final int PHONE = 6; 235 if (Organization.COMPANY != Data.DATA1 || Phone.NUMBER != Data.DATA1 248 mMimeTypeIdPhone = dbHelper.getMimeTypeId(Phone.CONTENT_ITEM_TYPE); 410 suggestion.phoneNumber = c.getString(SearchSuggestionQuery.PHONE);
|
ContactsProvider2.java | 109 import android.provider.ContactsContract.CommonDataKinds.Phone; [all...] |
/packages/apps/Contacts/src/com/android/contacts/ui/ |
ShowOrCreateActivity.java | 45 * connected with a specific E-mail address or phone number. Will search based 129 mCreateExtras.putString(Intents.Insert.PHONE, ssp);
|
/frameworks/base/core/java/android/text/util/ |
Linkify.java | 68 * Bit field indicating that phone numbers should be matched in methods that 87 * phone number. 111 * phone number. 130 * Transforms matched phone number text into something suitable 174 * For example: when converting a phone number such as (919) 555-1212 224 gatherLinks(links, text, Patterns.PHONE,
|
/frameworks/base/core/java/android/provider/ |
Contacts.java | 87 * Signifies an Phone row that is stored in the Phones table 415 * The ID of the persons preferred phone number. 739 * The ID of the person this phone number is assigned to. 861 * The type of the the phone number. [all...] |
Telephony.java | 41 * The Telephony provider contains data related to phone operation. [all...] |
ContactsContract.java | 59 * as a phone number or email addresses. The set of data kinds that can be 387 * An indicator of whether this contact has at least one phone number. "1" if there is 388 * at least one phone number, "0" otherwise. 504 public static final int PHONE = 20; 678 * <li>If you need to look up a contact by the phone number, use 747 * <td>An indicator of whether this contact has at least one phone number. 748 * "1" if there is at least one phone number, "0" otherwise.</td> [all...] |
/external/qemu/android/ |
hw-events.h | 211 KEY_CODE(PHONE ,169) \
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
EntityModifier.java | 38 import android.provider.ContactsContract.CommonDataKinds.Phone; 463 // Phone 464 final DataKind kind = source.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); 465 parseExtras(state, kind, extras, Insert.PHONE_TYPE, Insert.PHONE, Phone.NUMBER); 467 Phone.NUMBER); 469 Phone.NUMBER);
|
/packages/apps/Mms/src/com/android/mms/ui/ |
ConversationList.java | 359 intent.putExtra(ContactsContract.Intents.Insert.PHONE, address); 361 ContactsContract.CommonDataKinds.Phone.TYPE_MOBILE); 439 // of phone to work with, localization shouldn't be a problem:
|
ComposeMessageActivity.java | [all...] |
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
PowerUsageDetail.java | 52 PHONE,
|
PowerUsageSummary.java | 428 addEntry(getString(R.string.power_phone), DrainType.PHONE, phoneOnTimeMs,
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
CachedBluetoothDevice.java | 642 case BluetoothClass.Device.Major.PHONE: [all...] |
/packages/apps/Browser/src/com/android/browser/ |
BrowserActivity.java | [all...] |
/prebuilt/sdk/6/ |
android.jar | |