OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:onmousemove
(Results
1 - 25
of
92
) sorted by null
1
2
3
4
/external/pdfium/xfa/src/fxfa/src/app/
xfa_fftext.h
16
virtual FX_BOOL
OnMouseMove
(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy);
xfa_ffsignature.h
24
virtual FX_BOOL
OnMouseMove
(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy);
xfa_fffield.h
35
virtual FX_BOOL
OnMouseMove
(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy);
xfa_ffsignature.cpp
64
FX_BOOL CXFA_FFSignature::
OnMouseMove
(FX_DWORD dwFlags,
/external/chromium-trace/catapult/third_party/flot/
jquery.flot.crosshair.min.js
7
(function($){var options={crosshair:{mode:null,color:"rgba(170, 0, 0, 0.80)",lineWidth:1}};function init(plot){var crosshair={x:-1,y:-1,locked:false};plot.setCrosshair=function setCrosshair(pos){if(!pos)crosshair.x=-1;else{var o=plot.p2c(pos);crosshair.x=Math.max(0,Math.min(o.left,plot.width()));crosshair.y=Math.max(0,Math.min(o.top,plot.height()))}plot.triggerRedrawOverlay()};plot.clearCrosshair=plot.setCrosshair;plot.lockCrosshair=function lockCrosshair(pos){if(pos)plot.setCrosshair(pos);crosshair.locked=true};plot.unlockCrosshair=function unlockCrosshair(){crosshair.locked=false};function onMouseOut(e){if(crosshair.locked)return;if(crosshair.x!=-1){crosshair.x=-1;plot.triggerRedrawOverlay()}}function
onMouseMove
(e){if(crosshair.locked)return;if(plot.getSelection&&plot.getSelection()){crosshair.x=-1;return}var offset=plot.offset();crosshair.x=Math.max(0,Math.min(e.pageX-offset.left,plot.width()));crosshair.y=Math.max(0,Math.min(e.pageY-offset.top,plot.height()));plot.triggerRedrawOverlay()}plot.hooks.bindEvents.push(function(plot,eventHolder){if(!plot.getOptions().crosshair.mode)return;eventHolder.mouseout(onMouseOut);eventHolder.mousemove(
onMouseMove
)});plot.hooks.drawOverlay.push(function(plot,ctx){var c=plot.getOptions().crosshair;if(!c.mode)return;var plotOffset=plot.getPlotOffset();ctx.save();ctx.translate(plotOffset.left,plotOffset.top);if(crosshair.x!=-1){var adj=plot.getOptions().crosshair.lineWidth%2?.5:0;ctx.strokeStyle=c.color;ctx.lineWidth=c.lineWidth;ctx.lineJoin="round";ctx.beginPath();if(c.mode.indexOf("x")!=-1){var drawX=Math.floor(crosshair.x)+adj;ctx.moveTo(drawX,0);ctx.lineTo(drawX,plot.height())}if(c.mode.indexOf("y")!=-1){var drawY=Math.floor(crosshair.y)+adj;ctx.moveTo(0,drawY);ctx.lineTo(plot.width(),drawY)}ctx.stroke()}ctx.restore()});plot.hooks.shutdown.push(function(plot,eventHolder){eventHolder.unbind("mouseout",onMouseOut);eventHolder.unbind("mousemove",
onMouseMove
)})}$.plot.plugins.push({init:init,options:options,name:"crosshair",version:"1.0"})})(jQuery)
jquery.flot.crosshair.js
108
function
onMouseMove
(e) {
128
eventHolder.mousemove(
onMouseMove
);
166
eventHolder.unbind("mousemove",
onMouseMove
);
jquery.flot.selection.min.js
7
(function($){function init(plot){var selection={first:{x:-1,y:-1},second:{x:-1,y:-1},show:false,active:false};var savedhandlers={};var mouseUpHandler=null;function
onMouseMove
(e){if(selection.active){updateSelection(e);plot.getPlaceholder().trigger("plotselecting",[getSelection()])}}function onMouseDown(e){if(e.which!=1)return;document.body.focus();if(document.onselectstart!==undefined&&savedhandlers.onselectstart==null){savedhandlers.onselectstart=document.onselectstart;document.onselectstart=function(){return false}}if(document.ondrag!==undefined&&savedhandlers.ondrag==null){savedhandlers.ondrag=document.ondrag;document.ondrag=function(){return false}}setSelectionPos(selection.first,e);selection.active=true;mouseUpHandler=function(e){onMouseUp(e)};$(document).one("mouseup",mouseUpHandler)}function onMouseUp(e){mouseUpHandler=null;if(document.onselectstart!==undefined)document.onselectstart=savedhandlers.onselectstart;if(document.ondrag!==undefined)document.ondrag=savedhandlers.ondrag;selection.active=false;updateSelection(e);if(selectionIsSane())triggerSelectedEvent();else{plot.getPlaceholder().trigger("plotunselected",[]);plot.getPlaceholder().trigger("plotselecting",[null])}return false}function getSelection(){if(!selectionIsSane())return null;if(!selection.show)return null;var r={},c1=selection.first,c2=selection.second;$.each(plot.getAxes(),function(name,axis){if(axis.used){var p1=axis.c2p(c1[axis.direction]),p2=axis.c2p(c2[axis.direction]);r[name]={from:Math.min(p1,p2),to:Math.max(p1,p2)}}});return r}function triggerSelectedEvent(){var r=getSelection();plot.getPlaceholder().trigger("plotselected",[r]);if(r.xaxis&&r.yaxis)plot.getPlaceholder().trigger("selected",[{x1:r.xaxis.from,y1:r.yaxis.from,x2:r.xaxis.to,y2:r.yaxis.to}])}function clamp(min,value,max){return value<min?min:value>max?max:value}function setSelectionPos(pos,e){var o=plot.getOptions();var offset=plot.getPlaceholder().offset();var plotOffset=plot.getPlotOffset();pos.x=clamp(0,e.pageX-offset.left-plotOffset.left,plot.width());pos.y=clamp(0,e.pageY-offset.top-plotOffset.top,plot.height());if(o.selection.mode=="y")pos.x=pos==selection.first?0:plot.width();if(o.selection.mode=="x")pos.y=pos==selection.first?0:plot.height()}function updateSelection(pos){if(pos.pageX==null)return;setSelectionPos(selection.second,pos);if(selectionIsSane()){selection.show=true;plot.triggerRedrawOverlay()}else clearSelection(true)}function clearSelection(preventEvent){if(selection.show){selection.show=false;plot.triggerRedrawOverlay();if(!preventEvent)plot.getPlaceholder().trigger("plotunselected",[])}}function extractRange(ranges,coord){var axis,from,to,key,axes=plot.getAxes();for(var k in axes){axis=axes[k];if(axis.direction==coord){key=coord+axis.n+"axis";if(!ranges[key]&&axis.n==1)key=coord+"axis";if(ranges[key]){from=ranges[key].from;to=ranges[key].to;break}}}if(!ranges[key]){axis=coord=="x"?plot.getXAxes()[0]:plot.getYAxes()[0];from=ranges[coord+"1"];to=ranges[coord+"2"]}if(from!=null&&to!=null&&from>to){var tmp=from;from=to;to=tmp}return{from:from,to:to,axis:axis}}function setSelection(ranges,preventEvent){var axis,range,o=plot.getOptions();if(o.selection.mode=="y"){selection.first.x=0;selection.second.x=plot.width()}else{range=extractRange(ranges,"x");selection.first.x=range.axis.p2c(range.from);selection.second.x=range.axis.p2c(range.to)}if(o.selection.mode=="x"){selection.first.y=0;selection.second.y=plot.height()}else{range=extractRange(ranges,"y");selection.first.y=range.axis.p2c(range.from);selection.second.y=range.axis.p2c(range.to)}selection.show=true;plot.triggerRedrawOverlay();if(!preventEvent&&selectionIsSane())triggerSelectedEvent()}function selectionIsSane(){var minSize=plot.getOptions().selection.minSize;return Math.abs(selection.second.x-selection.first.x)>=minSize&&Math.abs(selection.second.y-selection.first.y)>=minSize}plot.clearSelection=clearSelection;plot.setSelection=setSelection;plot.getSelection=getSelection;plot.hooks.bindEvents.push(function(plot,eventHolder){var o=plot.getOptions();if(o.selection.mode!=null){eventHolder.mousemove(
onMouseMove
);eventHolder.mousedown(onMouseDown)}});plot.hooks.drawOverlay.push(function(plot,ctx){if(selection.show&&selectionIsSane()){var plotOffset=plot.getPlotOffset();var o=plot.getOptions();ctx.save();ctx.translate(plotOffset.left,plotOffset.top);var c=$.color.parse(o.selection.color);ctx.strokeStyle=c.scale("a",.8).toString();ctx.lineWidth=1;ctx.lineJoin=o.selection.shape;ctx.fillStyle=c.scale("a",.4).toString();var x=Math.min(selection.first.x,selection.second.x)+.5,y=Math.min(selection.first.y,selection.second.y)+.5,w=Math.abs(selection.second.x-selection.first.x)-1,h=Math.abs(selection.second.y-selection.first.y)-1;ctx.fillRect(x,y,w,h);ctx.strokeRect(x,y,w,h);ctx.restore()}});plot.hooks.shutdown.push(function(plot,eventHolder){eventHolder.unbind("mousemove",
onMouseMove
);eventHolder.unbind("mousedown",onMouseDown);if(mouseUpHandler)$(document).unbind("mouseup",mouseU (…)
jquery.flot.selection.js
98
function
onMouseMove
(e) {
303
eventHolder.mousemove(
onMouseMove
);
338
eventHolder.unbind("mousemove",
onMouseMove
);
/external/pdfium/xfa/src/fwl/src/basewidget/include/
fwl_checkboximp.h
57
void
OnMouseMove
(CFWL_MsgMouse* pMsg);
fwl_pushbuttonimp.h
58
void
OnMouseMove
(CFWL_MsgMouse* pMsg);
fwl_spinbuttonimp.h
63
void
OnMouseMove
(CFWL_MsgMouse* pMsg);
fwl_tooltipctrlimp.h
78
void
OnMouseMove
(CFWL_MsgMouse* pMsg);
fwl_comboboximp.h
200
void
OnMouseMove
(CFWL_MsgMouse* pMsg);
227
void
OnMouseMove
(CFWL_MsgMouse* pMsg);
fwl_scrollbarimp.h
111
void
OnMouseMove
(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy);
/external/pdfium/fpdfsdk/include/formfiller/
FFL_FormFiller.h
57
virtual FX_BOOL
OnMouseMove
(CPDFSDK_PageView* pPageView,
179
FX_BOOL
OnMouseMove
(CPDFSDK_PageView* pPageView,
FFL_IFormFiller.h
61
virtual FX_BOOL
OnMouseMove
(CPDFSDK_PageView* pPageView,
/external/pdfium/fpdfsdk/include/pdfwindow/
PWL_IconList.h
80
FX_BOOL
OnMouseMove
(const CPDF_Point& point, FX_DWORD nFlag) override;
PWL_ListBox.h
67
FX_BOOL
OnMouseMove
(const CPDF_Point& point, FX_DWORD nFlag) override;
PWL_EditCtrl.h
110
FX_BOOL
OnMouseMove
(const CPDF_Point& point, FX_DWORD nFlag) override;
PWL_ScrollBar.h
48
FX_BOOL
OnMouseMove
(const CPDF_Point& point, FX_DWORD nFlag) override;
/external/pdfium/fpdfsdk/include/
fsdk_annothandler.h
97
virtual FX_BOOL
OnMouseMove
(CPDFSDK_PageView* pPageView,
191
FX_BOOL
OnMouseMove
(CPDFSDK_PageView* pPageView,
308
virtual FX_BOOL
OnMouseMove
(CPDFSDK_PageView* pPageView,
/external/pdfium/fpdfsdk/src/pdfwindow/
PWL_ListBox.cpp
301
FX_BOOL CPWL_ListBox::
OnMouseMove
(const CPDF_Point& point, FX_DWORD nFlag) {
302
CPWL_Wnd::
OnMouseMove
(point, nFlag);
311
m_pList->
OnMouseMove
(point, IsSHIFTpressed(nFlag), IsCTRLpressed(nFlag));
/external/opencv3/modules/viz/src/vtk/
vtkVizInteractorStyle.hpp
66
virtual void
OnMouseMove
();
/external/pdfium/xfa/src/fwl/src/core/include/
fwl_formimp.h
180
void
OnMouseMove
(CFWL_MsgMouse* pMsg);
/external/pdfium/fpdfsdk/src/
fsdk_annothandler.cpp
197
return pAnnotHandler->
OnMouseMove
(pPageView, pAnnot, nFlags, point);
542
FX_BOOL CPDFSDK_BFAnnotHandler::
OnMouseMove
(CPDFSDK_PageView* pPageView,
551
return m_pFormFiller->
OnMouseMove
(pPageView, pAnnot, nFlags, point);
918
FX_BOOL CPDFSDK_XFAAnnotHandler::
OnMouseMove
(CPDFSDK_PageView* pPageView,
929
bRet = pWidgetHandler->
OnMouseMove
(pAnnot->GetXFAWidget(),
[
all
...]
Completed in 736 milliseconds
1
2
3
4