Home
last modified time | relevance | path

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

123

/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/services/java/com/android/server/
DAppWidgetServiceImpl.java106 ArrayList<AppWidgetId> instances = new ArrayList<AppWidgetId>(); field in AppWidgetServiceImpl.Provider
117 ArrayList<AppWidgetId> instances = new ArrayList<AppWidgetId>(); field in AppWidgetServiceImpl.Host
365 pw.print(" instances.size="); pw.print(host.instances.size()); in dumpHost()
460 host.instances.add(id); in allocateAppWidgetId()
522 final int N = host.instances.size(); in deleteHostLocked()
524 AppWidgetId id = host.instances.get(i); in deleteHostLocked()
527 host.instances.clear(); in deleteHostLocked()
539 host.instances.remove(id); in deleteAppWidgetLocked()
546 p.instances.remove(id); in deleteAppWidgetLocked()
553 if (p.instances.size() == 0) { in deleteAppWidgetLocked()
[all …]
/frameworks/base/core/java/android/os/
DStrictMode.java1457 long instances = VMDebug.countInstancesOfClass(klass, false); in conditionallyCheckInstanceCounts() local
1458 if (instances <= limit) { in conditionallyCheckInstanceCounts()
1461 Throwable tr = new InstanceCountViolation(klass, instances, limit); in conditionallyCheckInstanceCounts()
2010 long instances = VMDebug.countInstancesOfClass(klass, false); in decrementExpectedActivityCount() local
2011 if (instances > limit) { in decrementExpectedActivityCount()
2012 Throwable tr = new InstanceCountViolation(klass, instances, limit); in decrementExpectedActivityCount()
2229 public InstanceCountViolation(Class klass, long instances, int limit) { in InstanceCountViolation() argument
2230 super(klass.toString() + "; instances=" + instances + "; limit=" + limit); in InstanceCountViolation()
2233 mInstances = instances; in InstanceCountViolation()
/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/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/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/tools/help/
Dsqlite3.jd24 Emulator/device instances store SQLite3 databases in the directory
Dadb.jd55 …n sets up connections to all running emulator/device instances. It locates emulator/device instanc…
68 <p>Once the server has set up connections to all emulator instances, you can use adb commands to
69 access those instances. Because the server manages connections to emulator/device
70 instances and handles commands from multiple adb clients, you can control any emulator/device
135 <td>Prints a list of all attached emulator/device instances.</td>
283 <p>Before issuing adb commands, it is helpful to know what emulator/device instances are connected …
324 <p>If multiple emulator/device instances are running, you must specify a target instance
332 emulator/device instances. For example: </p>
1113 Emulator/device instances store SQLite3 databases in the folder
/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.jd411 <li>The <strong>Histogram view</strong> shows a list of all classes and how many instances
413 <p>You might want to use this view to find extra instances of classes for which you know there
418 <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/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.jd167 depending on your needs, you can start multiple emulator instances and run your
170 instances, and you can set up network redirection that allows emulators to send
186 instances of the emulator concurrently, each with its own AVD configuration and
808 or other emulator instances on the network. Instead, it sees only that it is
849 instances. That means that if you have two instances running concurrently on
851 IP address of 10.0.2.15. The instances are isolated by a router and can
853 let emulator instances communicate over TCP/UDP, see <a
1075 port 5555. Subsequent instances use port numbers increasing by two &mdash; for example, 5556/5557,
1076 5558/5559, and so on. Up to 16 concurrent emulator instances can run a console facility. </p>
1078 …or console, you must specify a valid console port. If multiple emulator instances are running, you…
[all …]
/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.jd85 …method. You can then create instances of this fragment in the parent activity whenever you need a …
128instances of <code>ScreenSlidePageFragment</code> as new pages. The pager adapter also requires th…
Dcardflip.jd252 of each fragment. You can then create instances of this fragment in the parent activity
/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/camera/
Dcameradirect.jd243 applications, including new instances of your own application.</p>
/frameworks/base/docs/html/training/implementing-navigation/
Dlateral.jd174 {@link android.app.ActionBar#NAVIGATION_MODE_TABS}, then create several instances of
/frameworks/base/docs/html/guide/components/
Dloaders.jd71 android.content.Loader} instances. This helps an application manage
143 android.content.Loader} instances within an {@link android.app.Activity} or

123