Searched refs:instances (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/core/java/android/gesture/
H A DLearner.java37 * Retrieve all the instances
39 * @return instances
51 ArrayList<Instance> instances = mInstances;
52 int count = instances.size();
54 Instance instance = instances.get(i);
56 instances.remove(instance);
63 * Remove all the instances of a category
69 final ArrayList<Instance> instances = mInstances;
70 final int count = instances.size();
73 final Instance instance = instances
[all...]
H A DInstanceLearner.java46 ArrayList<Instance> instances = getInstances();
47 int count = instances.size();
50 Instance sample = instances.get(i);
/frameworks/base/services/java/com/android/server/
H A DAppWidgetServiceImpl.java100 ArrayList<AppWidgetId> instances = new ArrayList<AppWidgetId>(); field in class:AppWidgetServiceImpl.Provider
111 ArrayList<AppWidgetId> instances = new ArrayList<AppWidgetId>(); field in class:AppWidgetServiceImpl.Host
129 * and may lead us to leak AppWidgetService instances (if there were more than one).
183 // These are for debugging only -- widgets are going missing in some rare instances
342 pw.print(" instances.size="); pw.print(host.instances.size());
431 host.instances.add(id);
484 final int N = host.instances.size();
486 AppWidgetId id = host.instances.get(i);
489 host.instances
[all...]
/frameworks/base/core/java/android/os/
H A DStrictMode.java326 * Creates {@link ThreadPolicy} instances. Methods whose names start
537 // Map from class to max number of allowed instances in memory.
554 * Creates {@link VmPolicy} instances. Methods whose names start
592 * Set an upper bound on how many instances of a class can be in memory
1424 long instances = VMDebug.countInstancesOfClass(klass, false);
1425 if (instances <= limit) {
1428 Throwable tr = new InstanceCountViolation(klass, instances, limit);
1891 * Returns an object that is used to track instances of activites.
1952 // This is the work that we are trying to avoid by tracking the object instances
1960 long instances
2179 InstanceCountViolation(Class klass, long instances, int limit) argument
[all...]

Completed in 526 milliseconds