Home
last modified time | relevance | path

Searched defs:x (Results 1 – 25 of 36) sorted by relevance

12

/gdk/samples/bitmap-plasma-llvm/jni/
Dlibplasma.c24 #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 …]
DplasmaLLVM.cpp58 #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/
Dutils.h28 #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()
Dfisheye.cpp32 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
Dredeye.cpp70 float x = focus_x * src_info.width; in RedEye() local
Dgrain.cpp68 for (uint32_t x = 0; x < dst_info->width; x++) { in GenerateBlurredNoise() local
/gdk/samples/quake/jni/
Dsbar.cpp260 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
Dmathlib.h39 #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
Dgl_vidandroid.cpp64 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()
Dgl_draw.cpp432 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 …]
Dgl_rmisc.cpp33 int x,y, m; in R_InitTextures() local
73 int x,y; in R_InitParticleTexture2() local
Dmenu.cpp137 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
DmasterMain.cpp70 jfloat x, jfloat y, jfloat pressure, jfloat size, jint deviceId) { in qmotionevent()
78 jfloat x, jfloat y) { in qtrackballevent()
Dgl_screen.cpp165 int x, y; in SCR_DrawCenterString() local
233 float x; in CalcFov() local
701 int x, y; in SCR_DrawNotifyString() local
Dconsole.cpp522 int x, v; in Con_DrawNotify() local
582 int i, x, y; in Con_DrawConsole() local
Dgl_rmain.cpp1078 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
Dvid.h30 int x,y,width,height; member
/gdk/samples/PhotoEditor/src/com/android/photoeditor/actions/
DScaleWheel.java147 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()
DColorWheel.java224 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()
DTouchView.java49 void onSingleTap(float x, float y); in onSingleTap()
DDoodleView.java96 float x = event.getX(); in onTouchEvent() local
DCropView.java147 private int detectTouchArea(float x, float y) { in detectTouchArea()
242 float x = event.getX(); in onTouchEvent() local
DRotateView.java157 float x = ev.getX() - centerX; in calculateAngle() local
/gdk/samples/PhotoEditor/src/com/android/photoeditor/
DPhotoView.java65 public PointF mapPhotoPoint(float x, float y) { in mapPhotoPoint()
/gdk/samples/quake/src/com/android/quake/llvm/
DQuakeLib.java170 float x, float y, float pressure, float size, int deviceId); in motionEvent()
183 float x, float y); in trackballEvent()

12