Searched refs:snippet (Results 1 – 25 of 26) sorted by relevance
12
/frameworks/base/core/java/android/util/ |
D | JsonReader.java | 1161 StringBuilder snippet = new StringBuilder(); in getSnippet() local 1163 snippet.append(buffer, pos - beforePos, beforePos); in getSnippet() 1165 snippet.append(buffer, pos, afterPos); in getSnippet() 1166 return snippet; in getSnippet()
|
/frameworks/base/docs/html/guide/publishing/ |
D | publishing.jd | 385 // variables for creating code snippet 392 /** Generate the HTML snippet and demo based on form values */ 396 $("#snippet").show().html(linkStartCode + "details?id=" + form["package"].value 402 $("#snippet").show().html(linkStartCode + "search?q=pub:" + form["publisher"].value 515 <textarea id="snippet" cols="80" rows="4" onclick="this.select()"
|
/frameworks/base/docs/html/resources/tutorials/views/ |
D | hello-mapview.jd | 232 android.app.AlertDialog.Builder} and uses the tapped {@code OverlayItem}'s title and snippet for 233 the dialog's title and message text. (You'll see the {@code OverlayItem} title and snippet defined 277 item's title, and a string for the item's snippet text, respectively.</p>
|
/frameworks/base/docs/html/resources/articles/ |
D | avoiding-memory-leaks.jd | 74 on the drawable. In the code snippet above, this means the drawable has a
|
D | layout-tricks-merge.jd | 145 <code>LayoutInflate</code>. As you can see in the following snippet, the XML
|
D | gestures.jd | 95 the one the user intended to draw. The following code snippet
|
/frameworks/base/docs/html/guide/topics/ui/ |
D | drag-drop.jd | 571 For example, this code snippet shows how to respond to a long press on a ImageView 573 ImageView. Following this snippet, the next snippet shows how to override the methods in 626 The following code snippet defines {@code myDragShadowBuilder} 864 code snippet is a simple example of reacting to drag events in a listener:
|
/frameworks/base/docs/html/guide/topics/clipboard/ |
D | copy-paste.jd | 417 This snippet constructs a URI by encoding a record ID onto the content URI 443 This snippet constructs an Intent for an application 522 text. The following snippet tests this, but it only shows the code for handling plain text: 657 The following snippet demonstrates this: 709 If you want to encode a name onto this URI, you would use the following snippet:
|
/frameworks/base/docs/html/resources/faq/ |
D | commontasks.jd | 184 <p>The following snippet loads the com.android.samples.Animation1 class, and 190 <p>The next snippet requests that a Web page be opened by specifying the VIEW action, 364 <p>Here is a code snippet of a sender and receiver. This example does not demonstrate 677 <p>The following code snippet demonstrates creating a string with a highlighted section,
|
/frameworks/base/docs/html/guide/topics/nfc/ |
D | advanced-nfc.jd | 245 intent. The code snippet below handles all MIME types for <code>NDEF_DISCOVERED</code>. You
|
/frameworks/base/docs/html/guide/developing/tools/ |
D | monkeyrunner_concepts.jd | 281 snippet shows how you would do this within an <code>ant</code> build script:
|
/frameworks/base/docs/html/guide/topics/resources/ |
D | more-resources.jd | 401 <p>Then, this layout snippet uses the "button_ok" ID for a Button widget:</p> 412 <p>As another example, the following code snippet uses the "dialog_exit" ID as a unique identifier
|
/frameworks/base/docs/html/guide/topics/admin/ |
D | device-admin.jd | 582 <p>For example, this snippet states that the password must have at least 2 uppercase letters:</p> 680 <p>For example, this snippet prohibits users from reusing any of their last 5 passwords:</p>
|
/frameworks/base/docs/html/guide/topics/graphics/ |
D | 2d-graphics.jd | 229 <p>The following code snippet demonstrates how to build an {@link android.widget.ImageView} that 270 <p>The XML snippet below shows how to add a resource Drawable to an
|
D | hardware-accel.jd | 452 android.view.View#setAlpha setAlpha()}. The following code snippet shows the most efficient way
|
D | prop-animation.jd | 787 the object to animate. The following code snippet demonstrates how to do this:</p>
|
/frameworks/base/docs/html/guide/topics/testing/ |
D | testing_android.jd | 273 debugging the component. The following test code snippet demonstrates how to use this to 523 is demonstrated in the previous <a href="#ActivitySnippet">code snippet</a> that tests an
|
/frameworks/base/docs/html/guide/topics/providers/ |
D | content-providers.jd | 415 The following snippet demonstrates reading names and phone numbers from 588 The following code snippet illustrates this convention:
|
/frameworks/base/docs/html/guide/topics/network/ |
D | sip.jd | 300 the SIP stack happens through listeners. In this snippet, you see how the {@link
|
/frameworks/base/docs/html/guide/topics/usb/ |
D | host.jd | 387 <p>The following code snippet is a trivial way to do a synchronous data transfer. Your code
|
/frameworks/base/docs/html/guide/topics/wireless/ |
D | bluetooth.jd | 400 automatically set to 120 secs). For example, this snippet sets the duration to 928 <p> For example, this code snippet shows how to connect to a {@link android.bluetooth.BluetoothHead…
|
/frameworks/base/docs/html/guide/topics/fundamentals/ |
D | loaders.jd | 492 snippet shown above.</li>
|
D | bound-services.jd | 554 <p>For example, the following snippet connects the client to the service created above by
|
/frameworks/base/docs/html/guide/topics/ui/notifiers/ |
D | notifications.jd | 179 The following snippet demonstrates a basic notification setup:</p>
|
/frameworks/base/docs/html/guide/webapps/ |
D | targeting.jd | 97 <p>For example, the following snippet from an HTML document specifies that the viewport width
|
12