OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:innerWidth
(Results
1 - 25
of
63
) sorted by null
1
2
3
/external/chromium_org/third_party/WebKit/PerformanceTests/Interactive/resources/
window-resize.js
5
var portrait = { width: window.
innerWidth
, height: window.innerHeight };
6
var landscape = { width: window.innerHeight, height: window.
innerWidth
};
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
BorderEdge.h
24
void getDoubleBorderStripeWidths(int& outerWidth, int&
innerWidth
) const;
BorderEdge.cpp
65
void BorderEdge::getDoubleBorderStripeWidths(int& outerWidth, int&
innerWidth
) const
69
innerWidth
= fullWidth * 2 / 3;
76
innerWidth
+= 1;
/external/chromium_org/third_party/skia/src/images/
SkImageDecoder_libgif.cpp
280
const int
innerWidth
= desc.Width;
282
if (
innerWidth
<= 0 || innerHeight <= 0) {
287
if (
innerWidth
> width) {
289
width =
innerWidth
;
291
} else if (imageLeft +
innerWidth
> width) {
293
imageLeft = width -
innerWidth
;
374
if (
innerWidth
<= 0 || innerHeight <= 0) {
380
SkAutoMalloc storage(
innerWidth
);
390
innerWidth
< width || innerHeight < height) {
397
innerWidth
/ sampler.srcDX()
[
all
...]
/external/skia/src/images/
SkImageDecoder_libgif.cpp
281
const int
innerWidth
= desc.Width;
283
if (
innerWidth
<= 0 || innerHeight <= 0) {
288
if (
innerWidth
> width) {
290
width =
innerWidth
;
292
} else if (imageLeft +
innerWidth
> width) {
294
imageLeft = width -
innerWidth
;
375
if (
innerWidth
<= 0 || innerHeight <= 0) {
381
SkAutoMalloc storage(
innerWidth
);
391
innerWidth
< width || innerHeight < height) {
398
innerWidth
/ sampler.srcDX()
[
all
...]
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
externs.js
6
Document.prototype.documentElement.
innerWidth
;
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
RootView.js
29
var right = Math.min(0, window.
innerWidth
- size.width / zoom);
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
TileDrawable.java
44
public TileDrawable(Drawable inner, int
innerWidth
, int innerHeight, int fadeOutDurationMs,
48
mInnerWidth =
innerWidth
;
/external/chromium_org/tools/telemetry/telemetry/page/actions/
pinch.py
61
'window.outerWidth / window.
innerWidth
')
gesture_common.js
43
var outsideWidth = (rect.left + rect.width) - window.
innerWidth
;
tap.js
53
if (position_left < 0 || position_left >= window.
innerWidth
||
scroll.js
72
clientWidth = window.
innerWidth
;
/frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/
CardViewEclairMr1.java
40
final float
innerWidth
= bounds.width() - twoRadius - 1;
49
canvas.translate(
innerWidth
, 0);
55
canvas.translate(
innerWidth
, 0);
/external/chromium_org/remoting/webapp/browser_test/
bump_scroll_browser_test.js
83
window.
innerWidth
+ this.kHostDesktopSizeDelta;
92
window.
innerWidth
- this.kHostDesktopSizeDelta;
121
// resized, so defer fulfilling the promise so that
innerWidth
/external/chromium_org/chrome/browser/resources/pdf/
viewport.js
111
horizontal: documentWidth > this.window_.
innerWidth
,
186
width: this.window_.
innerWidth
- scrollbarWidth,
227
(this.window_.pageXOffset + this.window_.
innerWidth
/ 2) / oldZoom,
233
currentScrollPos[0] * newZoom - this.window_.
innerWidth
/ 2,
334
var zoomWidth = this.window_.
innerWidth
/ pageDimensions.width;
361
zoomedDimensions.width > this.window_.
innerWidth
- scrollbarWidth) {
367
width: this.window_.
innerWidth
,
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
AwLegacyQuirksTest.java
153
float
innerWidth
= Integer.parseInt(
154
executeJavaScriptAndWaitForResult(awContents, contentClient, "
innerWidth
"));
155
assertEquals(
innerWidth
* dipScale, outerWidth, 10f);
/build/tools/droiddoc/templates-ds/assets/scroller/
jquery.jscrollpane.min.js
8
(function(b,a,c){b.fn.jScrollPane=function(e){function d(D,O){var ay,Q=this,Y,aj,v,al,T,Z,y,q,az,aE,au,i,I,h,j,aa,U,ap,X,t,A,aq,af,am,G,l,at,ax,x,av,aH,f,L,ai=true,P=true,aG=false,k=false,ao=D.clone(false,false).empty(),ac=b.fn.mwheelIntent?"mwheelIntent.jsp":"mousewheel.jsp";aH=D.css("paddingTop")+" "+D.css("paddingRight")+" "+D.css("paddingBottom")+" "+D.css("paddingLeft");f=(parseInt(D.css("paddingLeft"),10)||0)+(parseInt(D.css("paddingRight"),10)||0);function ar(aQ){var aL,aN,aM,aJ,aI,aP,aO=false,aK=false;ay=aQ;if(Y===c){aI=D.scrollTop();aP=D.scrollLeft();D.css({overflow:"hidden",padding:0});aj=D.
innerWidth
()+f;v=D.innerHeight();D.width(aj);Y=b('<div class="jspPane" />').css("padding",aH).append(D.children());al=b('<div class="jspContainer" />').css({width:aj+"px",height:v+"px"}).append(Y).appendTo(D)}else{D.css("width","");aO=ay.stickToBottom&&K();aK=ay.stickToRight&&B();aJ=D.
innerWidth
()+f!=aj||D.outerHeight()!=v;if(aJ){aj=D.
innerWidth
()+f;v=D.innerHeight();al.css({width:aj+"px",height:v+"px"})}if(!aJ&&L==T&&Y.outerHeight()==Z){D.width(aj);return}L=T;Y.css("width","");D.width(aj);al.find(">.jspVerticalBar,>.jspHorizontalBar").remove().end()}Y.css("overflow","auto");if(aQ.contentWidth){T=aQ.contentWidth}else{T=Y[0].scrollWidth}Z=Y[0].scrollHeight;Y.css("overflow","");y=T/aj;q=Z/v;az=q>1;aE=y>1;if(!(aE||az)){D.removeClass("jspScrollable");Y.css({top:0,width:al.width()-f});n();E();R();w()}else{D.addClass("jspScrollable");aL=ay.maintainPosition&&(I||aa);if(aL){aN=aC();aM=aA()}aF();z();F();if(aL){N(aK?(T-aj):aN,false);M(aO?(Z-v):aM,false)}J();ag();an();if(ay.enableKeyboardNavigation){S()}if(ay.clickOnTrack){p()}C();if(ay.hijackInternalLinks){m()}}if(ay.autoReinitialise&&!av){av=setInterval(function(){ar(ay)},ay.autoReinitialiseDelay)}else{if(!ay.autoReinitialise&&av){clearInterval(av)}}aI&&D.scrollTop(0)&&M(aI,false);aP&&D.scrollLeft(0)&&N(aP,false);D.trigger("jsp-initialised",[aE||az])}function aF(){if(az){al.append(b('<div class="jspVerticalBar" />').append(b('<div class="jspCap jspCapTop" />'),b('<div class="jspTrack" />').append(b('<div class="jspDrag" />').append(b('<div class="jspDragTop" />'),b('<div class="jspDragBottom" />'))),b('<div class="jspCap jspCapBottom" />')));U=al.find(">.jspVerticalBar");ap=U.find(">.jspTrack");au=ap.find(">.jspDrag");if(ay.showArrows){aq=b('<a class="jspArrow jspArrowUp" />').bind("mousedown.jsp",aD(0,-1)).bind("click.jsp",aB);af=b('<a class="jspArrow jspArrowDown" />').bind("mousedown.jsp",aD(0,1)).bind("click.jsp",aB);if(ay.arrowScrollOnHover){aq.bind("mouseover.jsp",aD(0,-1,aq));af.bind("mouseover.jsp",aD(0,1,af))}ak(ap,ay.verticalArrowPositions,aq,af)}t=v;al.find(">.jspVerticalBar>.jspCap:visible,>.jspVerticalBar>.jspArrow").each(function(){t-=b(this).outerHeight()});au.hover(function(){au.addClass("jspHover")},function(){au.removeClass("jspHover")}).bind("mousedown.jsp",function(aI){b("html").bind("dragstart.jsp selectstart.jsp",aB);au.addClass("jspActive");var s=aI.pageY-au.position().top;b("html").bind("mousemove.jsp",function(aJ){V(aJ.pageY-s,false)}).bind("mouseup.jsp mouseleave.jsp",aw);return false});o()}}function o(){ap.height(t+"px");I=0;X=ay.verticalGutter+ap.outerWidth();Y.width(aj-X-f);try{if(U.position().left===0){Y.css("margin-left",X+"px")}}catch(s){}}function z(){if(aE){al.append(b('<div class="jspHorizontalBar" />').append(b('<div class="jspCap jspCapLeft" />'),b('<div class="jspTrack" />').append(b('<div class="jspDrag" />').append(b('<div class="jspDragLeft" />'),b('<div class="jspDragRight" />'))),b('<div class="jspCap jspCapRight" />')));am=al.find(">.jspHorizontalBar");G=am.find(">.jspTrack");h=G.find(">.jspDrag");if(ay.showArrows){ax=b('<a class="jspArrow jspArrowLeft" />').bind("mousedown.jsp",aD(-1,0)).bind("click.jsp",aB);x=b('<a class="jspArrow jspArrowRight" />').bind("mousedown.jsp",aD(1,0)).bind("click.jsp",aB);
9
if(ay.arrowScrollOnHover){ax.bind("mouseover.jsp",aD(-1,0,ax));x.bind("mouseover.jsp",aD(1,0,x))}ak(G,ay.horizontalArrowPositions,ax,x)}h.hover(function(){h.addClass("jspHover")},function(){h.removeClass("jspHover")}).bind("mousedown.jsp",function(aI){b("html").bind("dragstart.jsp selectstart.jsp",aB);h.addClass("jspActive");var s=aI.pageX-h.position().left;b("html").bind("mousemove.jsp",function(aJ){W(aJ.pageX-s,false)}).bind("mouseup.jsp mouseleave.jsp",aw);return false});l=al.
innerWidth
();ah()}}function ah(){al.find(">.jspHorizontalBar>.jspCap:visible,>.jspHorizontalBar>.jspArrow").each(function(){l-=b(this).outerWidth()});G.width(l+"px");aa=0}function F(){if(aE&&az){var aI=G.outerHeight(),s=ap.outerWidth();t-=aI;b(am).find(">.jspCap:visible,>.jspArrow").each(function(){l+=b(this).outerWidth()});l-=s;v-=s;aj-=aI;G.parent().append(b('<div class="jspCorner" />').css("width",aI+"px"));o();ah()}if(aE){Y.width((al.outerWidth()-f)+"px")}Z=Y.outerHeight();q=Z/v;if(aE){at=Math.ceil(1/y*l);if(at>ay.horizontalDragMaxWidth){at=ay.horizontalDragMaxWidth}else{if(at<ay.horizontalDragMinWidth){at=ay.horizontalDragMinWidth}}h.width(at+"px");j=l-at;ae(aa)}if(az){A=Math.ceil(1/q*t);if(A>ay.verticalDragMaxHeight){A=ay.verticalDragMaxHeight}else{if(A<ay.verticalDragMinHeight){A=ay.verticalDragMinHeight}}au.height(A+"px");i=t-A;ad(I)}}function ak(aJ,aL,aI,s){var aN="before",aK="after",aM;if(aL=="os"){aL=/Mac/.test(navigator.platform)?"after":"split"}if(aL==aN){aK=aL}else{if(aL==aK){aN=aL;aM=aI;aI=s;s=aM}}aJ[aN](aI)[aK](s)}function aD(aI,s,aJ){return function(){H(aI,s,this,aJ);this.blur();return false}}function H(aL,aK,aO,aN){aO=b(aO).addClass("jspActive");var aM,aJ,aI=true,s=function(){if(aL!==0){Q.scrollByX(aL*ay.arrowButtonSpeed)}if(aK!==0){Q.scrollByY(aK*ay.arrowButtonSpeed)}aJ=setTimeout(s,aI?ay.initialDelay:ay.arrowRepeatFreq);aI=false};s();aM=aN?"mouseout.jsp":"mouseup.jsp";aN=aN||b("html");aN.bind(aM,function(){aO.removeClass("jspActive");aJ&&clearTimeout(aJ);aJ=null;aN.unbind(aM)})}function p(){w();if(az){ap.bind("mousedown.jsp",function(aN){if(aN.originalTarget===c||aN.originalTarget==aN.currentTarget){var aL=b(this),aO=aL.offset(),aM=aN.pageY-aO.top-I,aJ,aI=true,s=function(){var aR=aL.offset(),aS=aN.pageY-aR.top-A/2,aP=v*ay.scrollPagePercent,aQ=i*aP/(Z-v);if(aM<0){if(I-aQ>aS){Q.scrollByY(-aP)}else{V(aS)}}else{if(aM>0){if(I+aQ<aS){Q.scrollByY(aP)}else{V(aS)}}else{aK();return}}aJ=setTimeout(s,aI?ay.initialDelay:ay.trackClickRepeatFreq);aI=false},aK=function(){aJ&&clearTimeout(aJ);aJ=null;b(document).unbind("mouseup.jsp",aK)};s();b(document).bind("mouseup.jsp",aK);return false}})}if(aE){G.bind("mousedown.jsp",function(aN){if(aN.originalTarget===c||aN.originalTarget==aN.currentTarget){var aL=b(this),aO=aL.offset(),aM=aN.pageX-aO.left-aa,aJ,aI=true,s=function(){var aR=aL.offset(),aS=aN.pageX-aR.left-at/2,aP=aj*ay.scrollPagePercent,aQ=j*aP/(T-aj);if(aM<0){if(aa-aQ>aS){Q.scrollByX(-aP)}else{W(aS)}}else{if(aM>0){if(aa+aQ<aS){Q.scrollByX(aP)}else{W(aS)}}else{aK();return}}aJ=setTimeout(s,aI?ay.initialDelay:ay.trackClickRepeatFreq);aI=false},aK=function(){aJ&&clearTimeout(aJ);aJ=null;b(document).unbind("mouseup.jsp",aK)};s();b(document).bind("mouseup.jsp",aK);return false}})}}function w(){if(G){G.unbind("mousedown.jsp")}if(ap){ap.unbind("mousedown.jsp")}}function aw(){b("html").unbind("dragstart.jsp selectstart.jsp mousemove.jsp mouseup.jsp mouseleave.jsp");if(au){au.removeClass("jspActive")}if(h){h.removeClass("jspActive")}}function V(s,aI){if(!az){return}if(s<0){s=0}else{if(s>i){s=i}}if(aI===c){aI=ay.animateScroll}if(aI){Q.animate(au,"top",s,ad)}else{au.css("top",s);ad(s)}}function ad(aI){if(aI===c){aI=au.position().top}al.scrollTop(0);I=aI;var aL=I===0,aJ=I==i,aK=aI/i,s=-aK*(Z-v);if(ai!=aL||aG!=aJ){ai=aL;aG=aJ;D.trigger("jsp-arrow-change",[ai,aG,P,k])}u(aL,aJ);Y.css("top",s);D.trigger("jsp-scroll-y",[-s,aL,aJ]).trigger("scroll")}function W(aI,s){if(!aE){return}if(aI<0){aI=0}else{if(aI>j){aI=j}}if(s===c){s=ay.animateScroll}if(s){Q.animate(h,"left",aI,ae)
/external/chromium_org/remoting/webapp/
window_frame.js
131
return { 'height': window.innerHeight, 'width': window.
innerWidth
};
137
'width': window.
innerWidth
- 2 * kBorderWidth
toolbar.js
116
var toolbarX = (window.
innerWidth
- this.toolbar_.clientWidth) / 2;
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/app_launcher/
popup.js
96
var correction = window.
innerWidth
- document.documentElement.clientWidth;
/external/chromium_org/third_party/WebKit/Source/core/frame/
Window.idl
89
[Replaceable] readonly attribute long
innerWidth
;
LocalDOMWindow.h
165
int
innerWidth
() const;
/external/chromium_org/tools/perf/page_sets/tough_canvas_cases/canvas2d_balls_common/
bouncing_balls.js
61
canvasWidth = window.
innerWidth
;
/prebuilts/sdk/current/support/v7/cardview/libs/
android-support-v7-cardview.jar
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-php/
popuplib.js
66
if ('
innerWidth
' in window) {
68
width = window.
innerWidth
;
Completed in 2080 milliseconds
1
2
3