Home
last modified time | relevance | path

Searched refs:instances (Results 1 – 25 of 82) sorted by relevance

1234

/frameworks/base/core/java/android/gesture/
DLearner.java51 ArrayList<Instance> instances = mInstances; in removeInstance() local
52 int count = instances.size(); in removeInstance()
54 Instance instance = instances.get(i); in removeInstance()
56 instances.remove(instance); in removeInstance()
69 final ArrayList<Instance> instances = mInstances; in removeInstances() local
70 final int count = instances.size(); in removeInstances()
73 final Instance instance = instances.get(i); in removeInstances()
80 instances.removeAll(toDelete); in removeInstances()
DInstanceLearner.java46 ArrayList<Instance> instances = getInstances(); in classify() local
47 int count = instances.size(); in classify()
50 Instance sample = instances.get(i); in classify()
/frameworks/base/core/java/android/os/
DStrictMode.java1589 long instances = VMDebug.countInstancesOfClass(klass, false); in conditionallyCheckInstanceCounts() local
1590 if (instances <= limit) { in conditionallyCheckInstanceCounts()
1593 Throwable tr = new InstanceCountViolation(klass, instances, limit); in conditionallyCheckInstanceCounts()
2260 long instances = VMDebug.countInstancesOfClass(klass, false); in decrementExpectedActivityCount() local
2261 if (instances > limit) { in decrementExpectedActivityCount()
2262 Throwable tr = new InstanceCountViolation(klass, instances, limit); in decrementExpectedActivityCount()
2500 public InstanceCountViolation(Class klass, long instances, int limit) { in InstanceCountViolation() argument
2501 super(klass.toString() + "; instances=" + instances + "; limit=" + limit); in InstanceCountViolation()
2504 mInstances = instances; in InstanceCountViolation()
/frameworks/base/docs/html/tools/help/
Dadb.jd46 …n sets up connections to all running emulator/device instances. It locates emulator/device instanc…
59 <p>Once the server has set up connections to all emulator instances, you can use adb commands to
60 access those instances. Because the server manages connections to emulator/device
61 instances and handles commands from multiple adb clients, you can control any emulator/device
144 <td>Prints a list of all attached emulator/device instances.</td>
292 <p>Before issuing adb commands, it is helpful to know what emulator/device instances are connected …
333 <p>If multiple emulator/device instances are running, you must specify a target instance
341 emulator/device instances. For example: </p>
Dsqlite3.jd24 Emulator/device instances store SQLite3 databases in the directory
/frameworks/base/docs/html/training/keyboard-input/
Dnavigation.jd72 <p>Look for any instances in which the focus moves in a way you don't expect.</p>
77 <p>Look for any instances in which the focus moves in a way you don't expect.</p>
81 <p>If you encounter any instances where navigating with the Tab key or direction controls
/frameworks/base/docs/html/tools/testing/
Dservice_testing.jd120 rest of the system. If you don't provide your own instances of these objects before you
122 instances and inject them into the Service. You can override this behavior by creating and
123 injecting your own instances before starting the Service
Dtesting_ui.jd183 …@docRoot}tools/help/uiautomator/UiSelector.html">{@code UiSelector}</a> instances. For example, th…
193 …f="{@docRoot}tools/help/uiautomator/UiObject.html">{@code UiObject}</a> instances that represent a…
198 …f="{@docRoot}tools/help/uiautomator/UiObject.html">{@code UiObject}</a> instances that you have cr…
/frameworks/base/docs/html/training/improving-layouts/
Doptimizing-layout.jd39 layout, and drawing. For example, using nested instances of {@link android.widget.LinearLayout} can
40 lead to an excessively deep view hierarchy. Furthermore, nesting several instances of {@link
82 using nested instances of {@link android.widget.LinearLayout}.</p>
/frameworks/base/docs/html/sdk/installing/
Dstudio-androidview.jd44 <p>Figure 2 shows how the Android project view groups all the instances of the
/frameworks/base/docs/html/training/basics/activity-lifecycle/
Dindex.jd40 {@link android.app.Activity} instances in your app transition between different states in their
/frameworks/base/docs/html/tools/debugging/
Ddebugging-devtools.jd39 When you change this option, any currently running instances of the selected application will
Ddebugging-memory.jd531 by particular apps. Even though the ART image contains {@link java.lang.Object} instances, it does …
696 <li>The <strong>Histogram view</strong> shows a list of all classes and how many instances
698 <p>You might want to use this view to find extra instances of classes for which you know there
703 <p>When you find a class with too many instances, right-click it and select
/frameworks/base/docs/html/design/patterns/
Dswipe-views.jd13 built in a hierarchical fashion, there are instances where horizontal navigation can flatten
/frameworks/base/docs/html/distribute/analyze/
Dstart.jd77 pushed to the installed instances of your app on user devices &mdash; so there's no
/frameworks/base/docs/html/guide/topics/providers/
Dcalendar-provider.jd34 <li><a href="#instances">Instances table</a>
36 <li><a href="#query-instances">Querying the Instances table</a></li>
139 of instances to events. For recurring events, multiple rows are automatically
780 <h2 id="instances">Instances Table</h2>
785 represents a single event occurrence. The instances table is not writable and only
843 <h3 id="query-instances">Querying the Instances table</h3>
870 // event instances
881 // The ID of the recurring event whose instances you are searching
/frameworks/base/docs/html/tools/devices/
Demulator.jd169 depending on your needs, you can start multiple emulator instances and run your
172 instances, and you can set up network redirection that allows emulators to send
188 instances of the emulator concurrently, each with its own AVD configuration and
812 or other emulator instances on the network. Instead, it sees only that it is
853 instances. That means that if you have two instances running concurrently on
855 IP address of 10.0.2.15. The instances are isolated by a router and can
857 let emulator instances communicate over TCP/UDP, see <a
1079 port 5555. Subsequent instances use port numbers increasing by two &mdash; for example, 5556/5557,
1080 5558/5559, and so on. Up to 16 concurrent emulator instances can run a console facility. </p>
1082 …or console, you must specify a valid console port. If multiple emulator instances are running, you…
[all …]
/frameworks/base/docs/html/training/testing/ui-testing/
Duiautomator-testing.jd269 instances that you have created in other parts of your app testing, as needed. Note that the
276 instances that represent a Cancel button and a OK button in an app.</p>
312 instances. For example, the following code example shows how your test might specify a search to
398 // Clear out any previous instances
/frameworks/base/docs/html/training/backward-compatible-ui/
Dusing-component.jd36 …g version-appropriate <code>TabHelper</code> and <code>CompatTab</code> instances, based on the cu…
/frameworks/base/docs/html/training/animation/
Dscreen-slide.jd86 …method. You can then create instances of this fragment in the parent activity whenever you need a …
132instances of <code>ScreenSlidePageFragment</code> as new pages. The pager adapter also requires th…
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java511 ArrayList<Widget> instances = host.widgets; in startListening() local
512 int N = instances.size(); in startListening()
515 Widget widget = instances.get(i); in startListening()
1275 ArrayList<Widget> instances = provider.widgets; in updateAppWidgetProvider() local
1276 final int N = instances.size(); in updateAppWidgetProvider()
1278 Widget widget = instances.get(i); in updateAppWidgetProvider()
/frameworks/base/docs/html/training/multiple-threads/
Dcreate-threadpool.jd44 A thread pool can run multiple parallel instances of a task, so you should ensure that your
/frameworks/base/docs/html/training/cloudsync/
Dbackupapi.jd157 <p>You can add as many backup helper instances to your backup agent helper as you
/frameworks/base/docs/html/guide/topics/appwidgets/
Dhost.jd243 widget instances are being hosted.</li>
341 widget instances are being hosted. Specifically, the host hints to the
/frameworks/base/docs/html/training/transitions/
Doverview.jd154 {@link android.view.SurfaceView} instances are updated from a non-UI thread, so the updates

1234