HomeSort by relevance Sort by last modified time
    Searched defs:contentWidth (Results 1 - 25 of 51) sorted by null

1 2 3

  /external/webkit/Source/WebCore/rendering/
RenderApplet.cpp 66 int contentWidth = style()->width().isFixed() ? style()->width().value() :
80 setWidget(frame->loader()->subframeLoader()->createJavaAppletWidget(IntSize(contentWidth, contentHeight), element, m_args));
RenderMarquee.cpp 119 int contentWidth = ltr ? box->maxXLayoutOverflow() : box->minXLayoutOverflow();
121 contentWidth += (box->paddingRight() - box->borderLeft());
123 contentWidth = box->width() - contentWidth;
124 contentWidth += (box->paddingLeft() - box->borderRight());
128 return max(0, ltr ? (contentWidth - clientWidth) : (clientWidth - contentWidth));
130 return ltr ? contentWidth : clientWidth;
134 return min(0, ltr ? (contentWidth - clientWidth) : (clientWidth - contentWidth));
    [all...]
RenderBox.h 117 IntRect contentBoxRect() const { return IntRect(borderLeft() + paddingLeft(), borderTop() + paddingTop(), contentWidth(), contentHeight()); }
165 int contentWidth() const { return clientWidth() - paddingLeft() - paddingRight(); }
167 int contentLogicalWidth() const { return style()->isHorizontalWritingMode() ? contentWidth() : contentHeight(); }
168 int contentLogicalHeight() const { return style()->isHorizontalWritingMode() ? contentHeight() : contentWidth(); }
  /frameworks/base/core/java/android/webkit/
ViewStateSerializer.java 58 int contentWidth = dis.readInt();
65 draw.mContentSize = new Point(contentWidth, contentHeight);
WebViewClassic.java     [all...]
  /frameworks/base/core/java/com/android/internal/widget/
