| /gdk/samples/bitmap-plasma-llvm/jni/ |
| D | libplasma.c | 24 #define FIXED_AVERAGE(x,y) (((x) + (y)) >> 1) argument 26 #define FIXED_FROM_INT(x) ((x) << FIXED_BITS) argument 27 #define FIXED_TO_INT(x) ((x) >> FIXED_BITS) argument 29 #define FIXED_FROM_FLOAT(x) ((Fixed)((x)*FIXED_ONE)) argument 30 #define FIXED_TO_FLOAT(x) ((x)/(1.*FIXED_ONE)) argument 32 #define FIXED_MUL(x,y) (((int64_t)(x) * (y)) >> FIXED_BITS) argument 33 #define FIXED_DIV(x,y) (((int64_t)(x) * FIXED_ONE) / (y)) argument 35 #define FIXED_DIV2(x) ((x) >> 1) argument 36 #define FIXED_AVERAGE(x,y) (((x) + (y)) >> 1) argument 38 #define FIXED_FRAC(x) ((x) & ((1 << FIXED_BITS)-1)) argument [all …]
|
| D | plasmaLLVM.cpp | 58 #define FIXED_AVERAGE(x,y) (((x) + (y)) >> 1) argument 60 #define FIXED_FROM_INT(x) ((x) << FIXED_BITS) argument 61 #define FIXED_TO_INT(x) ((x) >> FIXED_BITS) argument 63 #define FIXED_FROM_FLOAT(x) ((Fixed)((x)*FIXED_ONE)) argument 64 #define FIXED_TO_FLOAT(x) ((x)/(1.*FIXED_ONE)) argument 66 #define FIXED_MUL(x,y) (((int64_t)(x) * (y)) >> FIXED_BITS) argument 67 #define FIXED_DIV(x,y) (((int64_t)(x) * FIXED_ONE) / (y)) argument 69 #define FIXED_DIV2(x) ((x) >> 1) argument 70 #define FIXED_AVERAGE(x,y) (((x) + (y)) >> 1) argument 72 #define FIXED_FRAC(x) ((x) & ((1 << FIXED_BITS)-1)) argument [all …]
|
| /gdk/samples/PhotoEditor/jni/ |
| D | utils.h | 28 #define MIN3(x, y, z) ((y) <= (z) ? \ argument 33 #define MAX3(x, y, z) ((y) >= (z) ? \ argument 43 inline int clamp(int x, int min, int max) { in clamp()
|
| D | fisheye.cpp | 32 float x, float y, uint8_t *p00, uint8_t *p01, uint8_t *p10, uint8_t *p11) { in BilinearPixelInterpolation() 57 float px, float py, uint32_t x, uint32_t y, AndroidBitmapInfo *src_info, in FisheyeMapPixels() 133 int x = dst_x - center_x; in Fisheye() local
|
| D | redeye.cpp | 70 float x = focus_x * src_info.width; in RedEye() local
|
| D | grain.cpp | 68 for (uint32_t x = 0; x < dst_info->width; x++) { in GenerateBlurredNoise() local
|
| /gdk/samples/quake/jni/ |
| D | sbar.cpp | 260 void Sbar_DrawPic (int x, int y, qpic_t *pic) in Sbar_DrawPic() 273 void Sbar_DrawTransPic (int x, int y, qpic_t *pic) in Sbar_DrawTransPic() 288 void Sbar_DrawCharacter (int x, int y, int num) in Sbar_DrawCharacter() 301 void Sbar_DrawString (int x, int y, char *str) in Sbar_DrawString() 350 void Sbar_DrawNum (int x, int y, int num, int digits, int color) in Sbar_DrawNum() 770 int x, y, f; in Sbar_DrawFrags() local 1058 void Sbar_IntermissionNumber (int x, int y, int num, int digits, int color) in Sbar_IntermissionNumber() 1095 int x, y, f; in Sbar_DeathmatchOverlay() local 1176 int x, y, f; in Sbar_MiniDeathmatchOverlay() local
|
| D | mathlib.h | 39 #define IS_NAN(x) isnanf(x) // (((*(int *)&x)&nanmask)==nanmask) argument 41 #define DotProduct(x,y) (x[0]*y[0]+x[1]*y[1]+x[2]*y[2]) argument
|
| D | gl_vidandroid.cpp | 64 void D_BeginDirectRect (int x, int y, byte *pbitmap, int width, int height) in D_BeginDirectRect() 68 void D_EndDirectRect (int x, int y, int width, int height) in D_EndDirectRect() 238 void GL_BeginRendering (int *x, int *y, int *width, int *height) in GL_BeginRendering() 540 float x, float y, float pressure, float size, int deviceId) { in analyze() 669 float x, float y, float pressure, float size, int deviceId) in AndroidMotionEvent() 690 float x, float y) in AndroidTrackballEvent()
|
| D | gl_draw.cpp | 432 int Scrap_AllocBlock (int w, int h, int *x, int *y) in Scrap_AllocBlock() 532 int x, y; in Draw_PicFromWad() local 621 int x; in Draw_CharToConback() local 713 int x, y; in Draw_Init() local 837 void Draw_Character (int x, int y, int num) in Draw_Character() 884 void Draw_String (int x, int y, const char *str) in Draw_String() 912 void Draw_AlphaPic (int x, int y, packedGlpic_t *ppic, float alpha) in Draw_AlphaPic() 953 void Draw_Pic (int x, int y, qpic_t *pic) in Draw_Pic() 989 void Draw_TransPic (int x, int y, qpic_t *pic) in Draw_TransPic() 1012 void Draw_TransPicTranslate (int x, int y, qpic_t *pic, byte *translation) in Draw_TransPicTranslate() [all …]
|
| D | gl_rmisc.cpp | 33 int x,y, m; in R_InitTextures() local 73 int x,y; in R_InitParticleTexture2() local
|
| D | menu.cpp | 137 void M_DrawTransPic (int x, int y, qpic_t *pic) in M_DrawTransPic() 142 void M_DrawPic (int x, int y, qpic_t *pic) in M_DrawPic() 175 void M_DrawTransPicTranslate (int x, int y, qpic_t *pic) in M_DrawTransPicTranslate() 181 void M_DrawTextBox (int x, int y, int width, int lines) in M_DrawTextBox() 1149 void M_DrawSlider (int x, int y, float range) in M_DrawSlider() 1164 void M_DrawCheckbox (int x, int y, int on) in M_DrawCheckbox() 1400 int x, y; in M_Keys_Draw() local 2570 int x; in M_GameOptions_Draw() local 2877 int x; in M_Search_Draw() local
|
| D | masterMain.cpp | 70 jfloat x, jfloat y, jfloat pressure, jfloat size, jint deviceId) { in qmotionevent() 78 jfloat x, jfloat y) { in qtrackballevent()
|
| D | gl_screen.cpp | 165 int x, y; in SCR_DrawCenterString() local 233 float x; in CalcFov() local 701 int x, y; in SCR_DrawNotifyString() local
|
| D | console.cpp | 522 int x, v; in Con_DrawNotify() local 582 int i, x, y; in Con_DrawConsole() local
|
| D | gl_rmain.cpp | 1078 float x, float y, float z) { in translateM() 1085 static float length(float x, float y, float z) { in length() 1090 float a, float x, float y, float z) in setRotateM() 1148 float a, float x, float y, float z) { in rotateM() 1171 int x, x2, y2, y, w, h; in R_SetupGL() local
|
| D | vid.h | 30 int x,y,width,height; member
|
| /gdk/samples/PhotoEditor/src/com/android/photoeditor/actions/ |
| D | ScaleWheel.java | 147 float x = ev.getX() - centerXY; in onTouchEvent() local 171 private boolean isHittingThumbArea(float x, float y) { in isHittingThumbArea() 176 private boolean updateAngle(float x, float y) { in updateAngle()
|
| D | ColorWheel.java | 224 private boolean updateAngle(float x, float y) { in updateAngle() 262 final float x = ev.getX() - centerXY; in onTouchEvent() local 289 private boolean isHittingThumbArea(float x, float y) { in isHittingThumbArea()
|
| D | TouchView.java | 49 void onSingleTap(float x, float y); in onSingleTap()
|
| D | DoodleView.java | 96 float x = event.getX(); in onTouchEvent() local
|
| D | CropView.java | 147 private int detectTouchArea(float x, float y) { in detectTouchArea() 242 float x = event.getX(); in onTouchEvent() local
|
| D | RotateView.java | 157 float x = ev.getX() - centerX; in calculateAngle() local
|
| /gdk/samples/PhotoEditor/src/com/android/photoeditor/ |
| D | PhotoView.java | 65 public PointF mapPhotoPoint(float x, float y) { in mapPhotoPoint()
|
| /gdk/samples/quake/src/com/android/quake/llvm/ |
| D | QuakeLib.java | 170 float x, float y, float pressure, float size, int deviceId); in motionEvent() 183 float x, float y); in trackballEvent()
|