/development/samples/VoiceRecognitionService/src/com/example/android/voicerecognitionservice/ |
VoiceRecognitionService.java | 24 import android.os.Bundle; 67 Bundle bundle = new Bundle(); local 68 bundle.putStringArrayList(SpeechRecognizer.RESULTS_RECOGNITION, results); 71 listener.results(bundle);
|
/dalvik/libcore/luni/src/test/java/tests/api/java/util/ |
SampleBundleClass.java | 28 private static ResourceBundle bundle; field in class:SampleBundleClass 37 bundle = ResourceBundle.getBundle("tests.api.simple.SampleBundleClass"); 40 bundle = null;
|
ListResourceBundleTest.java | 58 ResourceBundle bundle; local 61 bundle = ResourceBundle.getBundle(name, new Locale("fr", "FR", "VAR")); 62 Enumeration keys = bundle.getKeys(); 98 ListResourceBundle bundle; local 101 bundle = (ListResourceBundle)ResourceBundle.getBundle(name, new Locale("fr", "FR", "VAR")); 102 Enumeration keys = bundle.getKeys(); 106 result.addElement(bundle.handleGetObject((String)keys.nextElement()));
|
/development/apps/BluetoothDebug/src/com/android/bluetoothdebug/ |
DebugReceiver.java | 28 import android.os.Bundle; 49 Bundle bundle = intent.getExtras(); local 50 if (bundle == null) return; 51 for (String extra : bundle.keySet()) { 52 Log.d(TAG, "\t" + shorten(extra) + " = " + bundle.get(extra));
|
/development/simulator/app/ |
LogMessage.cpp | 75 android_LogBundle bundle; local 79 memset(&bundle, 0, sizeof(bundle)); 80 bundle.when = time(NULL); 81 bundle.priority = ANDROID_LOG_ERROR; 82 bundle.pid = getpid(); 83 bundle.tag = "-"; 87 bundle.msgVec = &iov; 88 bundle.msgCount = 1; 90 newMsg = Create(&bundle); [all...] |
/external/webkit/WebKit/mac/Misc/ |
WebLocalizableStrings.h | 37 NSBundle *bundle; member in struct:__anon6610 45 NSString *WebLocalizedString(WebLocalizableStringsBundle *bundle, const char *key); 47 CFStringRef WebLocalizedString(WebLocalizableStringsBundle *bundle, const char *key);
|
/external/webkit/WebKit/win/ |
WebLocalizableStrings.h | 33 CFBundleRef bundle; member in struct:__anon6637 43 void SetWebLocalizedStringMainBundle(CFBundleRef bundle); 46 CFStringRef WebLocalizedString(WebLocalizableStringsBundle *bundle, LPCTSTR key); 47 LPCTSTR WebLocalizedLPCTSTR(WebLocalizableStringsBundle *bundle, LPCTSTR key);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/voice/ |
FieldContext.java | 19 import android.os.Bundle; 44 Bundle mFieldInfo; 48 mFieldInfo = new Bundle(); 52 if (DBG) Log.i("FieldContext", "Bundle = " + mFieldInfo.toString()); 62 private static void addEditorInfoToBundle(EditorInfo info, Bundle bundle) { 67 bundle.putString(LABEL, safeToString(info.label)); 68 bundle.putString(HINT, safeToString(info.hintText)); 69 bundle.putString(PACKAGE_NAME, safeToString(info.packageName)); 70 bundle.putInt(FIELD_ID, info.fieldId) [all...] |
Whitelist.java | 19 import android.os.Bundle; 27 private List<Bundle> mConditions; 30 mConditions = new ArrayList<Bundle>(); 33 public Whitelist(List<Bundle> conditions) { 38 Bundle bundle = new Bundle(); local 39 bundle.putString("packageName", app); 40 mConditions.add(bundle); 47 for (Bundle condition : mConditions) [all...] |
/packages/apps/Phone/src/com/android/phone/ |
GsmUmtsCallForwardOptions.java | 5 import android.os.Bundle; 42 private Bundle mIcicle; 45 protected void onCreate(Bundle icicle) { 86 Bundle bundle = mIcicle.getParcelable(pref.getKey()); local 87 pref.setToggled(bundle.getBoolean(KEY_TOGGLE)); 89 cf.number = bundle.getString(KEY_NUMBER); 90 cf.status = bundle.getInt(KEY_STATUS); 101 protected void onSaveInstanceState(Bundle outState) { 105 Bundle bundle = new Bundle() local 111 outState.putParcelable(pref.getKey(), bundle); local [all...] |
/frameworks/base/core/java/android/accounts/ |
ChooseAccountActivity.java | 19 import android.os.Bundle; 33 private Bundle mResult; 36 public void onCreate(Bundle savedInstanceState) { 65 Bundle bundle = new Bundle(); local 66 bundle.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); 67 bundle.putString(AccountManager.KEY_ACCOUNT_TYPE, account.type); 68 mResult = bundle;
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/ |
Msg.java | 32 * This class retrieves strings from a resource bundle and returns them, 39 * resource bundle. Note that if this file is not available, or an invalid key 40 * is looked up, or resource bundle support is not available, the key itself 56 * @return String the message for that key in the system message bundle. 60 ResourceBundle bundle = MsgHelp.loadBundle(sResource); local 61 if (bundle == null) { 66 return bundle.getString(msg); 79 * @return String the message for that key in the system message bundle. 92 * @return String the message for that key in the system message bundle. 105 * @return String the message for that key in the system message bundle 138 ResourceBundle bundle = MsgHelp.loadBundle(sResource); local [all...] |
MsgHelp.java | 55 ResourceBundle bundle = setLocale(Locale.getDefault(), local 57 bundleRef = new SoftReference<ResourceBundle>(bundle); 59 return bundle; 71 ResourceBundle bundle = MsgHelp.loadBundle(resource); local 72 if (bundle == null) { 76 return bundle.getString(msg); 84 ResourceBundle bundle = MsgHelp.loadBundle(resource); local 85 if (bundle != null) { 87 format = bundle.getString(msg); 167 * the name of the bundle resourc [all...] |
/external/icu4c/test/intltest/ |
nptrans.h | 41 UResourceBundle *bundle; member in class:NamePrepTransform
|
/frameworks/base/tools/aapt/ |
Main.cpp | 7 #include "Bundle.h" 159 int handleCommand(Bundle* bundle) 162 // bundle->getCommand(), bundle->getVerbose(), bundle->getForce()); 163 //for (int i = 0; i < bundle->getFileSpecCount(); i++) 164 // printf(" %d: '%s'\n", i, bundle->getFileSpecEntry(i)); 166 switch (bundle->getCommand()) { 167 case kCommandVersion: return doVersion(bundle); 185 Bundle bundle; local [all...] |
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
CertInstallerMain.java | 20 import android.os.Bundle; 33 protected void onCreate(Bundle savedInstanceState) { 52 Bundle bundle = intent.getExtras(); local 54 if ((bundle == null) || bundle.isEmpty()) {
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/ |
Authenticator.java | 25 import android.os.Bundle; 48 public Bundle addAccount(AccountAuthenticatorResponse response, 50 Bundle options) { 56 final Bundle bundle = new Bundle(); local 57 bundle.putParcelable(AccountManager.KEY_INTENT, intent); 58 return bundle; 65 public Bundle confirmCredentials(AccountAuthenticatorResponse response, 66 Account account, Bundle options) 82 final Bundle bundle = new Bundle(); local 130 final Bundle bundle = new Bundle(); local 177 final Bundle bundle = new Bundle(); local [all...] |
/packages/apps/Email/src/com/android/exchange/provider/ |
ExchangeProvider.java | 28 import android.os.Bundle; 87 final Bundle bundle = new Bundle(); local 88 bundle.putInt(EXTRAS_TOTAL_RESULTS, galResult.total); 89 c.setExtras(bundle); 127 private Bundle mExtras; 134 public void setExtras(Bundle extras) { 139 public Bundle getExtras() {
|
/external/webkit/WebKit/mac/Plugins/ |
WebBasePluginPackage.h | 63 NSBundle *bundle; variable 85 - (NSBundle *)bundle;
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
ListOfInternalSelectionViews.java | 20 import android.os.Bundle; 95 * Initialize a bundle suitable for sending as the params of the intent that 100 * @return the intialized bundle. 102 public static Bundle getBundleFor(int numItems, int numRowsPerItem, double itemScreenHeightFactor) { 103 Bundle bundle = new Bundle(); local 104 bundle.putInt(BUNDLE_PARAM_NUM_ITEMS, numItems); 105 bundle.putInt(BUNDLE_PARAM_NUM_ROWS_PER_ITEM, numRowsPerItem); 106 bundle.putDouble(BUNDLE_PARAM_ITEM_SCREEN_HEIGHT_FACTOR, itemScreenHeightFactor) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/ |
GlobalProjectMonitor.java | 132 * Base listener bundle to associate a listener to an event mask. 150 * Listener bundle for file event. 159 * Listener bundle for folder event. 190 for (FileListenerBundle bundle : mFileListeners) { 191 if (bundle.kindMask == ListenerBundle.MASK_NONE 192 || (bundle.kindMask & kind) != 0) { 194 bundle.listener.fileChanged((IFile)r, delta.getMarkerDeltas(), kind); 204 for (FolderListenerBundle bundle : mFolderListeners) { 205 if (bundle.kindMask == ListenerBundle.MASK_NONE 206 || (bundle.kindMask & kind) != 0) 302 FileListenerBundle bundle = new FileListenerBundle(); local 315 FileListenerBundle bundle = mFileListeners.get(i); local 331 FolderListenerBundle bundle = new FolderListenerBundle(); local 344 FolderListenerBundle bundle = mFolderListeners.get(i); local [all...] |
/cts/tests/tests/location/src/android/location/cts/ |
LocationTest.java | 26 import android.os.Bundle; 429 args = {android.os.Bundle.class} 658 Bundle bundle = new Bundle(); local 659 bundle.putBoolean(TEST_KEY1NAME, TEST_KEY1VALUE); 660 bundle.putByte(TEST_KEY2NAME, TEST_KEY2VALUE); 661 l.setExtras(bundle); 666 private void assertTestBundle(Bundle bundle) { [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
ResultReceiverTest.java | 25 import android.os.Bundle; 40 args = {int.class, Bundle.class} 45 args = {int.class, Bundle.class} 65 Bundle bundle = new Bundle(); local 67 sender.send(resultCode, bundle); 70 assertSame(bundle, sender.getResultData()); 84 private Bundle mResultData; 92 protected void onReceiveResult(int resultCode, Bundle resultData) [all...] |
/cts/tests/tests/telephony/src/android/telephony/gsm/cts/ |
GsmCellLocationTest.java | 19 import android.os.Bundle; 44 args = {Bundle.class} 79 args = {Bundle.class} 88 Bundle bundle = new Bundle(); local 94 gsmCellLocation.fillInNotifierBundle(bundle); 95 gsmCellLocation = new GsmCellLocation(bundle);
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/i18n/ |
LocalizedMessage.java | 27 * RessourceBundle and <code>id</code> as the message bundle id the resource file. 29 * @param id the id of the corresponding bundle in the resource file 46 * RessourceBundle and <code>id</code> as the message bundle id the resource file. 48 * @param id the id of the corresponding bundle in the resource file 79 ResourceBundle bundle = ResourceBundle.getBundle(resource,loc); local 80 String template = bundle.getString(entry); 161 * Returns the id of the message in the resource bundle. 170 * Returns the name of the resource bundle for this message
|