TextProgressBar.java 151 int contentWidth = mProgressBar.getWidth() - (params.leftMargin + params.rightMargin);
152 int leadingEdge = ((contentWidth * mProgressBar.getProgress()) /
166 int rightLimit = contentWidth - params.rightMargin - textWidth;
ActionBarContextView.java 336 final int contentWidth = MeasureSpec.getSize(widthMeasureSpec);
342 int availableWidth = contentWidth - getPaddingLeft() - getPaddingRight();
396 setMeasuredDimension(contentWidth, measuredHeight);
398 setMeasuredDimension(contentWidth, maxHeight);
ActionBarView.java     [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
ActionBarContextView.java 307 final int contentWidth = View.MeasureSpec.getSize(widthMeasureSpec);
313 int availableWidth = contentWidth - getPaddingLeft() - getPaddingRight();
370 setMeasuredDimension(contentWidth, measuredHeight);
372 setMeasuredDimension(contentWidth, maxHeight);
ActivityChooserView.java 352 final int contentWidth = Math.min(mAdapter.measureContentWidth(), mListPopupMaxWidth);
353 popupWindow.setContentWidth(contentWidth);
740 int contentWidth = 0;
750 contentWidth = Math.max(contentWidth, itemView.getMeasuredWidth());
755 return contentWidth;
ActionBarView.java 840 int contentWidth = MeasureSpec.getSize(widthMeasureSpec);
851 int availableWidth = contentWidth - paddingLeft - paddingRight;
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
TiledTexture.java 117 public int contentWidth;
122 contentWidth = width;
278 src.set(0, 0, t.contentWidth, t.contentHeight);
297 src.set(0, 0, t.contentWidth, t.contentHeight);
320 src.set(0, 0, t.contentWidth, t.contentHeight);
  /packages/apps/Launcher2/src/com/android/launcher2/
AppsCustomizeTabHost.java 150 int contentWidth = mAppsCustomizePane.getPageContentWidth();
151 if (contentWidth > 0 && mTabs.getLayoutParams().width != contentWidth) {
153 mTabs.getLayoutParams().width = contentWidth;
AppsCustomizePagedView.java     [all...]
  /frameworks/base/core/java/android/widget/
ActivityChooserView.java 346 final int contentWidth = Math.min(mAdapter.measureContentWidth(), mListPopupMaxWidth);
347 popupWindow.setContentWidth(contentWidth);
734 int contentWidth = 0;
744 contentWidth = Math.max(contentWidth, itemView.getMeasuredWidth());
749 return contentWidth;
HorizontalScrollView.java     [all...]
Spinner.java     [all...]
  /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);
11 })}function an(){var aJ,aI,aL,aK,aM,s=false;al.unbind("touchstart.jsp touchmove.jsp touchend.jsp click.jsp-touchclick").bind("touchstart.jsp",function(aN){var aO=aN.originalEvent.touches[0];aJ=aC();aI=aA();aL=aO.pageX;aK=aO.pageY;aM=false;s=true}).bind("touchmove.jsp",function(aQ){if(!s){return}var aP=aQ.originalEvent.touches[0],aO=aa,aN=I;Q.scrollTo(aJ+aL-aP.pageX,aI+aK-aP.pageY);aM=aM||Math.abs(aL-aP.pageX)>5||Math.abs(aK-aP.pageY)>5;return aO==aa&&aN==I}).bind("touchend.jsp",function(aN){s=false}).bind("click.jsp-touchclick",function(aN){if(aM){aM=false;return false}})}function g(){var s=aA(),aI=aC();D.removeClass("jspScrollable").unbind(".jsp");D.replaceWith(ao.append(Y.children()));ao.scrollTop(s);ao.scrollLeft(aI);if(av){clearInterval(av)}}b.extend(Q,{reinitialise:function(aI){aI=b.extend({},ay,aI);ar(aI)},scrollToElement:function(aJ,aI,s){ab(aJ,aI,s)},scrollTo:function(aJ,s,aI){N(aJ,aI);M(s,aI)},scrollToX:function(aI,s){N(aI,s)},scrollToY:function(s,aI){M(s,aI)},scrollToPercentX:function(aI,s){N(aI*(T-aj),s)},scrollToPercentY:function(aI,s){M(aI*(Z-v),s)},scrollBy:function(aI,s,aJ){Q.scrollByX(aI,aJ);Q.scrollByY(s,aJ)},scrollByX:function(s,aJ){var aI=aC()+Math[s<0?"floor":"ceil"](s),aK=aI/(T-aj);W(aK*j,aJ)},scrollByY:function(s,aJ){var aI=aA()+Math[s<0?"floor":"ceil"](s),aK=aI/(Z-v);V(aK*i,aJ)},positionDragX:function(s,aI){W(s,aI)},positionDragY:function(aI,s){V(aI,s)},animate:function(aI,aL,s,aK){var aJ={};aJ[aL]=s;aI.animate(aJ,{duration:ay.animateDuration,easing:ay.animateEase,queue:false,step:aK})},getContentPositionX:function(){return aC()},getContentPositionY:function(){return aA()},getContentWidth:function(){return T},getContentHeight:function(){return Z},getPercentScrolledX:function(){return aC()/(T-aj)},getPercentScrolledY:function(){return aA()/(Z-v)},getIsScrollableH:function(){return aE},getIsScrollableV:function(){return az},getContentPane:function(){return Y},scrollToBottom:function(s){V(i,s)},hijackInternalLinks:b.noop,destroy:function(){g()}});ar(O)}e=b.extend({},b.fn.jScrollPane.defaults,e);b.each(["mouseWheelSpeed","arrowButtonSpeed","trackClickSpeed","keyboardSpeed"],function(){e[this]=e[this]||e.speed});return this.each(function(){var f=b(this),g=f.data("jsp");if(g){g.reinitialise(e)}else{g=new d(f,e);f.data("jsp",g)}})};b.fn.jScrollPane.defaults={showArrows:false,maintainPosition:true,stickToBottom:false,stickToRight:false,clickOnTrack:true,autoReinitialise:false,autoReinitialiseDelay:500,verticalDragMinHeight:0,verticalDragMaxHeight:99999,horizontalDragMinWidth:0,horizontalDragMaxWidth:99999,contentWidth:c,animateScroll:false,animateDuration:300,animateEase:"linear",hijackInternalLinks:false,verticalG (…)
  /external/webkit/Source/WebCore/platform/chromium/
PopupMenuChromium.cpp     [all...]
  /frameworks/support/v4/java/android/support/v4/view/
PagerTitleStrip.java 354 final int contentWidth = stripWidth - textPaddedLeft - textPaddedRight;
360 final int currCenter = stripWidth - textPaddedRight - (int) (contentWidth * currOffset);
  /packages/apps/Browser/src/com/android/browser/view/
ScrollerView.java     [all...]
  /packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
HorizontalScrollView.java     [all...]
  /packages/apps/Browser/src/com/android/browser/
Controller.java     [all...]
  /development/samples/training/basic/ActivityLifecycle/libs/
android-support-v13.jar 
  /prebuilts/devtools/tools/lib/
hierarchyviewer2lib.jar 

Completed in 408 milliseconds

1 2 3