/external/mesa3d/src/mesa/main/ |
D | points.c | 54 if (ctx->Point.Size == size) in _mesa_PointSize() 58 ctx->Point.Size = size; in _mesa_PointSize() 123 if (TEST_EQ_3V(ctx->Point.Params, params)) in _mesa_PointParameterfv() 126 COPY_3V(ctx->Point.Params, params); in _mesa_PointParameterfv() 127 ctx->Point._Attenuated = (ctx->Point.Params[0] != 1.0 || in _mesa_PointParameterfv() 128 ctx->Point.Params[1] != 0.0 || in _mesa_PointParameterfv() 129 ctx->Point.Params[2] != 0.0); in _mesa_PointParameterfv() 131 if (ctx->Point._Attenuated) in _mesa_PointParameterfv() 142 if (ctx->Point.MinSize == params[0]) in _mesa_PointParameterfv() 145 ctx->Point.MinSize = params[0]; in _mesa_PointParameterfv() [all …]
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowPath.java | 10 import static com.xtremelabs.robolectric.shadows.ShadowPath.Point.Type.LINE_TO; 11 import static com.xtremelabs.robolectric.shadows.ShadowPath.Point.Type.MOVE_TO; 20 private List<Point> points = new ArrayList<Point>(); 21 private List<Point> pointsMovedTo = new ArrayList<Point>(); 22 private List<Point> pointsLinedTo = new ArrayList<Point>(); 23 private Point wasMovedTo; 28 Point p = new Point(x, y, MOVE_TO); in moveTo() 35 Point point = new Point(x, y, LINE_TO); in lineTo() 54 public List<Point> getPoints() { in getPoints() 63 public Point getWasMovedTo() { in getWasMovedTo() [all …]
|
D | ShadowBitmapFactory.java | 6 import android.graphics.Point; 25 private static Map<String, Point> widthAndHeightMap = new HashMap<String, Point>(); 80 Point widthAndHeight = widthAndHeightMap.get(name); in create() 82 widthAndHeight = new Point(100, 100); in create() 93 widthAndHeightMap.put(uri.toString(), new Point(width, height)); in provideWidthAndHeightHints() 97 widthAndHeightMap.put("resource:" + getResourceName(resourceId), new Point(width, height)); in provideWidthAndHeightHints() 101 widthAndHeightMap.put("file:" + file, new Point(width, height)); in provideWidthAndHeightHints()
|
D | ShadowMapView.java | 4 import android.graphics.Point; 41 private Point lastTouchEventPoint; 106 @Override public Point toPixels(GeoPoint geoPoint, Point point) { in getProjection() 108 point = new Point(); in getProjection() 209 lastTouchEventPoint = new Point((int) event.getX(), (int) event.getY()); in dispatchTouchEvent() 220 Point center = getProjection().toPixels(mapCenter, null); in moveByPixels()
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/ |
D | CameraConfigurationManager.java | 21 import android.graphics.Point; 41 private Point screenResolution; 42 private Point cameraResolution; 65 screenResolution = new Point(width, height); in initFromCameraParameters() 93 Point getCameraResolution() { in getCameraResolution() 97 Point getScreenResolution() { in getScreenResolution() 134 private static Point findBestPreviewSizeValue(Camera.Parameters parameters, in findBestPreviewSizeValue() 135 Point screenResolution, in findBestPreviewSizeValue() 137 Point bestSize = null; in findBestPreviewSizeValue() 148 bestSize = new Point(supportedWidth, supportedHeight); in findBestPreviewSizeValue() [all …]
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | PathTest.java | 12 import static com.xtremelabs.robolectric.shadows.ShadowPath.Point.Type.LINE_TO; 13 import static com.xtremelabs.robolectric.shadows.ShadowPath.Point.Type.MOVE_TO; 34 List<ShadowPath.Point> moveToPoints = shadowOf(path).getPoints(); in testMoveTo() 36 assertEquals(new ShadowPath.Point(2, 3, MOVE_TO), moveToPoints.get(0)); in testMoveTo() 37 assertEquals(new ShadowPath.Point(3, 4, MOVE_TO), moveToPoints.get(1)); in testMoveTo() 46 List<ShadowPath.Point> lineToPoints = shadowOf(path).getPoints(); in testLineTo() 48 assertEquals(new ShadowPath.Point(2, 3, LINE_TO), lineToPoints.get(0)); in testLineTo() 49 assertEquals(new ShadowPath.Point(3, 4, LINE_TO), lineToPoints.get(1)); in testLineTo()
|
/external/llvm/test/CodeGen/X86/ |
D | 2009-01-31-BigShift3.ll | 10 … %struct.Texture*, %struct.Material*, %struct.Point, i32, i32, %struct.Point, %struct.Point, %stru… 11 %struct.Point = type { double, double, double } 15 …%struct.Texture = type { %struct.Point, %struct.BitMapListStruct*, %struct.Point, %struct.Point, %…
|
/external/skia/src/animator/ |
D | SkAnimate3DSchema.xsd | 10 <xs:simpleType name="Point" > 18 <xs:attribute name="axis" type="Sk3D:Point" /> 21 <xs:attribute name="location" type="Sk3D:Point" /> 22 <xs:attribute name="observer" type="Sk3D:Point" /> 24 <xs:attribute name="zenith" type="Sk3D:Point" /> 31 <xs:attribute name="origin" type="Sk3D:Point" /> 33 <xs:attribute name="u" type="Sk3D:Point" /> 34 <xs:attribute name="v" type="Sk3D:Point" />
|
/external/jmonkeyengine/engine/src/desktop/com/jme3/input/awt/ |
D | AwtMouseInput.java | 78 private Point location; 79 private Point centerLocation; 80 private Point centerLocationOnScreen; 81 private Point lastKnownLocation; 87 location = new Point(); in AwtMouseInput() 88 centerLocation = new Point(); in AwtMouseInput() 89 centerLocationOnScreen = new Point(); in AwtMouseInput() 90 lastKnownLocation = new Point(); in AwtMouseInput() 113 location = new Point(); in setInputSource() 114 centerLocation = new Point(); in setInputSource() [all …]
|
/external/clang/test/Index/ |
D | complete-macro-args.c | 1 struct Point { struct 10 void test(struct Point *p) { in test() argument 17 void test2(struct Point *p) { in test2() 23 void test3(struct Point *p) { 32 void test3(struct Point *p) { 36 void test3(struct Point *p) {
|
/external/lldb/test/functionalities/data-formatter/data-formatter-globals/ |
D | main.cpp | 14 struct Point { struct 17 Point(int X = 3, int Y = 2) : x(X), y(Y) {} in Point() function 20 Point g_point(3,4); 21 Point* g_point_pointer = new Point(7,5);
|
/external/clang/test/SemaCXX/ |
D | tag-ambig.cpp | 5 typedef struct Point Point; typedef 8 class Point; 16 struct Point { }; struct in Test 17 virtual bool testMethod (Test::Point& p) = 0;
|
D | arrow-operator.cpp | 29 class Point {}; class 30 class Line_Segment{ public: Line_Segment(const Point&){} }; in Line_Segment() argument 31 class Node { public: Point Location(){ Point p; return p; } }; in Location()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_points.c | 59 if (ctx->Point._Attenuated || ctx->VertexProgram.PointSizeEnabled) { in get_size() 65 size = ctx->Point.Size; in get_size() 68 size = CLAMP(size, ctx->Point.MinSize, ctx->Point.MaxSize); in get_size() 129 if (ctx->Point.SpriteOrigin == GL_LOWER_LEFT) { in sprite_point() 143 ASSERT(u < Elements(ctx->Point.CoordReplace)); in sprite_point() 144 if (ctx->Point.CoordReplace[u]) { in sprite_point() 147 if (ctx->Point.SpriteRMode == GL_ZERO) in sprite_point() 149 else if (ctx->Point.SpriteRMode == GL_S) in sprite_point() 262 if (vert->pointSize >= ctx->Point.Threshold) { in smooth_point() 266 GLfloat dsize = vert->pointSize / ctx->Point.Threshold; in smooth_point() [all …]
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/ |
D | CSpinner.java | 21 import org.eclipse.swt.graphics.Point; 317 protected Point computeSize(Composite composite, int wHint, int hHint, boolean flushCache) { in computeSize() 318 Point size = m_text.computeSize(SWT.DEFAULT, SWT.DEFAULT); in computeSize() 340 Point tSize = m_text.computeSize(SWT.DEFAULT, SWT.DEFAULT); in layout() 342 Point sSize; in layout() 368 protected Point computeSize(Composite composite, int wHint, int hHint, boolean flushCache) { in computeSize() 369 Point size = m_text.computeSize(SWT.DEFAULT, SWT.DEFAULT); in computeSize() 391 Point tSize = m_text.computeSize(SWT.DEFAULT, SWT.DEFAULT); in layout() 393 Point sSize; in layout() 419 protected Point computeSize(Composite composite, int wHint, int hHint, boolean flushCache) { in computeSize() [all …]
|
D | CImageLabel.java | 16 import org.eclipse.swt.graphics.Point; 107 Point textExtent = m_text == null ? new Point(0, 0) : gc.textExtent(m_text); in doPaint() 128 public Point computeSize(int wHint, int hHint, boolean changed) { in computeSize() 131 Point textExtent = m_text == null ? new Point(0, 0) : gc.textExtent(m_text); in computeSize() 138 return new Point(width, height); in computeSize()
|
/external/v8/test/mjsunit/ |
D | debug-backtrace-text.js | 31 function Point(x, y) { class 36 Point.prototype.distanceTo = function(p) { 41 p1 = new Point(1,1); 42 p2 = new Point(2,2); 53 return new Point(x, y); 117 Debug.setBreakPoint(Point, 0, 0);
|
D | debug-constructed-by.js | 33 function Point(x,y) {} class 36 var ctor = debug.MakeMirror(Point); 45 var p = new Point(); 55 ps.push(new Point());
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/dialogs/ |
D | ResizableDialog.java | 18 import org.eclipse.swt.graphics.Point; 67 protected Point getInitialSize() { in getInitialSize() 71 Point defaultSize = getDefaultSize(); in getInitialSize() 78 return new Point(width, height); in getInitialSize() 88 protected Point getDefaultSize() { in getDefaultSize() 98 protected Point getInitialLocation(Point initialSize) { in getInitialLocation() 123 return new Point(x, y); in getInitialLocation() 128 return new Point(x, y); in getInitialLocation()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_rasterizer.c | 160 raster->point_size = ctx->Point.Size; in update_raster_state() 162 if (!ctx->Point.PointSprite && ctx->Point.SmoothFlag) in update_raster_state() 167 if (ctx->Point.PointSprite) { in update_raster_state() 169 if ((ctx->Point.SpriteOrigin == GL_UPPER_LEFT) ^ in update_raster_state() 180 if (ctx->Point.CoordReplace[i]) { in update_raster_state() 208 raster->point_size = CLAMP(ctx->Point.Size, in update_raster_state() 209 ctx->Point.MinSize, in update_raster_state() 210 ctx->Point.MaxSize); in update_raster_state()
|
/external/clang/test/Analysis/ |
D | fields.c | 24 } Point; typedef 26 Point getit(void); 28 Point p; in test() 38 Point p = {42, 0}; in testLazyCompoundVal() 39 Point q; in testLazyCompoundVal()
|
/external/mesa3d/src/mesa/tnl/ |
D | t_vb_points.c | 52 if (ctx->Point._Attenuated && !ctx->VertexProgram._Current) { in run_point_stage() 57 const GLfloat p0 = ctx->Point.Params[0]; in run_point_stage() 58 const GLfloat p1 = ctx->Point.Params[1]; in run_point_stage() 59 const GLfloat p2 = ctx->Point.Params[2]; in run_point_stage() 60 const GLfloat pointSize = ctx->Point.Size; in run_point_stage()
|
/external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/ |
D | MapModel2D.java | 2 import java.awt.Point; 138 public Point toPixel(Position position) { in toPixel() 204 return new Point(x, y); in toPixel() 214 public Position toPosition(Point p) { in toPosition() 218 Point pixelCentre = toPixel(new Position(0, 0)); in toPosition() 267 public void setCentre(Point p) { in setCentre() 301 public Point getPixelCentre() { in getPixelCentre() 302 return new Point(xCentre, yCentre); in getPixelCentre()
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
D | TimeLineGraphItem.java | 17 import org.eclipse.swt.graphics.Point; 56 Point getSize(GC g) { in getSize() 57 Point e1= g.stringExtent(this.description); in getSize() 58 Point e2= g.stringExtent(this.title); in getSize() 59 return new Point(Math.max(e1.x, e2.x), e1.y+e2.y); in getSize()
|
D | LineGraph.java | 18 import org.eclipse.swt.graphics.Point; 46 Point getSize(GC g) { in getSize() 47 Point e1= g.stringExtent(this.description); in getSize() 48 Point e2= g.stringExtent(this.title); in getSize() 49 return new Point(Math.max(e1.x, e2.x), e1.y+e2.y); in getSize() 73 Point ee= g.stringExtent(this.fTitle); in paint() 83 Point emin= g.stringExtent(smin); in paint() 86 Point emax= g.stringExtent(smax); in paint()
|