Home
last modified time | relevance | path

Searched refs:link (Results 1 – 25 of 746) sorted by relevance

12345678910>>...30

/frameworks/base/docs/html/reference/
Dgms_lists.js2 …{ id:0, label:"com.google.android.gms", link:"reference/com/google/android/gms/package-summary.htm… property
3 …{ id:1, label:"com.google.android.gms.R", link:"reference/com/google/android/gms/R.html", type:"cl… property
4 …{ id:2, label:"com.google.android.gms.R.attr", link:"reference/com/google/android/gms/R.attr.html"… property
5 …{ id:3, label:"com.google.android.gms.R.color", link:"reference/com/google/android/gms/R.color.htm… property
6 …{ id:4, label:"com.google.android.gms.R.drawable", link:"reference/com/google/android/gms/R.drawab… property
7 …{ id:5, label:"com.google.android.gms.R.id", link:"reference/com/google/android/gms/R.id.html", ty… property
8 …{ id:6, label:"com.google.android.gms.R.integer", link:"reference/com/google/android/gms/R.integer… property
9 …{ id:7, label:"com.google.android.gms.R.string", link:"reference/com/google/android/gms/R.string.h… property
10 …{ id:8, label:"com.google.android.gms.R.styleable", link:"reference/com/google/android/gms/R.style… property
11 …{ id:9, label:"com.google.android.gms.ads", link:"reference/com/google/android/gms/ads/package-sum… property
[all …]
Dgcm_lists.js2 …{ id:0, label:"com.google.android.gcm", link:"reference/com/google/android/gcm/package-summary.htm… property
3 …{ id:1, label:"com.google.android.gcm.GCMBaseIntentService", link:"reference/com/google/android/gc… property
4 …{ id:2, label:"com.google.android.gcm.GCMBroadcastReceiver", link:"reference/com/google/android/gc… property
5 …{ id:3, label:"com.google.android.gcm.GCMConstants", link:"reference/com/google/android/gcm/GCMCon… property
6 …{ id:4, label:"com.google.android.gcm.GCMRegistrar", link:"reference/com/google/android/gcm/GCMReg… property
7 …{ id:5, label:"com.google.android.gcm.server", link:"reference/com/google/android/gcm/server/packa… property
8 …{ id:6, label:"com.google.android.gcm.server.Constants", link:"reference/com/google/android/gcm/se… property
9 …{ id:7, label:"com.google.android.gcm.server.InvalidRequestException", link:"reference/com/google/… property
10 …{ id:8, label:"com.google.android.gcm.server.Message", link:"reference/com/google/android/gcm/serv… property
11 …{ id:9, label:"com.google.android.gcm.server.Message.Builder", link:"reference/com/google/android/… property
[all …]
/frameworks/base/docs/html/guide/topics/ui/
Dhow-android-draws.jd3 parent.link=index.html
7 <p>When an {@link android.app.Activity} receives focus, it will be requested to
10 {@link android.app.Activity} must provide
15 {@link android.view.View} that intersects the invalid region. In turn, each
16 {@link android.view.ViewGroup} is responsible for requesting
18 (with the {@link android.view.View#draw(Canvas) draw()} method)
19 and each {@link android.view.View} is responsible for drawing itself.
27 <p>The framework will not draw {@link android.view.View} objects that are not
29 will take care of drawing the {@link android.view.View} background for you.</p>
30 <p>You can force a {@link android.view.View} to draw, by calling
[all …]
/frameworks/base/docs/html/training/run-background-service/
Dreport-status.jd38 the request in an {@link android.app.Activity} object's UI. The recommended way to send and
39 receive status is to use a {@link android.support.v4.content.LocalBroadcastManager}, which
40 limits broadcast {@link android.content.Intent} objects to components in your own app.
45 To send the status of a work request in an {@link android.app.IntentService} to other
46 components, first create an {@link android.content.Intent} that contains the status in its
48 {@link android.content.Intent}.
51 Next, send the {@link android.content.Intent} by calling
52 {@link android.support.v4.content.LocalBroadcastManager#sendBroadcast
53 LocalBroadcastManager.sendBroadcast()}. This sends the {@link android.content.Intent} to any
55 To get an instance of {@link android.support.v4.content.LocalBroadcastManager}, call
[all …]
Dsend-request.jd28 The previous lesson showed you how to create an {@link android.app.IntentService} class. This
29 lesson shows you how to trigger the {@link android.app.IntentService} to run an operation by
30 sending it an {@link android.content.Intent}. This {@link android.content.Intent} can
31 contain optionally contain data for the {@link android.app.IntentService} to process. You can
32 send an {@link android.content.Intent} to an {@link android.app.IntentService} from any point
33 in an {@link android.app.Activity} or {@link android.app.Fragment}
37 To create a work request and send it to an {@link android.app.IntentService}, create an
38 explicit {@link android.content.Intent}, add work request data to it, and send it to
39 {@link android.app.IntentService} by calling
40 {@link android.content.Context#startService startService()}.
[all …]
/frameworks/base/docs/html/about/versions/
Dandroid-4.4.jd101 <p>Android 4.4 ({@link android.os.Build.VERSION_CODES#KITKAT}) is a new release for the Android pla…
144link android.Manifest.permission#READ_EXTERNAL_STORAGE} permission. That is, files within the dire…
152link android.webkit.WebView} class and related APIs has been upgraded to be based on a modern snap…
153link android.webkit.WebView} operates in "quirks mode" to provide some legacy functionality in app…
155 <p>So if your existing app uses {@link android.webkit.WebView}, it's important that you test on And…
162 …" or higher, alarms that you create using either {@link android.app.AlarmManager#set set()} or {@l…
166 …ific time range (such as between 2pm and 4pm), then you can use the new {@link android.app.AlarmMa…
168 … time (such as for a calendar event reminder), then you can use the new {@link android.app.AlarmMa…
177 …t">{@code targetSdkVersion}</a> to "19" or higher, creating a sync with {@link android.content.Con…
179 <p>To specify your own flex interval for sync operations, you should begin using the new {@link and…
[all …]
Dandroid-4.1.jd98 <p>Android 4.1 ({@link android.os.Build.VERSION_CODES#JELLY_BEAN})
152 …opics/manifest/service-element.html">{@code &lt;service>}</a> tag, your {@link android.app.Service…
158 <p>New {@link android.content.ComponentCallbacks2} constants such as {@link
159 android.content.ComponentCallbacks2#TRIM_MEMORY_RUNNING_LOW} and {@link
162 memory state before the system calls {@link android.app.Activity#onLowMemory()}.</p>
164 <p>New {@link android.app.ActivityManager#getMyMemoryState} method allows you to
170 <p>A new method, {@link android.content.ContentResolver#acquireUnstableContentProviderClient
171 acquireUnstableContentProviderClient()}, allows you to access a {@link
184 <p>To launch the live wallpaper picker, call {@link android.content.Context#startActivity
185 startActivity()} with an {@link android.content.Intent} using
[all …]
Dandroid-4.3.jd123 <p>Android {@sdkPlatformVersion} ({@link android.os.Build.VERSION_CODES#JELLY_BEAN_MR2})
178 available, because if you call {@link android.app.Activity#startActivity startActivity()} without
179 verifying whether an app is available to handle the {@link android.content.Intent},
182 …lable to handle the intent by calling {@link android.content.Intent#resolveActivity resolveActivit…
200 If your app depends on an {@link android.accounts.Account}, then your app might crash or behave
221 <p>On previous versions of Android, the {@link android.widget.VideoView} widget incorrectly
222 calculated the {@code "wrap_content"} value for {@link android.R.attr#layout_height} and {@link
245 you must declare the restrictions your app provides by creating a {@link
246 android.content.BroadcastReceiver} that receives the {@link android.content.Intent#ACTION_GET_RESTR…
250 <p>In the {@link android.content.BroadcastReceiver#onReceive onReceive()} method of
[all …]
Dandroid-4.0.3.jd29 <p>Android {@sdkPlatformVersion} ({@link android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH_MR1})
81 defined by {@link android.provider.ContactsContract.StreamItems}, the Uri for
82 which is nested within the {@link android.provider.ContactsContract.RawContacts}
88 {@link android.provider.ContactsContract.StreamItemPhotos}, which is available
89 as a sub-directory of the {@link android.provider.ContactsContract.StreamItems}
92 <p>See {@link android.provider.ContactsContract.StreamItems} and
93 {@link android.provider.ContactsContract.StreamItemPhotos} for more information.</p>
102 <li>Adds the class {@link android.provider.CalendarContract.Colors} to represent
106 {@link android.provider.CalendarContract.ColorsColumns#COLOR_KEY COLOR_KEY}
109 <li>Adds {@link android.provider.CalendarContract.CalendarColumns#ALLOWED_AVAILABILITY ALLOWED_AVAI…
[all …]
/frameworks/base/docs/html/training/multiple-threads/
Ddefine-runnable.jd33 This lesson shows you how to implement a {@link java.lang.Runnable} class, which runs the code
34 in its {@link java.lang.Runnable#run Runnable.run()} method on a separate thread. You can also
35 pass a {@link java.lang.Runnable} to another object that can then attach it to a thread and
36 run it. One or more {@link java.lang.Runnable} objects that perform a particular operation are
40 {@link java.lang.Thread} and {@link java.lang.Runnable} are basic classes that, on their own,
42 {@link android.os.HandlerThread}, {@link android.os.AsyncTask}, and
43 {@link android.app.IntentService}. {@link java.lang.Thread} and {@link java.lang.Runnable} are
44 also the basis of the class {@link java.util.concurrent.ThreadPoolExecutor}. This class
49 Implementing a class that implements {@link java.lang.Runnable} is straightforward. For example:
66 In the class, the {@link java.lang.Runnable#run Runnable.run()} method contains the
[all …]
/frameworks/base/docs/html/tools/support-library/
Dindex.jd53 about Support Library APIs, see the {@link android.support.v4.app android.support}
73 {@link android.support.v4.content.ContextCompat#getObbDirs getObbDirs()},
74 … {@link android.support.v4.content.ContextCompat#getExternalFilesDirs getExternalFilesDirs()},
75 … {@link android.support.v4.content.ContextCompat#getExternalCacheDirs getExternalCacheDirs()},
76 and {@link android.support.v4.os.EnvironmentCompat#getStorageState getStorageState()}.
80 <li>Added {@link android.support.v4.print.PrintHelper} class that works with the
83 {@link android.support.v4.widget.PopupMenuCompat} and
84 {@link android.support.v4.widget.ListPopupWindowCompat}.</li>
86 {@link android.support.v4.view.accessibility.AccessibilityNodeProviderCompat#findFocus
88 {@link android.support.v4.view.accessibility.AccessibilityNodeProviderCompat} and the
[all …]
/frameworks/base/docs/html/training/activity-testing/
Dactivity-functional-testing.jd30 functional test to verify that an {@link android.app.Activity} correctly
31 launches a target {@link android.app.Activity} when the user performs a UI
34 <p>To create a functional test for your {@link android.app.Activity}, your test
35 class should extend {@link android.test.ActivityInstrumentationTestCase2}.
36 Unlike {@link android.test.ActivityUnitTestCase},
37 tests in {@link android.test.ActivityInstrumentationTestCase2} can
47 <li>Verifying that a target {@link android.app.Activity} is started when a
48 UI control is pushed in the sender {@link android.app.Activity}.</li>
49 <li>Verifying that the target {@link android.app.Activity} displays the
51 {@link android.app.Activity}.</li>
[all …]
Dactivity-unit-testing.jd25 <p>An {@link android.app.Activity} unit test is an excellent way to quickly
26 verify the state of an {@link android.app.Activity} and its interactions with
31 that an {@link android.app.Activity} has the correct layout or that it
32 triggers an {@link android.content.Intent} object correctly.</p>
35 the {@link android.test.ActivityInstrumentationTestCase2} class, as described
38 {@link android.content.Intent} is triggered to launch another
39 {@link android.app.Activity}.
41 {@link android.content.Intent}
43 {@link android.content.Intent} object's payload data is accurate.</p>
55 <p>The {@link android.test.ActivityUnitTestCase} class provides support for
[all …]
/frameworks/base/docs/html-intl/ja/guide/topics/
Dfundamentals.jd8 <li>{@link android.app.Activity}</li>
9 <li>{@link android.app.Service}</li>
10 <li>{@link android.content.BroadcastReceiver}</li>
11 <li>{@link android.content.ContentProvider}</li>
12 <li>{@link android.content.Intent}</li>
83 …ィビティを組み合わせて全体としてのユーザー インターフェースを形成しますが、それぞれのアクティビティは相互に独立しています。各アクティビティは、{@link android.app.Activit…
94 ウィンドウの視覚的なコンテンツは、ビュー({@link android.view.View} 基本クラスの派生オブジェクト)の階層として提供されます。各ビューは、ウィンドウ内の特定の矩形領域を制御し…
98 ビューの階層は、<code>{@link android.app.Activity#setContentView Activity.setContentView()}</code> メソッドを使用し…
102 …ビス、ネットワーク経由でデータをフェッチするサービス、何かを計算してその結果をアクティビティに提供するサービスなどが考えられます。各サービスは、{@link android.app.Service…
120 アプリケーションでは、重要と思われるすべての連絡に応答できるよう、ブロードキャスト レシーバをいくつでも設定できます。すべてのレシーバは、{@link android.content.Broadca…
[all …]
/frameworks/base/docs/html/training/load-data-background/
Dhandle-results.jd30 {@link android.support.v4.content.CursorLoader} in your implementation of
31 {@link android.support.v4.app.LoaderManager.LoaderCallbacks#onCreateLoader
33 {@link android.app.Activity} or {@link android.support.v4.app.FragmentActivity} in your
34 implementation of {@link android.support.v4.app.LoaderManager.LoaderCallbacks#onLoadFinished
36 {@link android.database.Cursor} containing the query results. You can use this object to
41 {@link android.support.v4.app.LoaderManager.LoaderCallbacks#onCreateLoader onCreateLoader()} and
42 {@link android.support.v4.app.LoaderManager.LoaderCallbacks#onLoadFinished onLoadFinished()},
44 {@link android.support.v4.app.LoaderManager.LoaderCallbacks#onLoaderReset onLoaderReset()}.
45 This method is invoked when {@link android.support.v4.content.CursorLoader} detects
46 that data associated with the {@link android.database.Cursor} has changed. When the
[all …]
Dsetup-loader.jd32 A {@link android.support.v4.content.CursorLoader} runs an asynchronous query in the background
33 against a {@link android.content.ContentProvider}, and returns the results to the
34 {@link android.app.Activity} or {@link android.support.v4.app.FragmentActivity} from which it
35 was called. This allows the {@link android.app.Activity} or
36 {@link android.support.v4.app.FragmentActivity} to continue to interact with the user while the
41 To use a {@link android.support.v4.content.CursorLoader} with an
42 {@link android.app.Activity} or {@link android.support.v4.app.FragmentActivity}, use the
43 {@link android.support.v4.app.LoaderManager.LoaderCallbacks LoaderCallbacks&lt;Cursor&gt;}
44 interface. A {@link android.support.v4.content.CursorLoader} invokes callbacks defined
49 For example, this is how you should define a {@link android.support.v4.app.FragmentActivity}
[all …]
/frameworks/base/docs/html/guide/webapps/
Dwebview.jd8 <li>Use {@link android.webkit.WebView} to display web pages in your Android application
31 <li>{@link android.webkit.WebView}</li>
32 <li>{@link android.webkit.WebSettings}</li>
33 <li>{@link android.webkit.WebViewClient}</li>
40 you can do it using {@link android.webkit.WebView}. The {@link android.webkit.WebView} class is an
41 extension of Android's {@link android.view.View} class that allows you to display web pages as a
43 browser, such as navigation controls or an address bar. All that {@link android.webkit.WebView}
46 <p>A common scenario in which using {@link android.webkit.WebView} is helpful is when you want to
48 or a user guide. Within your Android application, you can create an {@link android.app.Activity}
49 that contains a {@link android.webkit.WebView}, then use that to display your document that's
[all …]
/frameworks/base/docs/html/guide/topics/ui/controls/
Dpickers.jd24 <li>{@link android.app.DatePickerDialog}</li>
25 <li>{@link android.app.TimePickerDialog}</li>
26 <li>{@link android.support.v4.app.DialogFragment}</li>
42 <p>We recommend that you use {@link android.support.v4.app.DialogFragment} to host each time or date
43 picker. The {@link android.support.v4.app.DialogFragment} manages the dialog lifecycle for you and
47 <p>Although {@link android.app.DialogFragment} was first added to the platform in Android 3.0 (API
49 1.6&mdash;you can use the {@link android.support.v4.app.DialogFragment} class that's available in
55 library</a> APIs for {@link android.support.v4.app.DialogFragment}. If your app's <a
57 higher, you can instead use the platform version of {@link android.app.DialogFragment}.</p>
63 <p>To display a {@link android.app.TimePickerDialog} using {@link
[all …]
Dspinner.jd15 <li>{@link android.widget.Spinner}</li>
16 <li>{@link android.widget.SpinnerAdapter}</li>
17 <li>{@link android.widget.AdapterView.OnItemSelectedListener}</li>
29 <p>You can add a spinner to your layout with the {@link android.widget.Spinner} object. You
39 <p>To populate the spinner with a list of choices, you then need to specify a {@link
40 android.widget.SpinnerAdapter} in your {@link android.app.Activity} or {@link android.app.Fragment}
46 an {@link android.widget.SpinnerAdapter}, such as an {@link android.widget.ArrayAdapter} if the
47 choices are available in an array or a {@link android.widget.CursorAdapter} if the choices are
71 <p>With an array such as this one, you can use the following code in your {@link
72 android.app.Activity} or {@link android.app.Fragment} to supply the spinner with the array using
[all …]
/frameworks/base/docs/html/guide/topics/ui/layout/
Dgridview.jd12 <li>{@link android.widget.GridView}</li>
13 <li>{@link android.widget.ImageView}</li>
14 <li>{@link android.widget.BaseAdapter}</li>
15 <li>{@link android.widget.AdapterView.OnItemClickListener}</li>
19 <p>{@link android.widget.GridView} is a {@link android.view.ViewGroup} that displays items in a
21 scrollable grid. The grid items are automatically inserted to the layout using a {@link
58 <p>This {@link android.widget.GridView} will fill the entire screen. The attributes are rather
59 self explanatory. For more information about valid attributes, see the {@link
63 {@link android.app.Activity#onCreate(Bundle) onCreate()} method:
80 {@link android.widget.GridView} is captured from the layout with {@link
[all …]
/frameworks/base/docs/html/guide/components/
Dbound-services.jd3 parent.link=services.html
30 <li>{@link android.app.Service}</li>
31 <li>{@link android.content.ServiceConnection}</li>
32 <li>{@link android.os.IBinder}</li>
64 <p>A bound service is an implementation of the {@link android.app.Service} class that allows
66 service, you must implement the {@link android.app.Service#onBind onBind()} callback method. This
67 method returns an {@link android.os.IBinder} object that defines the programming interface that
76 started by calling {@link android.content.Context#startService startService()}, which allows the
77 service to run indefinitely, and also allow a client to bind to the service by calling {@link
81 explicitly stop the service, by calling {@link android.app.Service#stopSelf stopSelf()} or {@link
[all …]
Dloaders.jd3 parent.link=activities.html
27 <li>{@link android.app.LoaderManager}</li>
28 <li>{@link android.content.Loader}</li>
47 <li>They are available to every {@link android.app.Activity} and {@link
68 <td>{@link android.app.LoaderManager}</td>
69 <td>An abstract class associated with an {@link android.app.Activity} or
70 {@link android.app.Fragment} for managing one or more {@link
72 longer-running operations in conjunction with the {@link android.app.Activity}
73 or {@link android.app.Fragment} lifecycle; the most common use of this is with a
74 {@link android.content.CursorLoader}, however applications are free to write
[all …]
/frameworks/base/docs/html/training/contacts-provider/
Ddisplay-contact-badge.jd53 This lesson shows you how to add a {@link android.widget.QuickContactBadge} to your UI
54 and how to bind data to it. A {@link android.widget.QuickContactBadge} is a widget that
55 initially appears as a thumbnail image. Although you can use any {@link android.graphics.Bitmap}
56 for the thumbnail image, you usually use a {@link android.graphics.Bitmap} decoded from the
61 {@link android.widget.QuickContactBadge} expands into a dialog containing the following:
81 The {@link android.widget.QuickContactBadge} view provides instant access to a contact's
84 can click on the {@link android.widget.QuickContactBadge}, choose the communication method they
89 To add a {@link android.widget.QuickContactBadge}, insert a
107 To display a contact in the {@link android.widget.QuickContactBadge}, you need a content URI
108 for the contact and a {@link android.graphics.Bitmap} for the small image. You generate
[all …]
/frameworks/base/docs/html/training/custom-views/
Dcustom-drawing.jd3 parent.link=index.html
7 previous.link=create-view.html
9 next.link=making-interactive.html
44 <p>The most important step in drawing a custom view is to override the {@link
45 android.view.View#onDraw(android.graphics.Canvas) onDraw()} method. The parameter to {@link
46 android.view.View#onDraw(android.graphics.Canvas) onDraw()} is a {@link
47 android.graphics.Canvas Canvas} object that the view can use to draw itself. The {@link
51 {@link
54 <p>Before you can call any drawing methods, though, it's necessary to create a {@link
56 object. The next section discusses {@link android.graphics.Paint Paint} in more detail.</p>
[all …]
/frameworks/base/docs/html/training/notify-user/
Dbuild-notification.jd3 parent.link=index.html
7 next.link=navigation.html
48 {@link android.support.v4.app.NotificationCompat.Builder} class.
49 {@link android.support.v4.app.NotificationCompat.Builder}
51 {@link android.support.v4.app.NotificationCompat} and its subclasses,
52 particularly {@link android.support.v4.app.NotificationCompat.Builder}, to
58 {@link android.support.v4.app.NotificationCompat.Builder} object. At bare minimum,
59 a {@link android.support.v4.app.NotificationCompat.Builder Builder}
65 {@link android.support.v4.app.NotificationCompat.Builder#setSmallIcon setSmallIcon()}
69 {@link android.support.v4.app.NotificationCompat.Builder#setContentTitle setContentTitle()}
[all …]

12345678910>>...30