/development/samples/browseable/SlidingTabsColors/src/com.example.android.slidingtabscolors/ |
ContentFragment.java | 19 import android.os.Bundle; 37 * @return a new instance of {@link ContentFragment}, adding the parameters into a bundle and 42 Bundle bundle = new Bundle(); local 43 bundle.putCharSequence(KEY_TITLE, title); 44 bundle.putInt(KEY_INDICATOR_COLOR, indicatorColor); 45 bundle.putInt(KEY_DIVIDER_COLOR, dividerColor); 48 fragment.setArguments(bundle); 55 Bundle savedInstanceState) [all...] |
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/ |
NoteEdit.java | 21 import android.os.Bundle; 33 protected void onCreate(Bundle savedInstanceState) { 44 Bundle extras = getIntent().getExtras(); 61 Bundle bundle = new Bundle(); 63 bundle.putString(NotesDbAdapter.KEY_TITLE, mTitleText.getText().toString()); 64 bundle.putString(NotesDbAdapter.KEY_BODY, mBodyText.getText().toString()); 66 bundle.putLong(NotesDbAdapter.KEY_ROWID, mRowId); 70 mIntent.putExtras(bundle); [all...] |
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/ |
NoteEdit.java | 21 import android.os.Bundle; 33 protected void onCreate(Bundle savedInstanceState) { 44 Bundle extras = getIntent().getExtras(); 61 Bundle bundle = new Bundle(); 63 bundle.putString(NotesDbAdapter.KEY_TITLE, mTitleText.getText().toString()); 64 bundle.putString(NotesDbAdapter.KEY_BODY, mBodyText.getText().toString()); 66 bundle.putLong(NotesDbAdapter.KEY_ROWID, mRowId); 70 mIntent.putExtras(bundle); [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
MediaSessionStatus.java | 20 import android.os.Bundle; 51 private final Bundle mBundle; 85 private MediaSessionStatus(Bundle bundle) { 86 mBundle = bundle; 119 * Gets a bundle of extras for this status object. 123 public Bundle getExtras() { 154 * Converts this object to a bundle for serialization. 156 * @return The contents of the object represented as a bundle. 158 public Bundle asBundle() [all...] |
MediaRouteSelector.java | 19 import android.os.Bundle; 49 private final Bundle mBundle; 55 public static final MediaRouteSelector EMPTY = new MediaRouteSelector(new Bundle(), null); 57 private MediaRouteSelector(Bundle bundle, List<String> controlCategories) { 58 mBundle = bundle; 191 * Converts this object to a bundle for serialization. 193 * @return The contents of the object represented as a bundle. 195 public Bundle asBundle() { 200 * Creates an instance from a bundle 303 Bundle bundle = new Bundle(); local [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
TransitionImage.java | 30 import android.os.Bundle; 155 Bundle extras = intent.getExtras(); 167 if (!(multiple[i] instanceof Bundle)) { 171 if (image.readFromBundle(context, null, (Bundle) multiple[i])) { 191 Bundle b = new Bundle(); 198 public boolean readFromBundle(Context context, Rect intentSourceBounds, Bundle bundle) { 200 if (bundle == null) { 203 mUri = bundle.getParcelable(EXTRA_TRANSITION_BITMAP_URI) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/ |
GlobalProjectMonitor.java | 164 * Base listener bundle to associate a listener to an event mask. 182 * Listener bundle for file event. 191 * Listener bundle for folder event. 229 for (FileListenerBundle bundle : mFileListeners) { 230 if (bundle.kindMask == ListenerBundle.MASK_NONE 231 || (bundle.kindMask & kind) != 0) { 233 bundle.listener.fileChanged((IFile)r, delta.getMarkerDeltas(), kind, 244 for (FolderListenerBundle bundle : mFolderListeners) { 245 if (bundle.kindMask == ListenerBundle.MASK_NONE 246 || (bundle.kindMask & kind) != 0) 358 FileListenerBundle bundle = new FileListenerBundle(); local 371 FileListenerBundle bundle = mFileListeners.get(i); local 387 FolderListenerBundle bundle = new FolderListenerBundle(); local 400 FolderListenerBundle bundle = mFolderListeners.get(i); local [all...] |
/external/chromium_org/chrome/browser/ui/views/extensions/ |
bundle_installed_bubble.cc | 38 BundleInstalledBubble(const BundleInstaller* bundle, 62 AddContent(layout, bundle); 68 void AddContent(GridLayout* layout, const BundleInstaller* bundle) { 69 base::string16 installed_heading = bundle->GetHeadingTextFor( 71 base::string16 failed_heading = bundle->GetHeadingTextFor( 79 AddItemList(layout, bundle->GetItemsWithState( 97 AddItemList(layout, bundle->GetItemsWithState( 156 const BundleInstaller* bundle, Browser* browser) { 159 new BundleInstalledBubble(bundle, anchor, views::BubbleBorder::TOP_RIGHT);
|
/external/chromium_org/components/policy/core/common/ |
schema_unittest.cc | 604 base::DictionaryValue bundle; local 605 TestSchemaValidation(schema, bundle, SCHEMA_STRICT, true); 608 bundle.SetBoolean("Integer", true); 609 TestSchemaValidation(schema, bundle, SCHEMA_STRICT, false); 613 bundle.Clear(); 616 bundle.Set("Array", list.DeepCopy()); 617 TestSchemaValidation(schema, bundle, SCHEMA_STRICT, false); 622 bundle.Clear(); 625 bundle.Set("Object", dict.DeepCopy()); 626 TestSchemaValidation(schema, bundle, SCHEMA_STRICT, false) [all...] |
async_policy_loader.cc | 52 scoped_ptr<PolicyBundle> bundle(Load()); 61 schema_map_->FilterBundle(bundle.get()); 63 update_callback_.Run(bundle.Pass()); 74 scoped_ptr<PolicyBundle> bundle(Load()); 76 schema_map_->FilterBundle(bundle.get()); 77 return bundle.Pass();
|
config_dir_policy_loader.h | 38 // Loads the policy files at |path| into the |bundle|, with the given |level|. 41 PolicyBundle* bundle); 43 // Merges the 3rd party |policies| into the |bundle|, with the given |level|. 46 PolicyBundle* bundle);
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
MessageParser.java | 42 import android.os.Bundle; 90 * Furthermore this class can construct the bundle of extras for the second kind of intent given a 130 public void addProvisioningParamsToBundle(Bundle bundle, ProvisioningParams params) { 131 bundle.putString(EXTRA_PROVISIONING_TIME_ZONE, params.mTimeZone); 132 bundle.putString(EXTRA_PROVISIONING_LOCALE, params.getLocaleAsString()); 133 bundle.putString(EXTRA_PROVISIONING_WIFI_SSID, params.mWifiSsid); 134 bundle.putString(EXTRA_PROVISIONING_WIFI_SECURITY_TYPE, params.mWifiSecurityType); 135 bundle.putString(EXTRA_PROVISIONING_WIFI_PASSWORD, params.mWifiPassword); 136 bundle.putString(EXTRA_PROVISIONING_WIFI_PROXY_HOST, params.mWifiProxyHost) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowFragmentActivity.java | 3 import android.os.Bundle; 33 public void onCreate(Bundle bundle) { 34 super.onCreate(bundle); 36 if (bundle != null && bundle.containsKey(FRAGMENTS_TAG)) { 37 Object[] fragments = (Object[]) bundle.getSerializable(FRAGMENTS_TAG); 44 shadowOf(fragment).setSavedInstanceState(bundle); 76 public void onSaveInstanceState(Bundle outState) {
|
/frameworks/base/telephony/java/android/telephony/cdma/ |
CdmaCellLocation.java | 19 import android.os.Bundle; 66 * Initialize the object from a bundle. 68 public CdmaCellLocation(Bundle bundle) { 69 this.mBaseStationId = bundle.getInt("baseStationId", mBaseStationId); 70 this.mBaseStationLatitude = bundle.getInt("baseStationLatitude", mBaseStationLatitude); 71 this.mBaseStationLongitude = bundle.getInt("baseStationLongitude", mBaseStationLongitude); 72 this.mSystemId = bundle.getInt("systemId", mSystemId); 73 this.mNetworkId = bundle.getInt("networkId", mNetworkId); 207 * Fill the cell location data into the intent notifier Bundle based on service stat [all...] |
/external/chromium_org/native_client_sdk/src/build_tools/ |
manifest_util.py | 27 # Valid values for bundle.stability field 31 # Valid values for bundle-recommended field. 204 class Bundle(dict): 205 """A placeholder for sdk bundle information. We derive Bundle from 209 """ Create a new bundle with the given bundle name.""" 215 def MergeWithBundle(self, bundle): 216 """Merge this bundle with |bundle| [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
ulocdata.c | 38 * Pointer to the resource bundle associated with this locale data object 40 UResourceBundle *bundle; member in struct:ULocaleData 43 * Pointer to the lang resource bundle associated with this locale data object 66 uld->bundle = ures_open(NULL, localeID, status); 82 ures_close(uld->bundle); 111 exemplarChars = ures_getStringByKey(uld->bundle, exemplarSetTypes[extype], &len, &localStatus); 153 delimiterBundle = ures_getByKey(uld->bundle, "delimiters", NULL, &localStatus); 190 UResourceBundle* bundle=NULL; local 198 bundle = ures_open(NULL, localeID, status); 200 measurement = ures_getByKeyWithFallback(bundle, MEASUREMENT_SYSTEM, NULL, status) 213 UResourceBundle* bundle=NULL; local [all...] |
/cts/tests/tests/animation/src/android/animation/cts/ |
LayoutAnimationActivity.java | 20 import android.os.Bundle; 31 public void onCreate(Bundle bundle){ 32 super.onCreate(bundle);
|
/external/chromium_org/native_client_sdk/src/build_tools/tests/ |
sdktools_commands_test.py | 28 bundle = manifest_util.Bundle(bundle_name) 29 bundle.revision = 1337 30 bundle.version = 23 31 bundle.description = bundle_name 32 bundle.stability = 'beta' 33 bundle.recommended = 'no' 34 bundle.repath = bundle_name 36 bundle.AddArchive(archive) 37 manifest.SetBundle(bundle) [all...] |
/external/chromium_org/remoting/host/installer/mac/tools/ |
ksregister.sh | 10 KSADMIN=/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/MacOS/ksadmin
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
MapActivityTest.java | 3 import android.os.Bundle; 29 @Override protected void onCreate(Bundle bundle) { 30 super.onCreate(bundle);
|
/frameworks/testing/support/src/android/support/test/internal/runner/junit3/ |
AndroidJUnit3Builder.java | 19 import android.os.Bundle; 35 private final Bundle mBundle; 37 public AndroidJUnit3Builder(Instrumentation instr, Bundle bundle, boolean skipExecution) { 39 mBundle = bundle;
|
AndroidTestResult.java | 19 import android.os.Bundle; 33 private final Bundle mBundle; 35 AndroidTestResult(Bundle bundle, Instrumentation instr, TestResult result) { 37 mBundle = bundle;
|
/frameworks/testing/support/src/android/support/test/internal/runner/junit4/ |
AndroidJUnit4Builder.java | 19 import android.os.Bundle; 34 private final Bundle mBundle; 37 public AndroidJUnit4Builder(Instrumentation instr, Bundle bundle, boolean skipExecution) { 39 mBundle = bundle;
|
/frameworks/testing/support/src/android/support/test/internal/runner/listener/ |
InstrumentationRunListener.java | 19 import android.os.Bundle; 44 public void sendStatus(int code, Bundle bundle) { 45 getInstrumentation().sendStatus(code, bundle); 52 Bundle b = new Bundle(); 62 * @param resultBundle the instrumentation result bundle. Can be used to inject key-value pairs 65 public void instrumentationRunFinished(PrintStream streamResult, Bundle resultBundle) {
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
CertInstallerMain.java | 22 import android.os.Bundle; 59 protected void onCreate(Bundle savedInstanceState) { 75 Bundle bundle = intent.getExtras(); local 85 if (bundle != null && !installAsUserClassName.equals(calledClass)) { 86 bundle.remove(Credentials.EXTRA_INSTALL_AS_UID); 89 // If bundle is empty of any actual credentials, ask user to open. 92 if (bundle == null 93 || bundle.isEmpty() 94 || (bundle.size() == [all...] |