Home | History | Annotate | Download | only in versions

Lines Matching full:link

30 ({@link android.os.Build.VERSION_CODES#HONEYCOMB}) is available as a downloadable
59 fragment, you must extend the {@link android.app.Fragment} class and implement several lifecycle
60 callback methods, similar to an {@link android.app.Activity}. You can then combine multiple
84 <p>To manage the fragments in your activity, you must use the {@link
89 <p>To perform a transaction, such as add or remove a fragment, you must create a {@link
90 android.app.FragmentTransaction}. You can then call methods such as {@link
91 android.app.FragmentTransaction#add add()} {@link android.app.FragmentTransaction#remove
92 remove()}, or {@link android.app.FragmentTransaction#replace replace()}. Once you've applied all
93 the changes you want to perform for the transaction, you must call {@link
130 which the system delivers to your activity's {@link android.app.Activity#onOptionsItemSelected
135 attribute, then call {@link android.app.ActionBar#setDisplayUseLogoEnabled
168 <p>To start using the clipboard, get the global {@link android.content.ClipboardManager} object
169 by calling {@link android.content.Context#getSystemService getSystemService(CLIPBOARD_SERVICE)}.</p>
171 <p>To copy an item to the clipboard, you need to create a new {@link
172 android.content.ClipData} object, which holds one or more {@link android.content.ClipData.Item}
173 objects, each describing a single entity. To create a {@link android.content.ClipData} object
174 containing just one {@link android.content.ClipData.Item}, you can use one of the helper methods,
175 such as {@link android.content.ClipData#newPlainText newPlainText()}, {@link
176 android.content.ClipData#newUri newUri()}, and {@link android.content.ClipData#newIntent
177 newIntent()}, which each return a {@link android.content.ClipData} object pre-loaded with the
178 {@link android.content.ClipData.Item} you provide.</p>
180 <p>To add the {@link android.content.ClipData} to the clipboard, pass it to {@link
181 android.content.ClipboardManager#setPrimaryClip setPrimaryClip()} for your instance of {@link
184 <p>You can then read a file from the clipboard (in order to paste it) by calling {@link
185 android.content.ClipboardManager#getPrimaryClip()} on the {@link
186 android.content.ClipboardManager}. Handling the {@link android.content.ClipData} you receive can
190 <p>The clipboard holds only one piece of clipped data (a {@link android.content.ClipData}
191 object) at a time, but one {@link android.content.ClipData} can contain multiple {@link
204 operation is the transfer of some kind of data&mdash;carried in a {@link android.content.ClipData}
205 object&mdash;from one place to another. The start and end point for the drag operation is a {@link
207 in the {@link android.view.View} class.</p>
210 defined by a {@link android.view.DragEvent} object&mdash;such as {@link
211 android.view.DragEvent#ACTION_DRAG_STARTED}, {@link android.view.DragEvent#ACTION_DRAG_ENTERED}, and
212 {@link android.view.DragEvent#ACTION_DROP}. Each view that wants to participate in a drag
215 <p>To begin dragging content in your activity, call {@link android.view.View#startDrag startDrag()}
216 on a {@link android.view.View}, providing a {@link android.content.ClipData} object that represents
217 the data to drag, a {@link android.view.View.DragShadowBuilder} to facilitate the "shadow"
218 that users see under their fingers while dragging, and an {@link java.lang.Object} that can share
221 <p>To accept a drag object in a {@link android.view.View} (receive the "drop"), register the view
222 with an {@link android.view.View.OnDragListener OnDragListener} by calling {@link
224 system calls {@link android.view.View.OnDragListener#onDrag onDrag()} for the {@link
225 android.view.View.OnDragListener OnDragListener}, which receives a {@link android.view.DragEvent}
226 describing the type of drag action has occurred (such as {@link
227 android.view.DragEvent#ACTION_DRAG_STARTED}, {@link android.view.DragEvent#ACTION_DRAG_ENTERED}, and
228 {@link android.view.DragEvent#ACTION_DROP}). During a drag, the system repeatedly calls {@link
230 stream of drag events. The receiving view can inquire the event type delivered to {@link
231 android.view.View#onDragEvent onDragEvent()} by calling {@link android.view.DragEvent#getAction
232 getAction()} on the {@link android.view.DragEvent}.</p>
234 <p class="note"><strong>Note:</strong> Although a drag event may carry a {@link
250 Home screen, including: {@link android.widget.GridView}, {@link android.widget.ListView}, {@link
251 android.widget.StackView}, {@link android.widget.ViewFlipper}, and {@link
254 <p>More importantly, you can use the new {@link android.widget.RemoteViewsService} to create app
255 widgets with collections, using widgets such as {@link android.widget.GridView}, {@link
256 android.widget.ListView}, and {@link android.widget.StackView} that are backed by remote data,
259 <p>The {@link android.appwidget.AppWidgetProviderInfo} class (defined in XML with an {@code
260 &lt;appwidget-provider&gt;} element) also supports two new fields: {@link
261 android.appwidget.AppWidgetProviderInfo#autoAdvanceViewId} and {@link
262 android.appwidget.AppWidgetProviderInfo#previewImage}. The {@link
265 {@link android.appwidget.AppWidgetProviderInfo#previewImage} field specifies a preview of what the
269 <p>To help create a preview image for your app widget (to specify in the {@link
284 <p>The {@link android.app.Notification} APIs have been extended to support more content-rich status
285 bar notifications, plus a new {@link android.app.Notification.Builder} class allows you to easily
286 create {@link android.app.Notification} objects.</p>
289 <li>Support for a large icon in the notification, using {@link
293 <li>Support for custom layouts in the status bar ticker, using {@link
295 <li>Support for custom notification layouts to include buttons with {@link
304 <p>New framework APIs facilitate asynchronous loading of data using the {@link
306 fragments to dynamically load data from worker threads. The {@link
308 a {@link android.content.ContentProvider}.</p>
310 <p>All you need to do is implement the {@link android.app.LoaderManager.LoaderCallbacks
312 changed, then call {@link android.app.LoaderManager#initLoader initLoader()} to initialize the
333 <p>You can initialize the respective {@link android.bluetooth.BluetoothProfile} by calling {@link
334 android.bluetooth.BluetoothAdapter#getProfileProxy getProfileProxy()} with either the {@link
335 android.bluetooth.BluetoothProfile#A2DP} or {@link android.bluetooth.BluetoothProfile#HEADSET}
336 profile constant and a {@link android.bluetooth.BluetoothProfile.ServiceListener} to receive
358 the system how to calculate the values for that given type, by implementing the {@link
361 <p>There are two animators you can use to animate the values of a property: {@link
362 android.animation.ValueAnimator} and {@link android.animation.ObjectAnimator}. The {@link
365 listen for the updates and process the data with your own logic. The {@link
366 android.animation.ObjectAnimator} is a subclass of {@link android.animation.ValueAnimator} and
368 That is, you give the {@link android.animation.ObjectAnimator} the object to animate, the
372 <p>Additionally, the {@link android.animation.LayoutTransition} class enables automatic transition
374 layout, create a {@link android.animation.LayoutTransition} object and set it on
375 any {@link android.view.ViewGroup} by calling {@link
378 animations, call {@link android.animation.LayoutTransition#setAnimator setAnimator()} on the {@link
379 android.animation.LayoutTransition} and provide a custom {@link android.animation.Animator},
380 such as a {@link android.animation.ValueAnimator} or {@link android.animation.ObjectAnimator}
398 <p>New {@link android.widget.AbsListView#CHOICE_MODE_MULTIPLE_MODAL} mode for {@link
400 from a {@link android.widget.ListView} or {@link android.widget.GridView}. When used in
405 <p>To enable multiple-choice selection, call {@link
407 {@link android.widget.AbsListView.MultiChoiceModeListener MultiChoiceModeListener} with {@link
411 Action Mode. The system notifies the {@link android.widget.AbsListView.MultiChoiceModeListener
412 MultiChoiceModeListener} when items are selected by calling {@link
428 <p>New methods to set the view properties include: {@link android.view.View#setAlpha
429 setAlpha()}, {@link
430 android.view.View#setBottom setBottom()}, {@link android.view.View#setLeft setLeft()}, {@link
431 android.view.View#setRight setRight()}, {@link android.view.View#setBottom setBottom()}, {@link
432 android.view.View#setPivotX setPivotX()}, {@link android.view.View#setPivotY setPivotY()}, {@link
433 android.view.View#setRotationX setRotationX()}, {@link android.view.View#setRotationY
434 setRotationY()}, {@link android.view.View#setScaleX setScaleX()}, {@link android.view.View#setScaleY
435 setScaleY()}, {@link android.view.View#setAlpha setAlpha()}, and others.</p>
446 view on its y-axis, supply {@link android.animation.ObjectAnimator} with the {@link
471 definitions, use one of several new {@link android.R.style#Theme_Holo Theme.Holo}
483 <li>{@link android.widget.AdapterViewAnimator}
484 <p>Base class for an {@link android.widget.AdapterView} that performs animations when switching
487 <li>{@link android.widget.AdapterViewFlipper}
488 <p>Simple {@link android.widget.ViewAnimator} that animates between two or more views that have
493 <li>{@link android.widget.CalendarView}
497 <li>{@link android.widget.ListPopupWindow}
499 suggestions when typing into an {@link android.widget.EditText} view.</p></li>
501 <li>{@link android.widget.NumberPicker}
508 <li>{@link android.widget.PopupMenu}
509 <p>Displays a {@link android.view.Menu} in a modal popup window that's anchored to a view. The
514 <li>{@link android.widget.SearchView}
520 <li>{@link android.widget.StackView}
549 <p>By default, a {@link android.view.View} has no layer specified. You can specify that the
550 view be backed by either a hardware or software layer, specified by values {@link
551 android.view.View#LAYER_TYPE_HARDWARE} and {@link android.view.View#LAYER_TYPE_SOFTWARE}, using
552 {@link android.view.View#setLayerType setLayerType()} or the <a
563 <p>For more information, see the {@link android.view.View#LAYER_TYPE_HARDWARE} and {@link
589 <p>Camcorder APIs now support the ability to record time lapse video. The {@link
595 <p>New {@link android.graphics.SurfaceTexture} allows you to capture an image stream as an OpenGL ES
596 texture. By calling {@link android.hardware.Camera#setPreviewTexture setPreviewTexture()} for your
597 {@link android.hardware.Camera} instance, you can specify the {@link
611 <p>The {@link android.media.ExifInterface} includes new fields for photo aperture, ISO, and exposure
616 <p>New {@link android.media.CamcorderProfile#hasProfile hasProfile()} method and several video
617 quality profiles (such as {@link android.media.CamcorderProfile#QUALITY_1080P}, {@link
618 android.media.CamcorderProfile#QUALITY_720P}, {@link
652 <p>You can find all of the DRM APIs in the {@link android.drm} package.</p></li>
662 see {@link android.view.KeyEvent#META_CTRL_ON} and related fields.</li>
666 querying {@link android.view.KeyCharacterMap#getKeyboardType()} and checking for {@link
669 <li>{@link android.widget.TextView} now supports keyboard-based cut, copy, paste, and select-all,
673 <li>{@link android.view.KeyEvent} adds several new methods to make it easier to check the key
674 modifier state correctly and consistently. See {@link android.view.KeyEvent#hasModifiers(int)},
675 {@link android.view.KeyEvent#hasNoModifiers()},
676 {@link android.view.KeyEvent#metaStateHasModifiers(int,int) metaStateHasModifiers()},
677 {@link android.view.KeyEvent#metaStateHasNoModifiers(int) metaStateHasNoModifiers()}.</li>
679 <li>Applications can implement custom keyboard shortcuts by subclassing {@link
680 android.app.Activity}, {@link android.app.Dialog}, or {@link android.view.View} and implementing
681 {@link android.app.Activity#onKeyShortcut onKeyShortcut()}. The framework calls this method
687 element (or with {@link android.view.MenuItem#setShortcut setShortcut()}).</li>
689 <li>Android 3.0 includes a new "virtual keyboard" device with the id {@link
715 <li>The {@link android.R.attr#splitMotionEvents android:splitMotionEvents} attribute for view groups
726 <li>The {@link android.R.attr#windowEnableSplitTouch android:windowEnableSplitTouch} style property
753 <li>New {@link android.webkit.WebViewFragment} class to create a fragment composed of a
754 {@link android.webkit.WebView}.</li>
755 <li>New {@link android.webkit.WebSettings} methods:
757 <li>{@link
759 the on-screen zoom controls while still allowing the user to zoom with finger gestures ({@link
762 <li>New {@link android.webkit.WebSettings} method, {@link
768 <li>New {@link android.webkit.WebView} methods:
770 <li>{@link android.webkit.WebView#onPause onPause()} callback, to pause any processing
773 <li>{@link android.webkit.WebView#onResume onResume()} callback, to resume processing
774 associated with the WebView, which was paused during {@link android.webkit.WebView#onPause
776 <li>{@link android.webkit.WebView#saveWebArchive saveWebArchive()} allows you to save the
778 <li>{@link android.webkit.WebView#showFindDialog showFindDialog()} initiates a text search in
825 <p>New classes, {@link android.util.JsonReader} and {@link android.util.JsonWriter}, help you
826 read and write JSON streams. The new APIs complement the {@link org.json} classes, which manipulate
829 <p>You can create an instance of {@link android.util.JsonReader} by calling
830 its constructor method and passing the {@link java.io.InputStreamReader} that feeds the JSON string.
831 Then begin reading an object by calling {@link android.util.JsonReader#beginObject()}, read a
832 key name with {@link android.util.JsonReader#nextName()}, read the value using methods
833 respective to the type, such as {@link android.util.JsonReader#nextString()} and {@link
834 android.util.JsonReader#nextInt()}, and continue doing so while {@link
837 <p>You can create an instance of {@link android.util.JsonWriter} by calling its constructor and
838 passing the appropriate {@link java.io.OutputStreamWriter}. Then write the JSON data in a manner
839 similar to the reader, using {@link android.util.JsonWriter#name name()} to add a property name
840 and an appropriate {@link android.util.JsonWriter#value value()} method to add the respective
843 <p>These classes are strict by default. The {@link android.util.JsonReader#setLenient setLenient()}
845 parse mode is also compatible with the {@link org.json}'s default parser.</p>
859 <li>{@link android.content.pm.PackageManager#FEATURE_FAKETOUCH "android.hardware.faketouch"}
869 should declare {@link
874 <p>All devices that include a touchscreen also support {@link
889 <li>{@link android.Manifest.permission#BIND_REMOTEVIEWS
893 element for an implementation of {@link android.widget.RemoteViewsService}. For example, when
894 creating an App Widget that uses {@link android.widget.RemoteViewsService} to populate a