Home
last modified time | relevance | path

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

123456789

/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
DGLCanvasStub.java35 public void translate(float x, float y, float z) {} in translate()
36 public void translate(float x, float y) {} in translate()
38 public void rotate(float angle, float x, float y, float z) {} in rotate()
52 public void fillRect(float x, float y, float width, float height, int color) {} in fillRect()
54 BasicTexture texture, int x, int y, int width, int height) {} in drawTexture()
55 public void drawMesh(BasicTexture tex, int x, int y, int xyBuffer, in drawMesh()
58 int x, int y, int width, int height, float alpha) {} in drawTexture()
61 int x, int y, int w, int h) {} in drawTexture()
63 float ratio, int x, int y, int w, int h) {} in drawMixed()
65 float ratio, int x, int y, int w, int h) {} in drawMixed()
[all …]
DGLCanvasMock.java49 public void fillRect(float x, float y, float width, float height, int color) { in fillRect()
58 BasicTexture texture, int x, int y, int width, int height) { in drawTexture()
64 float ratio, int x, int y, int w, int h) { in drawMixed()
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DtrsMatrix.h37 inline double ProjZ(double trs[3][3], double x, double y, double f) in ProjZ()
42 inline double ProjX(double trs[3][3], double x, double y, double z, double f) in ProjX()
47 inline double ProjY(double trs[3][3], double x, double y, double z, double f) in ProjY()
DGeometry.h34 inline void ClipRect(double x, double y, BlendRect &brect) in ClipRect()
51 inline void clipToSegment(int &x, int width, int border) in clipToSegment()
60 inline bool inSegment(int x, int width, int border) in inSegment()
116 double x = (b2 - b1) / (m1 - m2); in FindTriangleCentroid() local
DMosaicTypes.h114 inline int getV(int y, int x) in getV()
123 inline int getU(int y, int x) in getU()
137 double x; member
/packages/apps/Camera/jni/feature_mos/src/mosaic/
DtrsMatrix.h37 inline double ProjZ(double trs[3][3], double x, double y, double f) in ProjZ()
42 inline double ProjX(double trs[3][3], double x, double y, double z, double f) in ProjX()
47 inline double ProjY(double trs[3][3], double x, double y, double z, double f) in ProjY()
DGeometry.h34 inline void ClipRect(double x, double y, BlendRect &brect) in ClipRect()
51 inline void clipToSegment(int &x, int width, int border) in clipToSegment()
60 inline bool inSegment(int x, int width, int border) in inSegment()
116 double x = (b2 - b1) / (m1 - m2); in FindTriangleCentroid() local
DMosaicTypes.h114 inline int getV(int y, int x) in getV()
123 inline int getU(int y, int x) in getU()
137 double x; member
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DPointerTracker.java266 private void callListenerOnCodeInput(Key key, int primaryCode, int x, int y) { in callListenerOnCodeInput()
342 public Key getKeyOn(int x, int y) { in getKeyOn()
438 private Key onDownKey(int x, int y, long eventTime) { in onDownKey()
443 private Key onMoveKeyInternal(int x, int y) { in onMoveKeyInternal()
449 private Key onMoveKey(int x, int y) { in onMoveKey()
453 private Key onMoveToNewKey(Key newKey, int x, int y) { in onMoveToNewKey()
460 public void processMotionEvent(int action, int x, int y, long eventTime, in processMotionEvent()
480 public void onDownEvent(int x, int y, long eventTime, KeyEventHandler handler) { in onDownEvent()
519 private void onDownEventInternal(int x, int y, long eventTime) { in onDownEventInternal()
552 public void onMoveEvent(int x, int y, long eventTime) { in onMoveEvent()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGLCanvas.java48 public void translate(float x, float y, float z); in translate()
49 public void translate(float x, float y); in translate()
51 public void rotate(float angle, float x, float y, float z); in rotate()
80 public void fillRect(float x, float y, float width, float height, int color); in fillRect()
84 BasicTexture texture, int x, int y, int width, int height); in drawTexture()
85 public void drawMesh(BasicTexture tex, int x, int y, int xyBuffer, in drawMesh()
93 int x, int y, int w, int h); in drawTexture()
99 float ratio, int x, int y, int w, int h); in drawMixed()
DTexture.java40 public void draw(GLCanvas canvas, int x, int y); in draw()
41 public void draw(GLCanvas canvas, int x, int y, int w, int h); in draw()
DColorTexture.java34 public void draw(GLCanvas canvas, int x, int y) { in draw()
38 public void draw(GLCanvas canvas, int x, int y, int w, int h) { in draw()
DGLCanvasImpl.java169 public void drawRect(float x, float y, float width, float height, GLPaint paint) { in drawRect()
203 public void fillRect(float x, float y, float width, float height, int color) { in fillRect()
218 public void translate(float x, float y, float z) { in translate()
225 public void translate(float x, float y) { in translate()
237 public void rotate(float angle, float x, float y, float z) { in rotate()
251 private void textureRect(float x, float y, float width, float height) { in textureRect()
265 public void drawMesh(BasicTexture tex, int x, int y, int xyBuffer, in drawMesh()
324 BasicTexture texture, int x, int y, int width, int height) { in drawBoundTexture()
356 BasicTexture texture, int x, int y, int width, int height) { in drawTexture()
361 int x, int y, int width, int height, float alpha) { in drawTexture()
[all …]
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
Dndfdic.c34 #define DATA_FHINSI(x) \ argument
38 #define DATA_BHINSI(x) \ argument
42 #define DATA_HINDO(x) \ argument
44 #define DATA_CANDIDATE(x) \ argument
49 #define DATA_CANDIDATE_SIZE(x) \ argument
52 #define DATA_YOMI(x) \ argument
57 #define DATA_YOMI_SIZE(x) \ argument
Dndldic.c44 #define LEARN_INDEX_TOP_ADDR(x) ((x) + (NJ_INT32_READ((x) + POS_INDEX_OFFSET))) argument
45 #define LEARN_INDEX_TOP_ADDR2(x) ((x) + (NJ_INT32_READ((x) + POS_INDEX_OFFSET2))) argument
46 #define LEARN_DATA_TOP_ADDR(x) ((x) + (NJ_INT32_READ((x) + POS_DATA_OFFSET))) argument
48 #define LEARN_INDEX_BOTTOM_ADDR(x) (LEARN_DATA_TOP_ADDR(x) - 1) argument
52 #define ADDRESS_TO_POS(x,adr) (((adr) - LEARN_DATA_TOP_ADDR(x)) / QUE_SIZE(x)) argument
53 #define POS_TO_ADDRESS(x,pos) (LEARN_DATA_TOP_ADDR(x) + QUE_SIZE(x) * (pos)) argument
57 #define GET_FPOS_FROM_DATA(x) ((NJ_UINT16)NJ_INT16_READ((x)+1) >> 7) argument
58 #define GET_YSIZE_FROM_DATA(x) ((NJ_UINT8)((NJ_UINT16)NJ_INT16_READ((x)+1) & 0x7F)) argument
59 #define GET_BPOS_FROM_DATA(x) ((NJ_UINT16)NJ_INT16_READ((x)+3) >> 7) argument
60 #define GET_KSIZE_FROM_DATA(x) ((NJ_UINT8)((NJ_UINT16)NJ_INT16_READ((x)+3) & 0x7F)) argument
[all …]
/packages/inputmethods/LatinIME/native/jni/src/
Dproximity_info.cpp104 inline int ProximityInfo::getStartIndexFromCoordinates(const int x, const int y) const { in getStartIndexFromCoordinates() argument
109 bool ProximityInfo::hasSpaceProximity(const int x, const int y) const { in hasSpaceProximity() argument
133 bool ProximityInfo::isOnKey(const int keyId, const int x, const int y) const { in isOnKey() argument
142 int ProximityInfo::squaredDistanceToEdge(const int keyId, const int x, const int y) const { in squaredDistanceToEdge() argument
156 const int x, const int y, const int32_t primaryKey, int *inputCodes) const { in calculateNearbyKeyCodes() argument
226 const int x = xCoordinates[i]; in setInputParams() local
268 const int x = xCoordinates[i]; in setInputParams() local
306 inline float square(const float x) { return x * x; } in square()
/packages/apps/Camera/jni/feature_stab/db_vlvm/
Ddb_utilities_algebra.h34 inline void db_HomogenousNormalize3(double *x) in db_HomogenousNormalize3()
Ddb_utilities_linalg.h61 inline double db_SquareSum6Stride7(const double *x) in db_SquareSum6Stride7()
70 inline double db_SquareSum8Stride9(const double *x) in db_SquareSum8Stride9()
184 inline double db_OrthogonalizePair7(double *x,const double *v,double ssv) in db_OrthogonalizePair7()
198 inline double db_OrthogonalizePair9(double *x,const double *v,double ssv) in db_OrthogonalizePair9()
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities_algebra.h34 inline void db_HomogenousNormalize3(double *x) in db_HomogenousNormalize3()
Ddb_utilities_linalg.h61 inline double db_SquareSum6Stride7(const double *x) in db_SquareSum6Stride7()
70 inline double db_SquareSum8Stride9(const double *x) in db_SquareSum8Stride9()
184 inline double db_OrthogonalizePair7(double *x,const double *v,double ssv) in db_OrthogonalizePair7()
198 inline double db_OrthogonalizePair9(double *x,const double *v,double ssv) in db_OrthogonalizePair9()
/packages/apps/Music/src/com/android/music/
DTouchInterceptor.java119 int x = (int) ev.getX(); in onInterceptTouchEvent() local
156 private int myPointToPosition(int x, int y) { in myPointToPosition()
325 int x = (int) ev.getX(); in onTouchEvent() local
368 private void startDragging(Bitmap bm, int x, int y) { in startDragging()
400 private void dragView(int x, int y) { in dragView()
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
Dvp_motionmodel.h220 #define VP_PROJW_3D(m,x,y,z,f) ( MWX(m)*(x)+MWY(m)*(y)+MWZ(m)*(z)+MWW(m) ) argument
221 #define VP_PROJX_3D(m,x,y,z,f,w) ((MXX(m)*(x)+MXY(m)*(y)+MXZ(m)*(z)+MXW(m))/(w)) argument
222 #define VP_PROJY_3D(m,x,y,z,f,w) ((MYX(m)*(x)+MYY(m)*(y)+MYZ(m)*(z)+MYW(m))/(w)) argument
223 #define VP_PROJZ_3D(m,x,y,z,f,w) ((MZX(m)*(x)+MZY(m)*(y)+MZZ(m)*(z)+MZW(m))/(w)) argument
255 #define VP_PROJZ(m,x,y,f) ( \ argument
259 #define VP_PROJX(m,x,y,w,f) (\ argument
263 #define VP_PROJY(m,x,y,w,f) (\ argument
/packages/apps/Camera/jni/feature_stab/src/dbreg/
Dvp_motionmodel.h220 #define VP_PROJW_3D(m,x,y,z,f) ( MWX(m)*(x)+MWY(m)*(y)+MWZ(m)*(z)+MWW(m) ) argument
221 #define VP_PROJX_3D(m,x,y,z,f,w) ((MXX(m)*(x)+MXY(m)*(y)+MXZ(m)*(z)+MXW(m))/(w)) argument
222 #define VP_PROJY_3D(m,x,y,z,f,w) ((MYX(m)*(x)+MYY(m)*(y)+MYZ(m)*(z)+MYW(m))/(w)) argument
223 #define VP_PROJZ_3D(m,x,y,z,f,w) ((MZX(m)*(x)+MZY(m)*(y)+MZZ(m)*(z)+MZW(m))/(w)) argument
255 #define VP_PROJZ(m,x,y,f) ( \ argument
259 #define VP_PROJX(m,x,y,w,f) (\ argument
263 #define VP_PROJY(m,x,y,w,f) (\ argument
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
DComposingView.java221 float x, y; in onDraw() local
234 private void drawCursor(Canvas canvas, float x) { in drawCursor()
241 float x, y; in drawForPinyin() local
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DKeyboard.java245 public int x; field in Keyboard.Key
323 public Key(Resources res, Row parent, int x, int y, XmlResourceParser parser) { in Key()
442 public boolean isInside(int x, int y) { in isInside()
465 public boolean isInside(int x, int y, int w, int h) { in isInside()
480 public int squaredDistanceFrom(int x, int y) { in squaredDistanceFrom()
565 int x = 0; in Keyboard() local
736 public int[] getNearestKeys(int x, int y) { in getNearestKeys()
751 protected Key createKeyFromXml(Resources res, Row parent, int x, int y, in createKeyFromXml()
761 int x = 0; in loadKeyboard() local

123456789