/external/llvm/test/MC/Mips/mips2/ |
valid.s | 28 ceil.w.d $f11,$f25 29 ceil.w.s $f6,$f20
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/ |
SyncSampleIntersectFinderImpl.java | 107 long start = (long) Math.ceil(stretch * (refSyncSamples[i] - 1) * samplesPerFrame); 141 long start = (long) Math.ceil(stretch * (refSyncSamples[i] - 1)) + 1;
|
/external/pixman/demos/ |
scale.c | 250 app->scaled_width = ceil (new_width); 251 app->scaled_height = ceil (new_height);
|
/external/valgrind/main/VEX/priv/ |
guest_mips_helpers.c | [all...] |
/frameworks/base/core/java/android/text/ |
BoringLayout.java | 210 mMax = (int) FloatMath.ceil(line.metrics(null)); 304 fm.width = (int) FloatMath.ceil(line.metrics(fm));
|
/frameworks/base/media/java/android/media/ |
Utils.java | 194 return Range.create((int)v, (int)Math.ceil(v)); 198 return Range.create((long)v, (long)Math.ceil(v));
|
/frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/ |
RoundRectDrawableWithShadow.java | 158 int vOffset = (int) Math.ceil(calculateVerticalPadding(mRawMaxShadowSize, mCornerRadius, 160 int hOffset = (int) Math.ceil(calculateHorizontalPadding(mRawMaxShadowSize, mCornerRadius,
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/ |
SensorActivity.java | 283 Integer.toString((int) Math.ceil(1000. / ms)); 295 Integer.toString((int) Math.ceil(1000. / ms));
|
/build/tools/droiddoc/templates-ds/assets/scroller/ |
jquery.jscrollpane.min.js | 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) 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( (…)
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/ |
CameraFormatsActivity.java | 625 int yStride = (int)Math.ceil(w / 16.0) * 16; 626 int uvStride = (int)Math.ceil(yStride / 2 / 16.0) * 16; 741 int yStride = (int)Math.ceil(w / 16.0) * 16; 742 int uvStride = (int)Math.ceil(yStride/2/16.0) * 16;
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
AllocationTest.java | 203 xTile = (int)Math.ceil(xNorm * wFull); 204 yTile = (int)Math.ceil(yNorm * hFull); 206 wTile = (int)Math.ceil(wNorm * wFull); 207 hTile = (int)Math.ceil(hNorm * hFull); [all...] |
/external/chromium_org/base/debug/ |
crash_logging.cc | 39 return std::ceil(length / static_cast<float>(g_chunk_max_length_));
|
/external/chromium_org/chrome/browser/resources/print_preview/ |
print_header.js | 165 numSheets = Math.ceil(numPages / 2);
|
/external/chromium_org/chrome/browser/ui/webui/ |
favicon_source.cc | 83 std::ceil(parsed.size_in_dip * parsed.device_scale_factor);
|
/external/chromium_org/media/base/ |
audio_buffer_converter.cc | 177 ceil((buffered_input_frames_ + input_frames_) / io_sample_rate_ratio_);
|
audio_buffer_converter_unittest.cc | 82 EXPECT_EQ(output_frames_, ceil(expected_output_frames_));
|
/external/chromium_org/media/tools/constrained_network_server/ |
traffic_control_test.py | 78 class_detail = ('class htb 1:%x root prio 0 rate %dKbit ceil %dKbit' %
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
TouchDisambiguation.cpp | 93 int touchPointPadding = ceil(std::max(touchBox.width(), touchBox.height()) * 0.5);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
RasterShape.cpp | 145 int shapeMarginInt = clampToPositiveInteger(ceil(shapeMargin()));
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/timeline/ |
TimelineEventOverview.js | 94 var recordEnd = Math.ceil((record.endTime() - timeOffset) * scale);
|
/external/chromium_org/third_party/WebKit/Source/web/mac/ |
WebSubstringUtil.mm | 144 stringPoint.move(0, ceil(-[font descender]));
|
/external/chromium_org/third_party/icu/source/test/perf/howExpensiveIs/ |
sieve.cpp | 83 double ce = ceil(i);
|
/external/chromium_org/third_party/icu/source/tools/tzcode/ |
private.h | 291 #define SECSPERREPEAT_BITS 34 /* ceil(log2(SECSPERREPEAT)) */
|
/external/chromium_org/third_party/libvpx/source/libvpx/test/ |
idct8x8_test.cc | 29 return static_cast<int>(ceil(x - 0.5));
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
imports.h | 122 #define ceilf(f) ((float) ceil(f)) 272 #define CEILF(x) ((GLfloat) ceil(x)) 397 * IEEE ceil for computers that round to nearest or even. 399 * This ceil operation is done by "(iround(f + .5) + iround(f - .5) + 1) >> 1",
|