/frameworks/base/docs/html/guide/practices/design/ |
performance.jd | 37 <p>There are two basic rules for writing efficient code:</p> 51 example, the <code style="color:black">java.awt.Component</code> class 120 <p>The effects of API design on performance are very real. Consider the <code 121 style="color:black">getSize</code> method in the <code 122 style="color:black">java.awt.Component</code> class. The decision that this 123 performance-critical method was to return a <code 124 style="color:black">Dimension</code> instance, coupled with the decision that 125 <code style="color:black">Dimension</code> instances are mutable, forces an [all...] |
/frameworks/base/docs/html/sdk/api_diff/3/changes/ |
methods_index_additions.html | 73 (<code>Listener</code>)</A></nobr><br> 75 (<code>OnScrollChangedListener</code>)</A></nobr><br> 78 (<code>PropertyChangeListener</code>)</b> in java.util.jar.Pack200.Packer 81 (<code>PropertyChangeListener</code>)</b> in java.util.jar.Pack200.Unpacker 84 (<code>PropertyChangeListener</code>)</b> in java.util.logging.LogManage [all...] |
/dalvik/docs/ |
dexopt.html | 33 <li>For security reasons, processes may not edit shared code. 40 the code must be uncompressed (or at least read off disk in many small 65 Application code is delivered to the system in a <code>.jar</code> 66 or <code>.apk</code> file. These are really just <code>.zip</code> 68 is always called <code>classes.dex</code> [all...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
SwitchList.java | 17 package com.android.dx.cf.code; 24 * {@code tableswitch} or {@code lookupswitch} instruction. It 28 /** {@code non-null;} list of test values */ 32 * {@code non-null;} list of targets corresponding to the test values; there 44 * @param size {@code >= 0;} the number of elements to be in the table 64 * @return {@code >= 0;} the list size 73 * @param n {@code >= 0;}, < size(); which index 81 * Gets the indicated target. Asking for the target at {@code size()} 84 * @param n {@code >= 0, <= size();} which inde [all...] |
/dalvik/dx/tests/031-bb-dead-code/ |
expected.txt | 16 dead code 0001..0002 22 dead code 0001..0003 29 dead code 0002..0005 35 dead code 0001..0007 41 dead code 0003..0004 54 dead code 0005..0006 64 dead code 0014..001b 74 dead code 001c..001e 87 dead code 0004..0005 100 dead code 0004..000 [all...] |
/dalvik/libcore/nio/src/main/java/java/nio/channels/spi/ |
AbstractInterruptibleChannel.java | 31 * {@code AbstractInterruptibleChannel} is the root class for interruptible 35 * {@code begin()} before any I/O operation that potentially blocks 36 * indefinitely, then {@code end(boolean)} after completing the operation. The 37 * argument to the {@code end} method should indicate if the I/O operation has 78 * @return {@code true} if this channel is open, {@code false} if it is 89 * {@code implCloseChannel} method. 95 * one thread will run the closure code and the others will be blocked until 114 * Indicates the beginning of a code section that includes an I/O operation 116 * should invoke the corresponding {@code end(boolean)} method [all...] |
/dalvik/libcore/sql/src/main/java/java/sql/ |
ParameterMetaData.java | 22 * parameters in a {@code PreparedStatement}. 27 * Indicates that the parameter mode is {@code IN}. 32 * Indicates that the parameter mode is {@code INOUT}. 37 * Indicates that the parameter mode is {@code OUT}. 47 * Indicates that a parameter is not permitted to be {@code NULL}. 52 * Indicates that a parameter is permitted to be {@code NULL}. 57 * Indicates that whether a parameter is allowed to be {@code null} or not 64 * a parameter to the method {@code PreparedStatement.setObject}. 78 * Gets the number of parameters in the {@code PreparedStatement} for which 79 * this {@code ParameterMetaData} contains information [all...] |
/development/pdk/docs/porting/ |
keymaps_keyboard_input.jd | 22 <p>Android uses the standard Linux input event device (<code>/dev/event0</code>) and driver as described in the <code>linux/input.h</code> kernel header file. For more information regarding standard Linux input drivers, please see <a href="http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.24.y.git;a=blob;f=Documentation/input/input.txt">Linux Input drivers</a> at <a href="http://kernel.org">http://kernel.org</a>.</p> 29 <p>Android's input event device is structured around an interrupt or polling routine that captures the device-specific scancode and converts it to a standard form acceptable to Linux (as defined in <code>input.h</code>) before passing it to the kernel with <code>input_event()</code>.</p> 30 <p>The keymap driver's other primary function is to establish a probe function that sets up the interrupt or polling function, handles hardware initialization, and attaches the driver to the input subsystem with <code>input_register_device()</code>.</p [all...] |
/external/guava/javadoc/com/google/common/util/concurrent/ |
package-summary.html | 93 <TD>A <code>CheckedFuture</code> is an extension of <A HREF="http://java.sun.com/javase/6/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent"><CODE>Future</CODE></A> that includes 94 versions of the <code>get</code> methods that can throw a checked exception and 109 <TD>A <code>Future</code> whose <code>get</code> calls cannot be interrupted.</TD [all...] |
AbstractFuture.html | 110 <p>An abstract implementation of the <A HREF="http://java.sun.com/javase/6/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent"><CODE>Future</CODE></A> interface. This class 111 is an abstraction of <A HREF="http://java.sun.com/javase/6/docs/api/java/util/concurrent/FutureTask.html?is-external=true" title="class or interface in java.util.concurrent"><CODE>FutureTask</CODE></A> to support use 112 for tasks other than <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang"><CODE>Runnable</CODE></A>s. It uses an 113 <A HREF="http://java.sun.com/javase/6/docs/api/java/util/concurrent/locks/AbstractQueuedSynchronizer.html?is-external=true" title="class or interface in java.util.concurrent.locks"><CODE>AbstractQueuedSynchronizer</CODE></A> to deal with concurrency issues and 115 <code>FutureTask</code>, or any other implementor of the <code>Future</code> interface [all...] |
/external/icu4c/tools/gencase/ |
gencase.c | 50 * Add code points from case mappings/foldings in 68 /* TODO: more common code, move functions to uparse.h|c */ 160 fprintf(stderr, "gencase error: unable to set %s, code: %s\n", 424 /* get code point */ 425 specialCasings[specialCasingCount].code=(UChar32)uprv_strtoul(u_skipWhitespace(fields[0][0]), &end, 16); 456 uset_add(caseSensitive, (UChar32)specialCasings[specialCasingCount].code); 471 return ((const SpecialCasing *)left)->code-((const SpecialCasing *)right)->code; 485 /* sort the special casing entries by code point */ 494 /* replace multiple entries for any code point by one "complex" one * [all...] |
/external/opencore/doc/oscl_html/ |
oscl__file__types_8h-source.html | 20 <a name="l00025"></a><a class="code" href="group__osclio.html#a20">00025</a> <span class="preprocessor">#define OSCL_IO_FILENAME_MAXLEN 512</span> 21 <a name="l00026"></a><a class="code" href="group__osclio.html#a21">00026</a> <span class="preprocessor"></span><span class="preprocessor">#define OSCL_IO_EXTENSION_MAXLEN 512</span> 23 <a name="l00028"></a><a class="code" href="group__osclio.html#a22">00028</a> <span class="preprocessor">#define OSCL_FILE_WCHAR_PATH_DELIMITER _STRLIT("/")</span> 24 <a name="l00029"></a><a class="code" href="group__osclio.html#a23">00029</a> <span class="preprocessor"></span><span class="preprocessor">#define OSCL_FILE_CHAR_PATH_DELIMITER _STRLIT_CHAR("/")</span> 27 <a name="l00032"></a><a class="code" href="classOsclNativeFileParams.html">00032</a> <span class="keyword">class </span><a class="code" href="classOsclNativeFileParams.html">OsclNativeFileParams</a> 30 <a name="l00035"></a><a class="code" href="classOsclNativeFileParams.html#a0">00035</a> <a class="code" href="classOsclNativeFileParams.html#a0">OsclNativeFileParams</a>(uint32 mode = 0, uint32 bufsize = 0, uint32 asyncsize = 0) 31 00036 : <a class="code" href="classOsclNativeFileParams.html#m0">iNativeAccessMode</a>(mode) 32 00037 , <a class="code" href="classOsclNativeFileParams.html#m1">iNativeBufferSize</a>(bufsize [all...] |
oscl__media__status_8h-source.html | 20 <a name="l00022"></a><a class="code" href="group__osclutil.html#a3">00022</a> <span class="keyword">const</span> int32 <a class="code" href="group__osclutil.html#a3">APPEND_MEDIA_AT_END</a> = -1; 22 <a name="l00024"></a><a class="code" href="classBufFragStatusClass.html">00024</a> <span class="keyword">class </span><a class="code" href="classBufFragStatusClass.html">BufFragStatusClass</a> 25 <a name="l00027"></a><a class="code" href="classBufFragStatusClass.html#s8">00027</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> 27 00029 <a class="code" href="classBufFragStatusClass.html#s8s0">BFG_SUCCESS</a> = 0, 28 00030 <a class="code" href="classBufFragStatusClass.html#s8s1">TOO_MANY_FRAGS</a> = 1, 29 00031 <a class="code" href="classBufFragStatusClass.html#s8s2">NOT_ENOUGH_SPACE</a> = 2, 30 00032 <a class="code" href="classBufFragStatusClass.html#s8s3">EMPTY_FRAGMENT</a> = 3, 31 00033 <a class="code" href="classBufFragStatusClass.html#s8s4">NULL_INPUT</a> = 4 [all...] |
oscl__registry__serv__impl__global_8h-source.html | 19 00022 <span class="preprocessor">#include "<a class="code" href="osclconfig__proc_8h.html">osclconfig_proc.h</a>"</span> 20 00023 <span class="preprocessor">#include "<a class="code" href="oscl__base_8h.html">oscl_base.h</a>"</span> 23 00026 <span class="preprocessor">#include "<a class="code" href="oscl__registry__serv__impl_8h.html">oscl_registry_serv_impl.h</a>"</span> 24 00027 <span class="preprocessor">#include "<a class="code" href="oscl__registry__types_8h.html">oscl_registry_types.h</a>"</span> 25 00028 <span class="preprocessor">#include "<a class="code" href="oscl__vector_8h.html">oscl_vector.h</a>"</span> 26 00029 <span class="preprocessor">#include "<a class="code" href="oscl__mem_8h.html">oscl_mem.h</a>"</span> 41 00044 int32 Register(<a class="code" href="classOSCL__String.html">OSCL_String</a>& aComponentID, <a class="code" href="group__osclutil.html#a0">OsclComponentFactory</a> aFactory); 42 00045 int32 UnRegister(<a class="code" href="classOSCL__String.html">OSCL_String</a>& aComponentID); 45 00048 <a class="code" href="group__osclutil.html#a0">OsclComponentFactory</a> GetFactory(<a class="code" href="classOSC (…) [all...] |
oscl__scheduler__readyq_8h.html | 12 <code>#include "<a class="el" href="oscl__scheduler__tuneables_8h-source.html">oscl_scheduler_tuneables.h</a>"</code><br> 13 <code>#include "<a class="el" href="oscl__priqueue_8h-source.html">oscl_priqueue.h</a>"</code><br> 14 <code>#include "<a class="el" href="oscl__base__alloc_8h-source.html">oscl_base_alloc.h</a>"</code><br> 15 <code>#include "<a class="el" href="oscl__semaphore_8h-source.html">oscl_semaphore.h</a>"</code><br> 16 <code>#include "<a class="el" href="oscl__mem_8h-source.html">oscl_mem.h</a>"</code><br [all...] |
/frameworks/base/docs/html/resources/tutorials/views/ |
hello-formstuff.jd | 12 <li>Your <code>res/layout/main.xml</code> file should already have a basic {@link 26 <p>Each section below also assumes that your <code>HelloFormStuff</code> Activity has the following 47 <li>Copy the images on the right into the <code>res/drawable/</code> directory of 49 <li>Create a new file in the <code>res/drawable/</code> directory named 50 <code>android_button.xml</code> [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
WnnEngine.java | 98 * {@code searchWords()}, call this method to get the 101 * {@link #makeCandidateListOf(int)}, in increasing character code order for 102 * {@code searchWords()}. 104 * @return The candidate; {@code null} if there is no more candidate. 111 * @return {@code null} if no word is registered; the array of {@link WnnWord} if some words is registered. 123 * @return {@code true} if success; {@code false} if fail or not supported. 139 * @return {@code true} if success; {@code false} if fail or not supported. 146 * @param dictionary {@code DICTIONARY_TYPE_LEARN} or {@code DICTIONARY_TYPE_USER [all...] |
/external/guava/javadoc/com/google/common/io/ |
Files.html | 130 <CODE>static void</CODE></FONT></TD> 131 <TD><CODE><B><A HREF="../../../../com/google/common/io/Files.html#append(java.lang.CharSequence, java.io.File, java.nio.charset.Charset)">append</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</A> from, 133 <A HREF="http://java.sun.com/javase/6/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</A> charset)</CODE> 141 <CODE>static void</CODE></FONT></TD> 142 <TD><CODE><B><A HREF="../../../../com/google/common/io/Files.html#copy(java.io.File, java.nio.charset.Charset, java.lang.Appendable)">copy</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> from, 144 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang">Appendable</A> to)</CODE> 152 <CODE>static 156 <CODE><W extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Appendable.html?is-external (…) [all...] |
Resources.html | 105 Note that even those these methods use <A HREF="http://java.sun.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net"><CODE>URL</CODE></A> parameters, they 131 <TD><CODE><B><A HREF="../../../../com/google/common/io/Resources.html#Resources()">Resources</A></B>()</CODE> 148 <CODE>static void</CODE></FONT></TD> 149 <TD><CODE><B><A HREF="../../../../com/google/common/io/Resources.html#copy(java.net.URL, java.io.OutputStream)">copy</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</A> from, 150 <A HREF="http://java.sun.com/javase/6/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A> to)</CODE> 157 <CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</A></CODE></FONT></TD [all...] |
/external/guava/javadoc/com/google/common/base/ |
Throwables.html | 104 Static utility methods pertaining to instances of <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang"><CODE>Throwable</CODE></A>. 128 <CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A>></CODE></FONT></TD> 129 <TD><CODE><B><A HREF="../../../../com/google/common/base/Throwables.html#getCausalChain(java.lang.Throwable)">getCausalChain</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A> throwable)</CODE> 132 Gets a <code>Throwable</code> cause chain as a list.</TD> 136 <CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A></CODE></FONT></TD [all...] |
/dalvik/libcore/luni/src/main/java/java/io/ |
InputStreamReader.java | 38 * "file.encoding" system property. {@code InputStreamReader} contains a buffer 56 * Constructs a new {@code InputStreamReader} on the {@link InputStream} 57 * {@code in}. This constructor sets the character converter to the encoding 77 * Constructs a new InputStreamReader on the InputStream {@code in}. The 79 * identified by name by {@code enc}. If the encoding cannot be found, an 87 * if {@code enc} is {@code null}. 89 * if the encoding specified by {@code enc} cannot be found. 110 * Constructs a new InputStreamReader on the InputStream {@code in} and 111 * CharsetDecoder {@code dec} [all...] |
/external/apache-http/src/org/apache/http/util/ |
VersionInfo.java | 91 * @param module the module, or <code>null</code> 92 * @param release the release, or <code>null</code> 93 * @param time the build time, or <code>null</code> 94 * @param clsldr the class loader, or <code>null</code> 115 * @return the package name, never <code>null</code> [all...] |
/external/guava/javadoc/com/google/common/base/class-use/ |
Service.State.html | 119 <CODE> <A HREF="../../../../../com/google/common/base/Service.State.html" title="enum in com.google.common.base">Service.State</A></CODE></FONT></TD> 120 <TD><CODE><B>Service.</B><B><A HREF="../../../../../com/google/common/base/Service.html#startAndWait()">startAndWait</A></B>()</CODE> 128 <CODE> <A HREF="../../../../../com/google/common/base/Service.State.html" title="enum in com.google.common.base">Service.State</A></CODE></FONT></TD> 129 <TD><CODE><B>Service.</B><B><A HREF="../../../../../com/google/common/base/Service.html#state()">state</A></B>()</CODE> 136 <CODE> <A HREF="../../../../../com/google/common/base/Service.State.html" title="enum in com.google.common.base">Service.State</A></CODE></FONT></TD [all...] |
/external/webkit/JavaScriptCore/icu/unicode/ |
uloc.h | 32 * A <code>Locale</code> represents a specific geographical, political, 33 * or cultural region. An operation that requires a <code>Locale</code> to perform 34 * its task is called <em>locale-sensitive</em> and uses the <code>Locale</code> 41 * You create a <code>Locale</code> with one of the three options listed below. 45 * \code 55 * Language Code.</STRONG> These codes are the lower-case two-lette [all...] |
/external/webkit/WebCore/icu/unicode/ |
uloc.h | 32 * A <code>Locale</code> represents a specific geographical, political, 33 * or cultural region. An operation that requires a <code>Locale</code> to perform 34 * its task is called <em>locale-sensitive</em> and uses the <code>Locale</code> 41 * You create a <code>Locale</code> with one of the three options listed below. 45 * \code 55 * Language Code.</STRONG> These codes are the lower-case two-lette [all...] |