Home
last modified time | relevance | path

Searched refs:snippet (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/util/
DJsonReader.java1161 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/
Dpublishing.jd385 // 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/
Dhello-mapview.jd232 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/
Davoiding-memory-leaks.jd74 on the drawable. In the code snippet above, this means the drawable has a
Dlayout-tricks-merge.jd145 <code>LayoutInflate</code>. As you can see in the following snippet, the XML
Dgestures.jd95 the one the user intended to draw. The following code snippet
/frameworks/base/docs/html/guide/topics/ui/
Ddrag-drop.jd571 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/
Dcopy-paste.jd417 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/
Dcommontasks.jd184 <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/
Dadvanced-nfc.jd245 intent. The code snippet below handles all MIME types for <code>NDEF_DISCOVERED</code>. You
/frameworks/base/docs/html/guide/developing/tools/
Dmonkeyrunner_concepts.jd281 snippet shows how you would do this within an <code>ant</code> build script:
/frameworks/base/docs/html/guide/topics/resources/
Dmore-resources.jd401 <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/
Ddevice-admin.jd582 <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/
D2d-graphics.jd229 <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
Dhardware-accel.jd452 android.view.View#setAlpha setAlpha()}. The following code snippet shows the most efficient way
Dprop-animation.jd787 the object to animate. The following code snippet demonstrates how to do this:</p>
/frameworks/base/docs/html/guide/topics/testing/
Dtesting_android.jd273 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/
Dcontent-providers.jd415 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/
Dsip.jd300 the SIP stack happens through listeners. In this snippet, you see how the {@link
/frameworks/base/docs/html/guide/topics/usb/
Dhost.jd387 <p>The following code snippet is a trivial way to do a synchronous data transfer. Your code
/frameworks/base/docs/html/guide/topics/wireless/
Dbluetooth.jd400 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/
Dloaders.jd492 snippet shown above.</li>
Dbound-services.jd554 <p>For example, the following snippet connects the client to the service created above by
/frameworks/base/docs/html/guide/topics/ui/notifiers/
Dnotifications.jd179 The following snippet demonstrates a basic notification setup:</p>
/frameworks/base/docs/html/guide/webapps/
Dtargeting.jd97 <p>For example, the following snippet from an HTML document specifies that the viewport width

12