/** * Returns the values in the container packaged in a bundle. * @return A bundle with the values. */ public Bundle getBundle() { return (Bundle)this.bundle.clone(); }
protected ShareOpenGraphValueContainer( final Builder<P, E> builder) { super(); this.bundle = (Bundle)builder.bundle.clone(); }
public PendingAddWidgetInfo(PendingAddWidgetInfo copy) { minWidth = copy.minWidth; minHeight = copy.minHeight; minResizeWidth = copy.minResizeWidth; minResizeHeight = copy.minResizeHeight; previewImage = copy.previewImage; icon = copy.icon; info = copy.info; boundWidget = copy.boundWidget; mimeType = copy.mimeType; configurationData = copy.configurationData; componentName = copy.componentName; itemType = copy.itemType; spanX = copy.spanX; spanY = copy.spanY; minSpanX = copy.minSpanX; minSpanY = copy.minSpanY; bindOptions = copy.bindOptions == null ? null : (Bundle) copy.bindOptions.clone(); }
/** * Make this message like o. Performs a shallow copy of the data field. * Does not copy the linked list fields, nor the timestamp or * target/callback of the original message. */ public void copyFrom(Message o) { this.flags = o.flags & ~FLAGS_TO_CLEAR_ON_COPY_FROM; this.what = o.what; this.str = o.str; this.presenter = o.presenter; this.arg1 = o.arg1; this.arg2 = o.arg2; this.obj = o.obj; this.objs = o.objs; this.replyTo = o.replyTo; this.sendingUid = o.sendingUid; if (o.data != null) { this.data = (Bundle) o.data.clone(); } else { this.data = null; } }
bundle = (Bundle) argumentsForErrorDialog.clone(); } else { bundle = new Bundle();
switch (position) { case GAME_THREAD_TAB: Bundle liveBundle = (Bundle) bundle.clone(); liveBundle.putSerializable(GameThreadFragment.THREAD_TYPE_KEY, GameThreadType.LIVE); if (fragmentMap.get(0) != null) { return tab2; case POST_GAME_TAB: Bundle postBundle = (Bundle) bundle.clone(); postBundle.putSerializable(GameThreadFragment.THREAD_TYPE_KEY, GameThreadType.POST); if (fragmentMap.get(2) != null) {
bundle = (Bundle) argumentsForErrorDialog.clone(); } else { bundle = new Bundle();
bundle = (Bundle) argumentsForErrorDialog.clone(); } else { bundle = new Bundle();
Bundle resultBundle = (Bundle) msg.getData().clone(); resultBundle.putLong(EXPIRES, expiresAtMsecFromEpoch);
touchdata.putFloat(TouchProfile.PARAM_X, touchEvent.getX()); touchdata.putFloat(TouchProfile.PARAM_Y, touchEvent.getY()); touchlist.add((Bundle) touchdata.clone()); touches.putParcelableArray(TouchProfile.PARAM_TOUCHES, touchlist.toArray(new Bundle[touchlist.size()])); List<Event> events = EventManager.INSTANCE.getEventList(serviceId, TouchProfileConstants.PROFILE_NAME,