Searched defs:direction (Results 251 - 275 of 419) sorted by relevance

<<11121314151617

/external/libpcap/
H A Dpcap-int.h181 /* We're accepting only packets in this direction/these directions. */
182 pcap_direction_t direction; member in struct:pcap
/external/qemu/
H A Dkvm-all.c544 int direction, int size, uint32_t count)
550 if (direction == KVM_EXIT_IO_IN) {
641 run->io.direction,
543 kvm_handle_io(CPUState *cpu, uint16_t port, void *data, int direction, int size, uint32_t count) argument
/external/qemu/target-i386/
H A Dhax-all.c418 cpu_physical_memory_rw(hft->gpa, &buf, hft->size, hft->direction);
419 if (hft->direction == 0)
425 int hax_handle_io(CPUX86State *env, uint32_t df, uint16_t port, int direction, argument
437 if (direction == HAX_EXIT_IO_IN) {
/external/srtp/test/
H A Dsrtp_driver.c678 * of the policy that changes the direction to inbound
877 * of the policy that changes the direction to inbound
975 char *direction[3] = { local
998 direction[stream->direction],
/external/chromium_org/android_webview/test/shell/src/org/chromium/android_webview/test/
H A DAwTestContainerView.java312 public void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
313 super.onFocusChanged(focused, direction, previouslyFocusedRect);
314 mAwContents.onFocusChanged(focused, direction, previouslyFocusedRect);
/external/chromium_org/ash/accelerators/
H A Daccelerator_controller.cc288 bool HandleRotatePaneFocus(Shell::Direction direction) { argument
290 switch (direction) {
/external/chromium_org/ash/
H A Dshell.cc361 void Shell::RotateFocus(Direction direction) { argument
362 focus_cycler_->RotateFocus(direction == FORWARD ? FocusCycler::FORWARD
/external/chromium_org/chrome/browser/ui/views/omnibox/
H A Domnibox_view_views.cc689 // Select all in the reverse direction so as not to scroll the caret
920 base::i18n::TextDirection direction = GetTextDirection(); local
921 if ((direction == base::i18n::LEFT_TO_RIGHT &&
923 (direction == base::i18n::RIGHT_TO_LEFT &&
/external/chromium_org/chrome/installer/test/
H A Dalternate_version_generator.cc394 bool IncrementNewVersion(upgrade_test::Direction direction, argument
400 LONGLONG incrementer = (direction == upgrade_test::PREVIOUS_VERSION ? -1 : 1);
420 upgrade_test::Direction direction,
429 if (!IncrementNewVersion(direction, &ctx)) {
515 Direction direction,
612 ApplyAlternateVersion(work_dir.directory(), direction, original_version,
656 Direction direction) {
665 if (!IncrementNewVersion(direction, &ctx)) {
419 ApplyAlternateVersion(const base::FilePath& work_dir, upgrade_test::Direction direction, std::wstring* original_version, std::wstring* new_version) argument
513 GenerateAlternateVersion(const base::FilePath& original_installer_path, const base::FilePath& target_path, Direction direction, std::wstring* original_version, std::wstring* new_version) argument
654 GenerateAlternatePEFileVersion(const base::FilePath& original_file, const base::FilePath& target_file, Direction direction) argument
/external/chromium_org/chrome/renderer/searchbox/
H A Dsearchbox_extension.cc115 std::string direction; local
117 direction = kRTLHtmlTextDirection;
119 direction = kLTRHtmlTextDirection;
136 obj->Set(v8::String::NewFromUtf8(isolate, "direction"),
137 UTF8ToV8String(isolate, direction));
/external/chromium_org/content/browser/gamepad/
H A Dxbox_data_fetcher_mac.cc399 // The interface should have two pipes. Pipe 1 with direction kUSBIn and pipe
400 // 2 with direction kUSBOut. Both pipes should have type kUSBInterrupt.
407 uint8 direction; local
415 &direction,
424 if (direction != kUSBIn)
430 if (direction != kUSBOut)
/external/chromium_org/content/browser/indexed_db/
H A Dindexed_db_database.cc1005 blink::WebIDBCursorDirection direction; member in struct:content::IndexedDBDatabase::OpenCursorOperationParams
1019 blink::WebIDBCursorDirection direction,
1035 params->direction = direction;
1067 params->direction,
1075 params->direction,
1087 params->direction,
1096 params->direction,
1014 OpenCursor( int64 transaction_id, int64 object_store_id, int64 index_id, scoped_ptr<IndexedDBKeyRange> key_range, blink::WebIDBCursorDirection direction, bool key_only, blink::WebIDBTaskType task_type, scoped_refptr<IndexedDBCallbacks> callbacks) argument
/external/chromium_org/content/child/npapi/
H A Dplugin_host.cc1097 NPBool NPN_UnfocusInstance(NPP id, NPFocusDirection direction) { argument
/external/chromium_org/content/renderer/
H A Drender_view_browsertest.cc1160 // direction of the selected input element.
1163 // This test changes the text direction of the <textarea> element, and
1164 // writes the values of its 'dir' attribute and its 'direction' property to
1165 // verify that the text direction is changed.
1178 WebTextDirection direction; member in struct:content::__anon7826
1185 // Set the text direction of the <textarea> element.
1187 view()->OnSetTextDirection(kTextDirection[i].direction);
1189 // Write the values of its DOM 'dir' attribute and its CSS 'direction'
1196 " style.getPropertyValue('direction');");
/external/chromium_org/extensions/browser/api/usb/
H A Dusb_api.cc91 const char kErrorConvertDirection[] = "Invalid transfer direction.";
169 if (input.direction == usb::DIRECTION_IN) {
176 } else if (input.direction == usb::DIRECTION_OUT) {
188 UsbEndpointDirection direction,
199 if (direction == device::USB_DIRECTION_INBOUND) {
201 } else if (direction == device::USB_DIRECTION_OUTBOUND) {
368 output->direction = ConvertDirectionToApi(input.direction);
946 UsbEndpointDirection direction; local
951 if (!ConvertDirectionSafely(transfer.direction,
186 CreateBufferForTransfer( const T& input, UsbEndpointDirection direction, size_t size) argument
1003 UsbEndpointDirection direction; local
1052 UsbEndpointDirection direction; local
1103 UsbEndpointDirection direction; local
[all...]
/external/chromium_org/media/base/android/java/src/org/chromium/media/
H A DMediaCodecBridge.java49 // Codec direction. Keep this in sync with media_codec_bridge.h.
100 int direction) {
103 mDirection = direction;
113 private int direction() { return mDirection; } method in class:MediaCodecBridge.CodecInfo
165 int direction =
173 supportedTypes[j], codecString, direction));
189 private static String getDefaultCodecName(String mime, int direction) { argument
194 if (direction == MEDIA_CODEC_ENCODER) {
203 mime + ", direction: " + direction,
99 CodecInfo(String codecType, String codecName, int direction) argument
240 create(String mime, boolean isSecure, int direction) argument
[all...]
/external/chromium_org/media/base/android/
H A Dmedia_codec_bridge.cc152 info.direction = static_cast<MediaCodecDirection>(
162 MediaCodecDirection direction) {
169 Java_MediaCodecBridge_getDefaultCodecName(env, j_mime.obj(), direction);
194 MediaCodecDirection direction) {
200 codec_name = GetDefaultCodecName(mime_type, direction);
207 codecs_info[i].direction == direction) {
229 MediaCodecDirection direction) {
235 Java_MediaCodecBridge_create(env, j_mime.obj(), is_secure, direction));
674 MediaCodecDirection direction) {
160 GetDefaultCodecName( const std::string& mime_type, MediaCodecDirection direction) argument
193 IsKnownUnaccelerated(const std::string& mime_type, MediaCodecDirection direction) argument
227 MediaCodecBridge(const std::string& mime, bool is_secure, MediaCodecDirection direction) argument
673 IsKnownUnaccelerated(const VideoCodec& codec, MediaCodecDirection direction) argument
758 VideoCodecBridge(const std::string& mime, bool is_secure, MediaCodecDirection direction) argument
[all...]
/external/chromium_org/third_party/WebKit/PerformanceTests/resources/
H A Djquery.flot.min.js6 (function(b){b.color={};b.color.make=function(d,e,g,f){var c={};c.r=d||0;c.g=e||0;c.b=g||0;c.a=f!=null?f:1;c.add=function(h,j){for(var k=0;k<h.length;++k){c[h.charAt(k)]+=j}return c.normalize()};c.scale=function(h,j){for(var k=0;k<h.length;++k){c[h.charAt(k)]*=j}return c.normalize()};c.toString=function(){if(c.a>=1){return"rgb("+[c.r,c.g,c.b].join(",")+")"}else{return"rgba("+[c.r,c.g,c.b,c.a].join(",")+")"}};c.normalize=function(){function h(k,j,l){return j<k?k:(j>l?l:j)}c.r=h(0,parseInt(c.r),255);c.g=h(0,parseInt(c.g),255);c.b=h(0,parseInt(c.b),255);c.a=h(0,c.a,1);return c};c.clone=function(){return b.color.make(c.r,c.b,c.g,c.a)};return c.normalize()};b.color.extract=function(d,e){var c;do{c=d.css(e).toLowerCase();if(c!=""&&c!="transparent"){break}d=d.parent()}while(!b.nodeName(d.get(0),"body"));if(c=="rgba(0, 0, 0, 0)"){c="transparent"}return b.color.parse(c)};b.color.parse=function(c){var d,f=b.color.make;if(d=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(c)){return f(parseInt(d[1],10),parseInt(d[2],10),parseInt(d[3],10))}if(d=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(c)){return f(parseInt(d[1],10),parseInt(d[2],10),parseInt(d[3],10),parseFloat(d[4]))}if(d=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(c)){return f(parseFloat(d[1])*2.55,parseFloat(d[2])*2.55,parseFloat(d[3])*2.55)}if(d=/rgba\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(c)){return f(parseFloat(d[1])*2.55,parseFloat(d[2])*2.55,parseFloat(d[3])*2.55,parseFloat(d[4]))}if(d=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(c)){return f(parseInt(d[1],16),parseInt(d[2],16),parseInt(d[3],16))}if(d=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(c)){return f(parseInt(d[1]+d[1],16),parseInt(d[2]+d[2],16),parseInt(d[3]+d[3],16))}var e=b.trim(c).toLowerCase();if(e=="transparent"){return f(255,255,255,0)}else{d=a[e]||[0,0,0];return f(d[0],d[1],d[2])}};var a={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0]}})(jQuery);(function(c){function b(av,ai,J,af){var Q=[],O={colors:["#edc240","#afd8f8","#cb4b4b","#4da74d","#9440ed"],legend:{show:true,noColumns:1,labelFormatter:null,labelBoxBorderColor:"#ccc",container:null,position:"ne",margin:5,backgroundColor:null,backgroundOpacity:0.85},xaxis:{show:null,position:"bottom",mode:null,color:null,tickColor:null,transform:null,inverseTransform:null,min:null,max:null,autoscaleMargin:null,ticks:null,tickFormatter:null,labelWidth:null,labelHeight:null,reserveSpace:null,tickLength:null,alignTicksWithAxis:null,tickDecimals:null,tickSize:null,minTickSize:null,monthNames:null,timeformat:null,twelveHourClock:false},yaxis:{autoscaleMargin:0.02,position:"left"},xaxes:[],yaxes:[],series:{points:{show:false,radius:3,lineWidth:2,fill:true,fillColor:"#ffffff",symbol:"circle"},lines:{lineWidth:2,fill:false,fillColor:null,steps:false},bars:{show:false,lineWidth:2,barWidth:1,fill:true,fillColor:null,align:"left",horizontal:false},shadowSize:3},grid:{show:true,aboveData:false,color:"#545454",backgroundColor:null,borderColor:null,tickColor:null,labelMargin:5,axisMargin:8,borderWidth:2,minBorderMargin:null,markings:null,markingsColor:"#f4f4f4",markingsLineWidth:2,clickable:false,hoverable:false,autoHighlight:true,mouseActiveRadius:10},hooks:{}},az=null,ad=null,y=null,H=null,A=null,p=[],aw=[],q={left:0,right:0,top:0,bottom:0},G=0,I=0,h=0,w=0,ak={processOptions:[],processRawData:[],processDatapoints:[],drawSeries:[],draw:[],bindEvents:[],drawOverlay:[],shutdown:[]},aq=this;aq.setData=aj;aq.setupGrid=t;aq.draw=W;aq.getPlaceholder=function(){return av};aq.getCanvas=function(){return az};aq.getPlotOffset=function(){return q};aq.width=function(){return h};aq.height=function(){return w};aq.offset=function(){var aB=y.offset();aB.left+=q.left;aB.top+=q.top;return aB};aq.getData=function(){return Q};aq.getAxes=function(){var aC={},aB;c.each(p.concat(aw),function(aD,aE){if(aE){aC[aE.direction+(aE.n!=1?aE.n:"")+"axis"]=aE}});return aC};aq.getXAxes=function(){return p};aq.getYAxes=function(){return aw};aq.c2p=C;aq.p2c=ar;aq.getOptions=function(){return O};aq.highlight=x;aq.unhighlight=T;aq.triggerRedrawOverlay=f;aq.pointOffset=function(aB){return{left:parseInt(p[aA(aB,"x")-1].p2c(+aB.x)+q.left),top:parseInt(aw[aA(aB,"y")-1].p2c(+aB.y)+q.top)}};aq.shutdown=ag;aq.resize=function(){B();g(az);g(ad)};aq.hooks=ak;F(aq);Z(J);X();aj(ai);t();W();ah();function an(aD,aB){aB=[aq].concat(aB);for(var aC=0;aC<aD.length;++aC){aD[aC].apply(this,aB)}}function F(){for(var aB=0;aB<af.length;++aB){var aC=af[aB];aC.init(aq);if(aC.options){c.extend(true,O,aC.options)}}}function Z(aC){var aB;c.extend(true,O,aC);if(O.xaxis.color==null){O.xaxis.color=O.grid.color}if(O.yaxis.color==null){O.yaxis.color=O.grid.color}if(O.xaxis.tickColor==null){O.xaxis.tickColor=O.grid.tickColor}if(O.yaxis.tickColor==null){O.yaxis.tickColor=O.grid.tickColor}if(O.grid.borderColor==null){O.grid.borderColor=O.grid.color}if(O.grid.tickColor==null){O.grid.tickColor=c.color.parse(O.grid.color).scale("a",0.22).toString()}for(aB=0;aB<Math.max(1,O.xaxes.length);++aB){O.xaxes[aB]=c.extend(true,{},O.xaxis,O.xaxes[aB])}for(aB=0;aB<Math.max(1,O.yaxes.length);++aB){O.yaxes[aB]=c.extend(true,{},O.yaxis,O.yaxes[aB])}if(O.xaxis.noTicks&&O.xaxis.ticks==null){O.xaxis.ticks=O.xaxis.noTicks}if(O.yaxis.noTicks&&O.yaxis.ticks==null){O.yaxis.ticks=O.yaxis.noTicks}if(O.x2axis){O.xaxes[1]=c.extend(true,{},O.xaxis,O.x2axis);O.xaxes[1].position="top"}if(O.y2axis){O.yaxes[1]=c.extend(true,{},O.yaxis,O.y2axis);O.yaxes[1].position="right"}if(O.grid.coloredAreas){O.grid.markings=O.grid.coloredAreas}if(O.grid.coloredAreasColor){O.grid.markingsColor=O.grid.coloredAreasColor}if(O.lines){c.extend(true,O.series.lines,O.lines)}if(O.points){c.extend(true,O.series.points,O.points)}if(O.bars){c.extend(true,O.series.bars,O.bars)}if(O.shadowSize!=null){O.series.shadowSize=O.shadowSize}for(aB=0;aB<O.xaxes.length;++aB){V(p,aB+1).options=O.xaxes[aB]}for(aB=0;aB<O.yaxes.length;++aB){V(aw,aB+1).options=O.yaxes[aB]}for(var aD in ak){if(O.hooks[aD]&&O.hooks[aD].length){ak[aD]=ak[aD].concat(O.hooks[aD])}}an(ak.processOptions,[O])}function aj(aB){Q=Y(aB);ax();z()}function Y(aE){var aC=[];for(var aB=0;aB<aE.length;++aB){var aD=c.extend(true,{},O.series);if(aE[aB].data!=null){aD.data=aE[aB].data;delete aE[aB].data;c.extend(true,aD,aE[aB]);aE[aB].data=aD.data}else{aD.data=aE[aB]}aC.push(aD)}return aC}function aA(aC,aD){var aB=aC[aD+"axis"];if(typeof aB=="object"){aB=aB.n}if(typeof aB!="number"){aB=1}return aB}function m(){return c.grep(p.concat(aw),function(aB){return aB})}function C(aE){var aC={},aB,aD;for(aB=0;aB<p.length;++aB){aD=p[aB];if(aD&&aD.used){aC["x"+aD.n]=aD.c2p(aE.left)}}for(aB=0;aB<aw.length;++aB){aD=aw[aB];if(aD&&aD.used){aC["y"+aD.n]=aD.c2p(aE.top)}}if(aC.x1!==undefined){aC.x=aC.x1}if(aC.y1!==undefined){aC.y=aC.y1}return aC}function ar(aF){var aD={},aC,aE,aB;for(aC=0;aC<p.length;++aC){aE=p[aC];if(aE&&aE.used){aB="x"+aE.n;if(aF[aB]==null&&aE.n==1){aB="x"}if(aF[aB]!=null){aD.left=aE.p2c(aF[aB]);break}}}for(aC=0;aC<aw.length;++aC){aE=aw[aC];if(aE&&aE.used){aB="y"+aE.n;if(aF[aB]==null&&aE.n==1){aB="y"}if(aF[aB]!=null){aD.top=aE.p2c(aF[aB]);break}}}return aD}function V(aC,aB){if(!aC[aB-1]){aC[aB-1]={n:aB,direction:aC==p?"x":"y",options:c.extend(true,{},aC==p?O.xaxis:O.yaxis)}}return aC[aB-1]}function ax(){var aG;var aM=Q.length,aB=[],aE=[];for(aG=0;aG<Q.length;++aG){var aJ=Q[aG].color;if(aJ!=null){--aM;if(typeof aJ=="number"){aE.push(aJ)}else{aB.push(c.color.parse(Q[aG].color))}}}for(aG=0;aG<aE.length;++aG){aM=Math.max(aM,aE[aG]+1)}var aC=[],aF=0;aG=0;while(aC.length<aM){var aI;if(O.colors.length==aG){aI=c.color.make(100,100,100)}else{aI=c.color.parse(O.colors[aG])}var aD=aF%2==1?-1:1;aI.scale("rgb",1+aD*Math.ceil(aF/2)*0.2);aC.push(aI);++aG;if(aG>=O.colors.length){aG=0;++aF}}var aH=0,aN;for(aG=0;aG<Q.length;++aG){aN=Q[aG];if(aN.color==null){aN.color=aC[aH].toString();++aH}else{if(typeof aN.color=="number"){aN.color=aC[aN.color].toString()}}if(aN.lines.show==null){var aL,aK=true;for(aL in aN){if(aN[aL]&&aN[aL].show){aK=false;break}}if(aK){aN.lines.show=true}}aN.xaxis=V(p,aA(aN,"x"));aN.yaxis=V(aw,aA(aN,"y"))}}function z(){var aO=Number.POSITIVE_INFINITY,aI=Number.NEGATIVE_INFINITY,aB=Number.MAX_VALUE,aU,aS,aR,aN,aD,aJ,aT,aP,aH,aG,aC,a0,aX,aL;function aF(a3,a2,a1){if(a2<a3.datamin&&a2!=-aB){a3.datamin=a2}if(a1>a3.datamax&&a1!=aB){a3.datamax=a1}}c.each(m(),function(a1,a2){a2.datamin=aO;a2.datamax=aI;a2.used=false});for(aU=0;aU<Q.length;++aU){aJ=Q[aU];aJ.datapoints={points:[]};an(ak.processRawData,[aJ,aJ.data,aJ.datapoints])}for(aU=0;aU<Q.length;++aU){aJ=Q[aU];var aZ=aJ.data,aW=aJ.datapoints.format;if(!aW){aW=[];aW.push({x:true,number:true,required:true});aW.push({y:true,number:true,required:true});if(aJ.bars.show||(aJ.lines.show&&aJ.lines.fill)){aW.push({y:true,number:true,required:false,defaultValue:0});if(aJ.bars.horizontal){delete aW[aW.length-1].y;aW[aW.length-1].x=true}}aJ.datapoints.format=aW}if(aJ.datapoints.pointsize!=null){continue}aJ.datapoints.pointsize=aW.length;aP=aJ.datapoints.pointsize;aT=aJ.datapoints.points;insertSteps=aJ.lines.show&&aJ.lines.steps;aJ.xaxis.used=aJ.yaxis.used=true;for(aS=aR=0;aS<aZ.length;++aS,aR+=aP){aL=aZ[aS];var aE=aL==null;if(!aE){for(aN=0;aN<aP;++aN){a0=aL[aN];aX=aW[aN];if(aX){if(aX.number&&a0!=null){a0=+a0;if(isNaN(a0)){a0=null}else{if(a0==Infinity){a0=aB}else{if(a0==-Infinity){a0=-aB}}}}if(a0==null){if(aX.required){aE=true}if(aX.defaultValue!=null){a0=aX.defaultValue}}}aT[aR+aN]=a0}}if(aE){for(aN=0;aN<aP;++aN){a0=aT[aR+aN];if(a0!=null){aX=aW[aN];if(aX.x){aF(aJ.xaxis,a0,a0)}if(aX.y){aF(aJ.yaxis,a0,a0)}}aT[aR+aN]=null}}else{if(insertSteps&&aR>0&&aT[aR-aP]!=null&&aT[aR-aP]!=aT[aR]&&aT[aR-aP+1]!=aT[aR+1]){for(aN=0;aN<aP;++aN){aT[aR+aP+aN]=aT[aR+aN]}aT[aR+1]=aT[aR-aP+1];aR+=aP}}}}for(aU=0;aU<Q.length;++aU){aJ=Q[aU];an(ak.processDatapoints,[aJ,aJ.datapoints])}for(aU=0;aU<Q.length;++aU){aJ=Q[aU];aT=aJ.datapoints.points,aP=aJ.datapoints.pointsize;var aK=aO,aQ=aO,aM=aI,aV=aI;for(aS=0;aS<aT.length;aS+=aP){if(aT[aS]==null){continue}for(aN=0;aN<aP;++aN){a0=aT[aS+aN];aX=aW[aN];if(!aX||a0==aB||a0==-aB){continue}if(aX.x){if(a0<aK){aK=a0}if(a0>aM){aM=a0}}if(aX.y){if(a0<aQ){aQ=a0}if(a0>aV){aV=a0}}}}if(aJ.bars.show){var aY=aJ.bars.align=="left"?0:-aJ.bars.barWidth/2;if(aJ.bars.horizontal){aQ+=aY;aV+=aY+aJ.bars.barWidth}else{aK+=aY;aM+=aY+aJ.bars.barWidth}}aF(aJ.xaxis,aK,aM);aF(aJ.yaxis,aQ,aV)}c.each(m(),function(a1,a2){if(a2.datamin==aO){a2.datamin=null}if(a2.datamax==aI){a2.datamax=null}})}function j(aB,aC){var aD=document.createElement("canvas");aD.className=aC;aD.width=G;aD.height=I;if(!aB){c(aD).css({position:"absolute",left:0,top:0})}c(aD).appendTo(av);if(!aD.getContext){aD=window.G_vmlCanvasManager.initElement(aD)}aD.getContext("2d").save();return aD}function B(){G=av.width();I=av.height();if(G<=0||I<=0){throw"Invalid dimensions for plot, width = "+G+", height = "+I}}function g(aC){if(aC.width!=G){aC.width=G}if(aC.height!=I){aC.height=I}var aB=aC.getContext("2d");aB.restore();aB.save()}function X(){var aC,aB=av.children("canvas.base"),aD=av.children("canvas.overlay");if(aB.length==0||aD==0){av.html("");av.css({padding:0});if(av.css("position")=="static"){av.css("position","relative")}B();az=j(true,"base");ad=j(false,"overlay");aC=false}else{az=aB.get(0);ad=aD.get(0);aC=true}H=az.getContext("2d");A=ad.getContext("2d");y=c([ad,az]);if(aC){av.data("plot").shutdown();aq.resize();A.clearRect(0,0,G,I);y.unbind();av.children().not([az,ad]).remove()}av.data("plot",aq)}function ah(){if(O.grid.hoverable){y.mousemove(aa);y.mouseleave(l)}if(O.grid.clickable){y.click(R)}an(ak.bindEvents,[y])}function ag(){if(M){clearTimeout(M)}y.unbind("mousemove",aa);y.unbind("mouseleave",l);y.unbind("click",R);an(ak.shutdown,[y])}function r(aG){function aC(aH){return aH}var aF,aB,aD=aG.options.transform||aC,aE=aG.options.inverseTransform;if(aG.direction=="x"){aF=aG.scale=h/Math.abs(aD(aG.max)-aD(aG.min));aB=Math.min(aD(aG.max),aD(aG.min))}else{aF=aG.scale=w/Math.abs(aD(aG.max)-aD(aG.min));aF=-aF;aB=Math.max(aD(aG.max),aD(aG.min))}if(aD==aC){aG.p2c=function(aH){return(aH-aB)*aF}}else{aG.p2c=function(aH){return(aD(aH)-aB)*aF}}if(!aE){aG.c2p=function(aH){return aB+aH/aF}}else{aG.c2p=function(aH){return aE(aB+aH/aF)}}}function L(aD){var aB=aD.options,aF,aJ=aD.ticks||[],aI=[],aE,aK=aB.labelWidth,aG=aB.labelHeight,aC;function aH(aM,aL){return c('<div style="position:absolute;top:-10000px;'+aL+'font-size:smaller"><div class="'+aD.direction+"Axis "+aD.direction+aD.n+'Axis">'+aM.join("")+"</div></div>").appendTo(av)}if(aD.direction=="x"){if(aK==null){aK=Math.floor(G/(aJ.length>0?aJ.length:1))}if(aG==null){aI=[];for(aF=0;aF<aJ.length;++aF){aE=aJ[aF].label;if(aE){aI.push('<div class="tickLabel" style="float:left;width:'+aK+'px">'+aE+"</div>")}}if(aI.length>0){aI.push('<div style="clear:left"></div>');aC=aH(aI,"width:10000px;");aG=aC.height();aC.remove()}}}else{if(aK==null||aG==null){for(aF=0;aF<aJ.length;++aF){aE=aJ[aF].label;if(aE){aI.push('<div class="tickLabel">'+aE+"</div>")}}if(aI.length>0){aC=aH(aI,"");if(aK==null){aK=aC.children().width()}if(aG==null){aG=aC.find("div.tickLabel").height()}aC.remove()}}}if(aK==null){aK=0}if(aG==null){aG=0}aD.labelWidth=aK;aD.labelHeight=aG}function au(aD){var aC=aD.labelWidth,aL=aD.labelHeight,aH=aD.options.position,aF=aD.options.tickLength,aG=O.grid.axisMargin,aJ=O.grid.labelMargin,aK=aD.direction=="x"?p:aw,aE;var aB=c.grep(aK,function(aN){return aN&&aN.options.position==aH&&aN.reserveSpace});if(c.inArray(aD,aB)==aB.length-1){aG=0}if(aF==null){aF="full"}var aI=c.grep(aK,function(aN){return aN&&aN.reserveSpace});var aM=c.inArray(aD,aI)==0;if(!aM&&aF=="full"){aF=5}if(!isNaN(+aF)){aJ+=+aF}if(aD.direction=="x"){aL+=aJ;if(aH=="bottom"){q.bottom+=aL+aG;aD.box={top:I-q.bottom,height:aL}}else{aD.box={top:q.top+aG,height:aL};q.top+=aL+aG}}else{aC+=aJ;if(aH=="left"){aD.box={left:q.left+aG,width:aC};q.left+=aC+aG}else{q.right+=aC+aG;aD.box={left:G-q.right,width:aC}}}aD.position=aH;aD.tickLength=aF;aD.box.padding=aJ;aD.innermost=aM}function U(aB){if(aB.direction=="x"){aB.box.left=q.left;aB.box.width=h}else{aB.box.top=q.top;aB.box.height=w}}function t(){var aC,aE=m();c.each(aE,function(aF,aG){aG.show=aG.options.show;if(aG.show==null){aG.show=aG.used}aG.reserveSpace=aG.show||aG.options.reserveSpace;n(aG)});allocatedAxes=c.grep(aE,function(aF){return aF.reserveSpace});q.left=q.right=q.top=q.bottom=0;if(O.grid.show){c.each(allocatedAxes,function(aF,aG){S(aG);P(aG);ap(aG,aG.ticks);L(aG)});for(aC=allocatedAxes.length-1;aC>=0;--aC){au(allocatedAxes[aC])}var aD=O.grid.minBorderMargin;if(aD==null){aD=0;for(aC=0;aC<Q.length;++aC){aD=Math.max(aD,Q[aC].points.radius+Q[aC].points.lineWidth/2)}}for(var aB in q){q[aB]+=O.grid.borderWidth;q[aB]=Math.max(aD,q[aB])}}h=G-q.left-q.right;w=I-q.bottom-q.top;c.each(aE,function(aF,aG){r(aG)});if(O.grid.show){c.each(allocatedAxes,function(aF,aG){U(aG)});k()}o()}function n(aE){var aF=aE.options,aD=+(aF.min!=null?aF.min:aE.datamin),aB=+(aF.max!=null?aF.max:aE.datamax),aH=aB-aD;if(aH==0){var aC=aB==0?1:0.01;if(aF.min==null){aD-=aC}if(aF.max==null||aF.min!=null){aB+=aC}}else{var aG=aF.autoscaleMargin;if(aG!=null){if(aF.min==null){aD-=aH*aG;if(aD<0&&aE.datamin!=null&&aE.datamin>=0){aD=0}}if(aF.max==null){aB+=aH*aG;if(aB>0&&aE.datamax!=null&&aE.datamax<=0){aB=0}}}}aE.min=aD;aE.max=aB}function S(aG){var aM=aG.options;var aH;if(typeof aM.ticks=="number"&&aM.ticks>0){aH=aM.ticks}else{aH=0.3*Math.sqrt(aG.direction
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLElement.cpp671 const AtomicString& direction = fastGetAttribute(dirAttr); local
672 return (isHTMLBDIElement(*this) && direction == nullAtom) || equalIgnoringCase(direction, "auto");
748 if (renderer() && renderer()->style() && renderer()->style()->direction() != textDirection) {
766 if (renderer() && renderer()->style() && renderer()->style()->direction() != textDirection)
H A DHTMLTextFormControlElement.cpp181 void HTMLTextFormControlElement::setSelectionDirection(const String& direction) argument
183 setSelectionRange(selectionStart(), selectionEnd(), direction); local
270 TextFieldSelectionDirection direction = SelectionHasNoDirection; local
272 direction = SelectionHasForwardDirection;
274 direction = SelectionHasBackwardDirection;
276 if (direction == SelectionHasNoDirection && document().frame() && document().frame()->editor().behavior().shouldConsiderSelectionAsDirectional())
277 direction = SelectionHasForwardDirection;
279 return setSelectionRange(start, end, direction);
348 void HTMLTextFormControlElement::setSelectionRange(int start, int end, TextFieldSelectionDirection direction, SelectionOption selectionOption) argument
357 cacheSelection(start, end, direction);
453 directionString(TextFieldSelectionDirection direction) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/
H A DVTTCue.cpp151 // the 'direction' property must be set to direction
279 WritingDirection direction = m_writingDirection; local
281 direction = Horizontal;
283 direction = VerticalGrowingLeft;
285 direction = VerticalGrowingRight;
289 if (direction == m_writingDirection)
293 m_writingDirection = direction;
559 // 10.4 If the text track cue writing direction is horizontal, then let
560 // block-flow be 'tb'. Otherwise, if the text track cue writing direction i
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DInlineBox.h236 // The logical width is our extent in the line's overall inline direction, i.e., width for horizontal text and height for vertical text.
240 // The logical height is our extent in the block flow direction, i.e., height for horizontal text and width for vertical text.
253 TextDirection direction() const { return bidiLevel() % 2 ? RTL : LTR; } function in class:blink::InlineBox
254 bool isLeftToRightDirection() const { return direction() == LTR; }
H A DInlineIterator.h102 ALWAYS_INLINE WTF::Unicode::Direction direction() const;
154 observer->embed(embedCharFromDirection(style->direction(), unicodeBidi), FromStyleOrDOM);
426 ALWAYS_INLINE WTF::Unicode::Direction InlineIterator::direction() const function in class:blink::InlineIterator
429 return WTF::Unicode::direction(c);
496 inline BidiRun* InlineBidiResolver::addTrailingRun(BidiRunList<BidiRun>& runs, int start, int stop, BidiRun* run, BidiContext* context, TextDirection direction) const
499 if (direction == LTR)
/external/chromium_org/third_party/WebKit/Source/core/rendering/line/
H A DBreakingContextInlineHeaders.h507 style->hyphenString().string(), style, style->direction()));
510 ALWAYS_INLINE TextDirection textDirectionFromUnicode(WTF::Unicode::Direction direction) argument
512 return direction == WTF::Unicode::RightToLeft
513 || direction == WTF::Unicode::RightToLeftArabic ? RTL : LTR;
520 return text->width(from, len, font, xPos, text->style()->direction(), fallbackFonts, &glyphOverflow);
597 font.width(constructTextRun(renderText, font, &space, 1, style, style->direction())) + wordSpacing
612 hyphenWidth = measureHyphenWidth(renderText, font, textDirectionFromUnicode(m_resolver.position().direction()));
/external/chromium_org/third_party/WebKit/Source/platform/text/
H A DBidiResolver.h136 // Creates a BidiStatus representing a new paragraph root with a default direction.
140 WTF::Unicode::Direction direction = textDirection == LTR ? WTF::Unicode::LeftToRight : WTF::Unicode::RightToLeft; local
141 eor = lastStrong = last = direction;
142 context = BidiContext::create(textDirection == LTR ? 0 : 1, direction, isOverride);
161 BidiEmbedding(WTF::Unicode::Direction direction, BidiEmbeddingSource source) argument
162 : m_direction(direction)
167 WTF::Unicode::Direction direction() const { return m_direction; } function in class:blink::BidiEmbedding
510 if (embedding.direction() == PopDirectionalFormat) {
514 Direction direction = (embedding.direction() local
[all...]

Completed in 610 milliseconds

<<11121314151617