Searched refs:coordinates (Results 1 - 25 of 33) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/modules/geolocation/
H A DGeoposition.h39 static PassRefPtr<Geoposition> create(PassRefPtr<Coordinates> coordinates, DOMTimeStamp timestamp) argument
41 return adoptRef(new Geoposition(coordinates, timestamp));
53 Geoposition(PassRefPtr<Coordinates> coordinates, DOMTimeStamp timestamp) argument
54 : m_coordinates(coordinates)
H A DGeolocation.cpp54 RefPtr<Coordinates> coordinates = Coordinates::create(position->latitude(), position->longitude(), position->canProvideAltitude(), position->altitude(),
57 return Geoposition::create(coordinates.release(), convertSecondsToDOMTimeStamp(position->timestamp()));
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
H A DValidationMessageBubble.java95 final RenderCoordinates coordinates = contentViewCore.getRenderCoordinates();
98 coordinates.fromLocalCssToPix(anchorX),
99 coordinates.fromLocalCssToPix(anchorY) + yOffset,
100 coordinates.fromLocalCssToPix(anchorX + anchorWidth),
101 coordinates.fromLocalCssToPix(anchorY + anchorHeight) + yOffset);
120 private void measure(RenderCoordinates coordinates) { argument
128 View.MeasureSpec.makeMeasureSpec(coordinates.getLastFrameViewportWidthPixInt(),
130 View.MeasureSpec.makeMeasureSpec(coordinates.getLastFrameViewportHeightPixInt(),
146 final RenderCoordinates coordinates = contentViewCore.getRenderCoordinates();
147 final int viewWidth = coordinates
[all...]
/external/chromium/chrome/browser/resources/ntp/
H A Ddrag_drop_controller.js18 // canDropOn(coordinates) -->
19 // returns true if the coordinates (relative to the drag container)
22 // setDragPlaceholder(coordinates) -->
24 // the specified coordinates.
79 // Shifts the client coordinates, |xy|, so they are relative to the top left
83 var coordinates = {
88 // If we're in an RTL language, reflect the coordinates so the delegate
91 coordinates.x = this.delegate_.dragContainer.offsetWidth - coordinates.x;
93 return coordinates;
[all...]
H A Dapps.js425 // Returns true if |coordinates| point to a valid drop location. The
426 // coordinates are relative to the drag container and the object should
428 canDropOn: function(coordinates) {
435 if (coordinates.x >= right || coordinates.x < 0 ||
436 coordinates.y >= bottom || coordinates.y < 0)
439 var position = this.getIndexAt_(coordinates);
448 setDragPlaceholder: function(coordinates) {
449 var position = this.getIndexAt_(coordinates);
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DRenderSVGResourceMarker.cpp78 FloatRect coordinates = RenderSVGContainer::repaintRectInLocalCoordinates(); local
81 coordinates = localToParentTransform().mapRect(coordinates);
83 return markerTransformation.mapRect(coordinates);
146 // The 'origin' coordinate maps to SVGs refX/refY, given in coordinates relative to the viewport established by the marker
/external/chromium_org/chrome/browser/extensions/api/location/
H A Dlocation_manager.cc351 location::Coordinates* coordinates) {
352 coordinates->latitude = position.latitude;
353 coordinates->longitude = position.longitude;
355 coordinates->altitude.reset(new double(position.altitude));
356 coordinates->accuracy = position.accuracy;
358 coordinates->altitude_accuracy.reset(
362 coordinates->heading.reset(new double(position.heading));
364 coordinates->speed.reset(new double(position.speed));
349 GeopositionToApiCoordinates( const content::Geoposition& position, location::Coordinates* coordinates) argument
H A Dlocation_manager.h73 // |coordinates|.
76 api::location::Coordinates* coordinates);
/external/chromium_org/third_party/mesa/src/docs/OLD/
H A DMESA_sprite_point.spec34 coordinates at each vertex. This extension effectively turns points
44 1. How are the texture coordinates computed?
53 texture coordinates. The r and q coordinates may have been computed
74 texture and appropriate texture r coordinates could be used to
125 texture coordinates are computed as follows:
133 where x, y, z, w are the point's window coordinates, r and q are the
134 point's 3rd and 4th texture coordinates and r is half the point's
141 The new texture coordinates are not effected by texgen or the texture
142 matrix. Note, however, that the texture r and q coordinates ar
[all...]
/external/mesa3d/docs/OLD/
H A DMESA_sprite_point.spec34 coordinates at each vertex. This extension effectively turns points
44 1. How are the texture coordinates computed?
53 texture coordinates. The r and q coordinates may have been computed
74 texture and appropriate texture r coordinates could be used to
125 texture coordinates are computed as follows:
133 where x, y, z, w are the point's window coordinates, r and q are the
134 point's 3rd and 4th texture coordinates and r is half the point's
141 The new texture coordinates are not effected by texgen or the texture
142 matrix. Note, however, that the texture r and q coordinates ar
[all...]
/external/chromium_org/chrome/test/functional/perf/endure_graphs/js/
H A Dplotter.js280 this.coordinates = null;
284 this.coordinates = new Coordinates(
289 this.coordinates = new Coordinates(this.plotData_);
398 function draw(plotData, coordinates, colorOffset, stack) {
402 plotData[i], coordinates);
405 plotData[i], coordinates);
412 this.coordinates, 0, this.stackedGraph_);
415 this.unitsYOther_ ? this.coordinatesOther : this.coordinates,
421 this.plotEvents_(ctx, 'rgb(255, 150, 150)', this.coordinates);
423 this.graduation_divs_ = this.graduations_(this.coordinates,
[all...]
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-php/
H A Dpopuplib.js60 // coordinates [width, height] which can be [0, 0] if it was not possible
86 // Computes the coordinates of the parent window.
87 // Gets the coordinates of the parent frame
103 // Computes the coordinates of the new window, so as to center it
270 var coordinates = that.getCenteredCoords(width, height);
274 ",left=" + coordinates[0] +",top=" + coordinates[1]);
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-php/
H A Dpopuplib.js60 // coordinates [width, height] which can be [0, 0] if it was not possible
86 // Computes the coordinates of the parent window.
87 // Gets the coordinates of the parent frame
103 // Computes the coordinates of the new window, so as to center it
270 var coordinates = that.getCenteredCoords(width, height);
274 ",left=" + coordinates[0] +",top=" + coordinates[1]);
/external/chromium_org/third_party/WebKit/Source/core/html/track/
H A DTextTrackCue.cpp845 std::pair<double, double> coordinates; local
848 coordinates.first = m_textPosition;
849 coordinates.second = m_computedLinePosition;
851 return coordinates;
855 coordinates.first = 100 - m_textPosition;
856 coordinates.second = m_computedLinePosition;
858 return coordinates;
862 coordinates.first = 100 - m_computedLinePosition;
863 coordinates.second = m_textPosition;
865 return coordinates;
[all...]
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/
H A DDesktopView.java64 /** Stores pan and zoom configuration and converts image coordinates to screen coordinates. */
132 // Screen coordinates of two defining points of the image.
295 float[] coordinates = {x, y};
297 // Coordinates are relative to the canvas, but we need image coordinates.
300 canvasToImage.mapPoints(coordinates);
303 JniInterface.mouseAction((int)coordinates[0], (int)coordinates[1], button, pressed);
/external/chromium_org/chrome_frame/test/
H A Dready_mode_unittest.cc195 LPARAM coordinates = (center_point.y << 16) | center_point.x; local
197 ::PostMessage(hwnd, WM_LBUTTONDOWN, 0, coordinates);
198 ::PostMessage(hwnd, WM_LBUTTONUP, 0, coordinates);
H A Dmock_ie_event_sink_actions.h253 LPARAM coordinates = (1 << 16) | 1; local
256 ::PostMessage(hwnd, WM_RBUTTONDOWN, 0, coordinates);
257 ::PostMessage(hwnd, WM_RBUTTONUP, 0, coordinates);
H A Dchrome_frame_ui_test_utils.cc244 LOG(ERROR) << "Could not convert from screen to client coordinates for "
534 // For some reason, it seems that menus expect screen coordinates.
553 LPARAM coordinates = MAKELPARAM(x, y);
554 ::PostMessage(container_window, button_down, 0, coordinates);
555 ::PostMessage(container_window, button_up, 0, coordinates);
/external/chromium_org/third_party/freetype/include/freetype/internal/
H A Dpshints.h160 * Array of 2 coordinates in 16.16 format, used as (position,length)
164 * Use vertical coordinates (y) for horizontal stems (dim=0). Use
165 * horizontal coordinates (x) for vertical stems (dim=1).
205 * Use vertical coordinates (y) for horizontal stems (dim=0). Use
206 * horizontal coordinates (x) for vertical stems (dim=1).
297 * On input, all points within the outline are in font coordinates. On
453 * Use vertical coordinates (y) for horizontal stems (dim=0). Use
454 * horizontal coordinates (x) for vertical stems (dim=1).
469 FT_Fixed* coordinates );
611 * On input, all points within the outline are in font coordinates
[all...]
/external/freetype/include/freetype/internal/
H A Dpshints.h160 * Array of 2 coordinates in 16.16 format, used as (position,length)
164 * Use vertical coordinates (y) for horizontal stems (dim=0). Use
165 * horizontal coordinates (x) for vertical stems (dim=1).
205 * Use vertical coordinates (y) for horizontal stems (dim=0). Use
206 * horizontal coordinates (x) for vertical stems (dim=1).
297 * On input, all points within the outline are in font coordinates. On
453 * Use vertical coordinates (y) for horizontal stems (dim=0). Use
454 * horizontal coordinates (x) for vertical stems (dim=1).
469 FT_Fixed* coordinates );
611 * On input, all points within the outline are in font coordinates
[all...]
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/meshes/
H A DMeshHelper.java145 throw new BlenderFileException("The amount of faces uv coordinates is not equal to faces amount!");
406 //setting the coordinates inside the mesh context
524 DynamicArray<Number> coordinates = (DynamicArray<Number>) mVerts.get(i).getFieldValue("co");
525 vertices[i] = new Vector3f(coordinates.get(0).floatValue(), coordinates.get(2).floatValue(), -coordinates.get(1).floatValue());
529 DynamicArray<Number> coordinates = (DynamicArray<Number>) mVerts.get(i).getFieldValue("co");
530 vertices[i] = new Vector3f(coordinates.get(0).floatValue(), coordinates.get(1).floatValue(), coordinates
[all...]
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DInspectorDOMAgent.cpp137 double coordinates[coordinatesInQuad]; local
141 if (!quadArray->get(i)->asNumber(coordinates + i))
144 quad->setP1(FloatPoint(coordinates[0], coordinates[1]));
145 quad->setP2(FloatPoint(coordinates[2], coordinates[3]));
146 quad->setP3(FloatPoint(coordinates[4], coordinates[5]));
147 quad->setP4(FloatPoint(coordinates[6], coordinates[
[all...]
/external/chromium_org/third_party/mesa/src/docs/
H A DMESA_texture_array.spec279 with each set of window coordinates (x,y) that lie within a primitive;
525 how the 4-tuple is mapped into the coordinates used for sampling. The
532 Note that not all four components of the texture coordinates <coord>
536 coordinates used
553 coordinate mappings. The "coordinates used" column indicate the
747 RESOLVED. All texture coordinates are normalized. The issue of
748 un-normalized texture coordinates has been discussed in the ARB
752 using [0, layers-1] coordinates is much more natural.
/external/mesa3d/docs/
H A DMESA_texture_array.spec279 with each set of window coordinates (x,y) that lie within a primitive;
525 how the 4-tuple is mapped into the coordinates used for sampling. The
532 Note that not all four components of the texture coordinates <coord>
536 coordinates used
553 coordinate mappings. The "coordinates used" column indicate the
747 RESOLVED. All texture coordinates are normalized. The issue of
748 un-normalized texture coordinates has been discussed in the ARB
752 using [0, layers-1] coordinates is much more natural.
/external/chromium_org/content/browser/renderer_host/
H A Drender_widget_host_view_win.cc212 // Map to window coordinates.
753 // Send the invalid rect in screen coordinates.
1801 // Convert the coordinates to the target window.
1820 // convert the click from the popup window coordinates to the WebContentsImpl'
1821 // window coordinates. For now we don't forward the message in that case to
1852 // coordinates in current window to client coordinates in its parent
2169 CPoint coordinates(
2186 touch_point->screenPosition.x == coordinates.x &&
2187 touch_point->screenPosition.y == coordinates
[all...]

Completed in 555 milliseconds

12