Home | History | Annotate | Download | only in os

Lines Matching refs:Double

163         ArrayList<Double> array = new ArrayList<Double>();
177 sPowerMap.put(arrayName, array.toArray(new Double[array.size()]));
189 double value = 0;
191 value = Double.valueOf(power);
203 sPowerMap.put(arrayName, array.toArray(new Double[array.size()]));
219 public double getAveragePower(String type) {
222 if (data instanceof Double[]) {
223 return ((Double[])data)[0];
225 return (Double) sPowerMap.get(type);
240 public double getAveragePower(String type, int level) {
243 if (data instanceof Double[]) {
244 final Double[] values = (Double[]) data;
253 return (Double) data;
265 public double getBatteryCapacity() {
275 if (value != null && value instanceof Double[]) {
276 return ((Double[])value).length;