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/core/java/android/os/
H A DStrictMode.java335 * Creates {@link ThreadPolicy} instances. Methods whose names start
546 // Map from class to max number of allowed instances in memory.
563 * Creates {@link VmPolicy} instances. Methods whose names start
601 * Set an upper bound on how many instances of a class can be in memory
1463 long instances = VMDebug.countInstancesOfClass(klass, false);
1464 if (instances <= limit) {
1467 Throwable tr = new InstanceCountViolation(klass, instances, limit);
1974 * Returns an object that is used to track instances of activites.
2035 // This is the work that we are trying to avoid by tracking the object instances
2046 long instances
2277 InstanceCountViolation(Class klass, long instances, int limit) argument
[all...]
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
H A DAppWidgetServiceImpl.java506 ArrayList<Widget> instances = host.widgets;
507 int N = instances.size();
510 Widget widget = instances.get(i);
1265 ArrayList<Widget> instances = provider.widgets;
1266 final int N = instances.size();
1268 Widget widget = instances.get(i);
3406 * and may lead us to leak AppWidgetService instances (if there were more than one).
3565 // All widget instances involving this package,
3967 // instances that are hosted by that app, and (b) all instances i
[all...]

Completed in 106 milliseconds