Searched refs:div (Results 1 - 25 of 30) sorted by path

12

/frameworks/av/media/libstagefright/
H A DVideoFrameScheduler.cpp164 int64_t div = (int64_t)numSamplesToUse * sumXX - sumX * sumX; local
165 if (div == 0) {
171 *a = divRound(a_nom, div);
172 *b = divRound(b_nom, div);
174 *err = sumYY - divRound(a_nom * sumXY + b_nom * sumY, div);
/frameworks/base/cmds/wm/src/com/android/commands/wm/
H A DWm.java171 int div = size.indexOf('x');
172 if (div <= 0 || div >= (size.length()-1)) {
176 String wstr = size.substring(0, div);
177 String hstr = size.substring(div+1);
/frameworks/base/core/java/android/view/
H A DGestureDetector.java516 final int div = pointerUp ? count - 1 : count;
517 final float focusX = sumX / div;
518 final float focusY = sumY / div;
H A DScaleGestureDetector.java288 final int div = pointerUp ? count - 1 : count;
308 focusX = sumX / div;
309 focusY = sumY / div;
321 final float devX = devSumX / div;
322 final float devY = devSumY / div;
/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp788 char16_t div = ':'; local
789 str.append(&div, 1);
799 char16_t div = '/'; local
800 str.append(&div, 1);
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DCropView.java237 final int div = pointerUp ? count - 1 : count;
238 float x = sumX / div;
239 float y = sumY / div;
/frameworks/base/rs/java/android/renderscript/
H A DByte2.java197 public void div(Byte2 a) { method in class:Byte2
209 public static Byte2 div(Byte2 a, Byte2 b) { method in class:Byte2
222 public void div(byte value) { method in class:Byte2
234 public static Byte2 div(Byte2 a, byte b) { method in class:Byte2
H A DByte3.java212 public void div(Byte3 a) { method in class:Byte3
225 public static Byte3 div(Byte3 a, Byte3 b) { method in class:Byte3
239 public void div(byte value) { method in class:Byte3
252 public static Byte3 div(Byte3 a, byte b) { method in class:Byte3
H A DByte4.java226 public void div(Byte4 a) { method in class:Byte4
240 public static Byte4 div(Byte4 a, Byte4 b) { method in class:Byte4
255 public void div(byte value) { method in class:Byte4
269 public static Byte4 div(Byte4 a, byte b) { method in class:Byte4
H A DDouble2.java196 public void div(Double2 value) { method in class:Double2
208 public static Double2 div(Double2 a, Double2 b) { method in class:Double2
221 public void div(double value) { method in class:Double2
233 public static Double2 div(Double2 a, double b) { method in class:Double2
H A DDouble3.java210 public void div(Double3 value) { method in class:Double3
223 public static Double3 div(Double3 a, Double3 b) { method in class:Double3
237 public void div(double value) { method in class:Double3
250 public static Double3 div(Double3 a, double b) { method in class:Double3
H A DDouble4.java225 public void div(Double4 value) { method in class:Double4
237 public void div(double value) { method in class:Double4
251 public static Double4 div(Double4 a, double b) { method in class:Double4
268 public static Double4 div(Double4 a, Double4 b) { method in class:Double4
H A DFloat2.java195 public void div(Float2 value) { method in class:Float2
207 public static Float2 div(Float2 a, Float2 b) { method in class:Float2
220 public void div(float value) { method in class:Float2
232 public static Float2 div(Float2 a, float b) { method in class:Float2
H A DFloat3.java210 public void div(Float3 value) { method in class:Float3
223 public static Float3 div(Float3 a, Float3 b) { method in class:Float3
237 public void div(float value) { method in class:Float3
250 public static Float3 div(Float3 a, float b) { method in class:Float3
H A DFloat4.java225 public void div(Float4 value) { method in class:Float4
237 public void div(float value) { method in class:Float4
251 public static Float4 div(Float4 a, float b) { method in class:Float4
268 public static Float4 div(Float4 a, Float4 b) { method in class:Float4
H A DInt2.java201 public void div(Int2 a) { method in class:Int2
213 public static Int2 div(Int2 a, Int2 b) { method in class:Int2
226 public void div(int value) { method in class:Int2
238 public static Int2 div(Int2 a, int b) { method in class:Int2
H A DInt3.java216 public void div(Int3 a) { method in class:Int3
229 public static Int3 div(Int3 a, Int3 b) { method in class:Int3
243 public void div(int value) { method in class:Int3
256 public static Int3 div(Int3 a, int b) { method in class:Int3
H A DInt4.java231 public void div(Int4 a) { method in class:Int4
245 public static Int4 div(Int4 a, Int4 b) { method in class:Int4
260 public void div(int value) { method in class:Int4
274 public static Int4 div(Int4 a, int b) { method in class:Int4
H A DLong2.java201 public void div(Long2 a) { method in class:Long2
213 public static Long2 div(Long2 a, Long2 b) { method in class:Long2
226 public void div(long value) { method in class:Long2
238 public static Long2 div(Long2 a, long b) { method in class:Long2
H A DLong3.java216 public void div(Long3 a) { method in class:Long3
229 public static Long3 div(Long3 a, Long3 b) { method in class:Long3
243 public void div(long value) { method in class:Long3
256 public static Long3 div(Long3 a, long b) { method in class:Long3
H A DLong4.java231 public void div(Long4 a) { method in class:Long4
245 public static Long4 div(Long4 a, Long4 b) { method in class:Long4
260 public void div(long value) { method in class:Long4
274 public static Long4 div(Long4 a, long b) { method in class:Long4
H A DShort2.java204 public void div(Short2 a) { method in class:Short2
216 public static Short2 div(Short2 a, Short2 b) { method in class:Short2
229 public void div(short value) { method in class:Short2
241 public static Short2 div(Short2 a, short b) { method in class:Short2
H A DShort3.java216 public void div(Short3 a) { method in class:Short3
229 public static Short3 div(Short3 a, Short3 b) { method in class:Short3
243 public void div(short value) { method in class:Short3
256 public static Short3 div(Short3 a, short b) { method in class:Short3
H A DShort4.java231 public void div(Short4 a) { method in class:Short4
245 public static Short4 div(Short4 a, Short4 b) { method in class:Short4
260 public void div(short value) { method in class:Short4
274 public static Short4 div(Short4 a, short b) { method in class:Short4
/frameworks/base/services/core/java/com/android/server/wm/
H A DWatermark.java159 int div = (dw+mTextWidth)/deltaX;
160 int rem = (dw+mTextWidth) - (div*deltaX);

Completed in 409 milliseconds

12