Home
last modified time | relevance | path

Searched refs:coordinates (Results 1 – 25 of 104) sorted by relevance

12345

/external/chromium/chrome/browser/resources/ntp/
Ddrag_drop_controller.js83 var coordinates = { variable
91 coordinates.x = this.delegate_.dragContainer.offsetWidth - coordinates.x;
93 return coordinates;
151 var coordinates = this.getCoordinates_(this.mouseXY_);
152 if (!this.delegate_.canDropOn(coordinates))
155 this.delegate_.setDragPlaceholder(coordinates);
Dapps.js428 canDropOn: function(coordinates) { argument
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) { argument
449 var position = this.getIndexAt_(coordinates);
461 getIndexAt_: function(coordinates) { argument
467 var row = Math.floor(coordinates.y / h);
468 var col = Math.floor(coordinates.x / w);
/external/webkit/Source/WebCore/page/
DGeoposition.h38 … static PassRefPtr<Geoposition> create(PassRefPtr<Coordinates> coordinates, DOMTimeStamp timestamp) in create() argument
40 return adoptRef(new Geoposition(coordinates, timestamp)); in create()
52 Geoposition(PassRefPtr<Coordinates> coordinates, DOMTimeStamp timestamp) in Geoposition() argument
53 : m_coordinates(coordinates) in Geoposition()
DGeolocationPositionCache.cpp172 RefPtr<Coordinates> coordinates = Coordinates::create(statement.getColumnDouble(0), // latitude in readFromDatabaseImpl() local
185 m_cachedPosition = Geoposition::create(coordinates.release(), timestamp); in readFromDatabaseImpl()
DGeolocation.cpp64 …RefPtr<Coordinates> coordinates = Coordinates::create(position->latitude(), position->longitude(),… in createGeoposition() local
67 …return Geoposition::create(coordinates.release(), convertSecondsToDOMTimeStamp(position->timestamp… in createGeoposition()
/external/webkit/Source/WebCore/rendering/svg/
DRenderSVGResourceMarker.cpp79 FloatRect coordinates = RenderSVGContainer::repaintRectInLocalCoordinates(); in markerBoundaries() local
82 coordinates = localToParentTransform().mapRect(coordinates); in markerBoundaries()
84 return markerTransformation.mapRect(coordinates); in markerBoundaries()
/external/mesa3d/docs/OLD/
DMESA_sprite_point.spec53 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:
134 point's 3rd and 4th texture coordinates and r is half the point's
/external/webkit/Source/WebKit/android/jni/
DMockGeolocation.cpp49 RefPtr<Coordinates> coordinates = Coordinates::create(latitude, in setPosition() local
56 RefPtr<Geoposition> position = Geoposition::create(coordinates.release(), WTF::currentTimeMS()); in setPosition()
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-php/
Dpopuplib.js270 var coordinates = that.getCenteredCoords(width, height);
274 ",left=" + coordinates[0] +",top=" + coordinates[1]);
/external/chromium/chrome/browser/ui/cocoa/tab_contents/
Dweb_drop_target.mm36 // Given a point in window coordinates and a view in that window, return a
47 // Given a point in window coordinates and a view in that window, return a
48 // flipped point in screen coordinates.
95 // is in window coordinates. Both need to be flipped.
134 // is in window coordinates.
184 // is in window coordinates. Both need to be flipped.
Dweb_drop_target_unittest.mm54 // Test flipping of coordinates given a point in window coordinates.
Dweb_contents_drag_source.mm26 // Flips screen and point coordinates over the y axis to work with webkit
/external/webkit/Source/WebCore/platform/gtk/
DGeolocationServiceGtk.cpp166 RefPtr<Coordinates> coordinates = Coordinates::create(m_latitude, m_longitude, in updatePosition() local
169 m_lastPosition = Geoposition::create(coordinates.release(), m_timestamp * 1000.0); in updatePosition()
/external/webkit/Source/WebKit/mac/Misc/
DWebNSViewExtras.m228 // Convert to this window's coordinates
231 // Convert to screen coordinates
234 // Convert to other window's coordinates
237 // Convert to other view's coordinates
/external/chromium/chrome/browser/ui/cocoa/
Dnew_tab_button.mm16 // Cache the path as it doesn't change (the coordinates are local to this
Dstatus_bubble_mac.mm144 // Scale from view to window coordinates before eliding URL string.
273 // Bubble's base frame in |parent_| coordinates.
597 // Scale width from gfx::Font in view coordinates to window coordinates.
Dpage_info_bubble_controller.mm67 // The width of the window, in view coordinates. The height will be determined
272 // Create the dummy view that uses flipped coordinates.
450 // point is in screen coordinates.
/external/freetype/include/freetype/internal/
Dpshints.h469 FT_Fixed* coordinates );
/external/mesa3d/docs/
DRELNOTES-5.1224 various sets of texture coordinates even when the corresponding texture
226 called but we still may have to interpolate texture coordinates across
228 This new field indicates which sets of texture coordinates are needed.
DMESA_texture_array.spec279 with each set of window coordinates (x,y) that lie within a primitive;
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/chrome/browser/speech/
Dspeech_input_bubble_mac.mm61 // Find the screen coordinates for the given tab and position the bubble's
/external/chromium/chrome/browser/accessibility/
Dbrowser_accessibility_mac_unittest.mm99 // This will test a hit test with invalid coordinates. It is assumed that
/external/webkit/Source/WebKit/mac/Plugins/Hosted/
DWebHostedNetscapePluginView.mm184 …// The base coordinates of a window and it's contentView happen to be the equal at a userSpaceScal…
201 // Flip Y to convert NSWindow coordinates to top-left-based window coordinates.
/external/chromium/chrome/browser/ui/cocoa/wrench_menu/
Dmenu_tracked_button_unittest.mm44 // Creates an event of |type|, with |location| in test_window()'s coordinates.
/external/webkit/Source/WebCore/platform/mac/
DPlatformScreenMac.mm51 // These functions scale between screen and page coordinates because JavaScript/DOM operations

12345