Searched defs:toggle (Results 1 - 25 of 62) sorted by last modified time

123

/external/skia/src/effects/gradients/
H A DSkGradientShaderPriv.h257 static inline int next_dither_toggle(int toggle) { argument
258 return toggle ^ SkGradientShaderBase::kDitherStride32;
265 static inline int next_dither_toggle16(int toggle) { argument
266 return toggle ^ SkGradientShaderBase::kDitherStride16;
H A DSkLinearGradient.cpp104 *dstC++ = cache[toggle + fi]; \
105 toggle = next_dither_toggle(toggle); \
112 int toggle, int count);
120 int toggle, int count) {
128 int index0 = fi + toggle;
143 int toggle, int count) {
149 cache[toggle + range.fV0],
150 cache[next_dither_toggle(toggle) + range.fV0],
171 cache[toggle
117 shadeSpan_linear_vertical_lerp(TileProc proc, SkFixed dx, SkFixed fx, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int toggle, int count) argument
140 shadeSpan_linear_clamp(TileProc proc, SkFixed dx, SkFixed fx, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int toggle, int count) argument
177 shadeSpan_linear_mirror(TileProc proc, SkFixed dx, SkFixed fx, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int toggle, int count) argument
190 shadeSpan_linear_repeat(TileProc proc, SkFixed dx, SkFixed fx, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int toggle, int count) argument
215 int toggle = init_dither_toggle(x, y); local
311 shadeSpan16_linear_vertical(TileProc proc, SkFixed dx, SkFixed fx, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument
359 shadeSpan16_linear_mirror(TileProc proc, SkFixed dx, SkFixed fx, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument
402 int toggle = init_dither_toggle16(x, y); local
[all...]
H A DSkRadialGradient.cpp69 int toggle, int count);
74 int toggle, int count) {
98 *dstC++ = cache[toggle +
100 toggle = next_dither_toggle16(toggle);
110 *dstC++ = cache[toggle +
112 toggle = next_dither_toggle16(toggle);
120 int toggle, int count) {
125 *dstC++ = cache[toggle
71 shadeSpan16_radial_clamp(SkScalar sfx, SkScalar sdx, SkScalar sfy, SkScalar sdy, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument
118 shadeSpan16_radial(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument
132 shadeSpan16_radial_mirror(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument
138 shadeSpan16_radial_repeat(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument
184 int toggle = init_dither_toggle16(x, y); local
315 shadeSpan_radial_clamp(SkScalar sfx, SkScalar sdx, SkScalar sfy, SkScalar sdy, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count, int toggle) argument
378 shadeSpan_radial(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count, int toggle) argument
392 shadeSpan_radial_mirror(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count, int toggle) argument
398 shadeSpan_radial_repeat(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count, int toggle) argument
416 int toggle = init_dither_toggle(x, y); local
[all...]
H A DSkSweepGradient.cpp89 int toggle = init_dither_toggle(x, y); local
111 *dstC++ = cache[toggle + SkATan2_255(fy, fx)];
114 toggle = next_dither_toggle(toggle);
120 *dstC++ = cache[toggle + SkATan2_255(srcPt.fY, srcPt.fX)];
121 toggle = next_dither_toggle(toggle);
131 int toggle = init_dither_toggle16(x, y); local
154 *dstC++ = cache[toggle + index];
155 toggle
[all...]
H A DSkTwoPointConicalGradient.cpp136 const SkPMColor* cache, int toggle, int count);
139 const SkPMColor* SK_RESTRICT cache, int toggle,
148 *dstC++ = cache[toggle +
151 toggle = next_dither_toggle(toggle);
156 const SkPMColor* SK_RESTRICT cache, int toggle,
165 *dstC++ = cache[toggle +
168 toggle = next_dither_toggle(toggle);
173 const SkPMColor* SK_RESTRICT cache, int toggle,
138 twopoint_clamp(TwoPtRadialContext* rec, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int toggle, int count) argument
155 twopoint_repeat(TwoPtRadialContext* rec, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int toggle, int count) argument
172 twopoint_mirror(TwoPtRadialContext* rec, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int toggle, int count) argument
245 int toggle = init_dither_toggle(x, y); local
[all...]
/external/skia/src/utils/debugger/
H A DSkDebugCanvas.cpp611 void SkDebugCanvas::toggleCommand(int index, bool toggle) { argument
613 fCommandVector[index]->setVisible(toggle);
H A DSkDebugCanvas.h27 void toggleFilter(bool toggle) { fFilter = toggle; } argument
144 the value of toggle.
146 void toggleCommand(int index, bool toggle);
H A DSkDrawCommand.h37 void setVisible(bool toggle) { argument
38 fVisible = toggle;
/external/skia/tests/
H A DPathOpsCubicIntersectionTest.cpp451 bool toggle = true; local
485 if ((toggle ^= true)) {
H A DPathOpsQuadIntersectionTest.cpp416 bool toggle = true; local
450 if ((toggle ^= true)) {
/external/skia/experimental/Intersection/
H A DCubicIntersection_Test.cpp625 bool toggle = true; local
659 if ((toggle ^= true)) {
H A DQuadraticIntersection_Test.cpp349 bool toggle = true; local
383 if ((toggle ^= true)) {
/external/robolectric/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowCheckedTextView.java14 public void toggle() { method in class:ShadowCheckedTextView
H A DShadowCompoundButton.java25 @Override public void toggle() { method in class:ShadowCompoundButton
31 toggle();
/external/qemu/distrib/sdl-1.2.15/src/video/
H A DSDL_cursor.c265 int SDL_ShowCursor (int toggle) argument
270 if ( toggle >= 0 ) {
272 if ( toggle ) {
/external/qemu-pc-bios/bochs/bios/
H A Drombios.c8387 Bit32u time, toggle; local
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
H A Dftdebug.c107 /* define array of trace toggle names */
156 /* available toggle names. */
179 /* read toggle name, followed by ':' */
195 const char* toggle = ft_trace_toggles[n]; local
200 if ( toggle[i] != q[i] )
204 if ( i == len && toggle[i] == 0 )
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
H A DBitArray.java31 void toggle(int index); method in interface:BitArray
49 @Override public void toggle(int index) { method in class:BitArray.FixedCapacity
125 @Override public void toggle(int index) { method in class:BitArray.VariableCapacity
/external/okhttp/website/static/
H A Dbootstrap.min.js6 !function(e){"use strict";e(function(){e.support.transition=function(){var e=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n;for(n in t)if(e.style[n]!==undefined)return t[n]}();return e&&{end:e}}()})}(window.jQuery),!function(e){"use strict";var t='[data-dismiss="alert"]',n=function(n){e(n).on("click",t,this.close)};n.prototype.close=function(t){function s(){i.trigger("closed").remove()}var n=e(this),r=n.attr("data-target"),i;r||(r=n.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),i=e(r),t&&t.preventDefault(),i.length||(i=n.hasClass("alert")?n:n.parent()),i.trigger(t=e.Event("close"));if(t.isDefaultPrevented())return;i.removeClass("in"),e.support.transition&&i.hasClass("fade")?i.on(e.support.transition.end,s):s()};var r=e.fn.alert;e.fn.alert=function(t){return this.each(function(){var r=e(this),i=r.data("alert");i||r.data("alert",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.alert.Constructor=n,e.fn.alert.noConflict=function(){return e.fn.alert=r,this},e(document).on("click.alert.data-api",t,n.prototype.close)}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.button.defaults,n)};t.prototype.setState=function(e){var t="disabled",n=this.$element,r=n.data(),i=n.is("input")?"val":"html";e+="Text",r.resetText||n.data("resetText",n[i]()),n[i](r[e]||this.options[e]),setTimeout(function(){e=="loadingText"?n.addClass(t).attr(t,t):n.removeClass(t).removeAttr(t)},0)},t.prototype.toggle=function(){var e=this.$element.closest('[data-toggle="buttons-radio"]');e&&e.find(".active").removeClass("active"),this.$element.toggleClass("active")};var n=e.fn.button;e.fn.button=function(n){return this.each(function(){var r=e(this),i=r.data("button"),s=typeof n=="object"&&n;i||r.data("button",i=new t(this,s)),n=="toggle"?i.toggle():n&&i.setState(n)})},e.fn.button.defaults={loadingText:"loading..."},e.fn.button.Constructor=t,e.fn.button.noConflict=function(){return e.fn.button=n,this},e(document).on("click.button.data-api","[data-toggle^=button]",function(t){var n=e(t.target);n.hasClass("btn")||(n=n.closest(".btn")),n.button("toggle")})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.options.pause=="hover"&&this.$element.on("mouseenter",e.proxy(this.pause,this)).on("mouseleave",e.proxy(this.cycle,this))};t.prototype={cycle:function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},getActiveIndex:function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},to:function(t){var n=this.getActiveIndex(),r=this;if(t>this.$items.length-1||t<0)return;return this.sliding?this.$element.one("slid",function(){r.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",e(this.$items[t]))},pause:function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition.end&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),clearInterval(this.interval),this.interval=null,this},next:function(){if(this.sliding)return;return this.slide("next")},prev:function(){if(this.sliding)return;return this.slide("prev")},slide:function(t,n){var r=this.$element.find(".item.active"),i=n||r[t](),s=this.interval,o=t=="next"?"left":"right",u=t=="next"?"first":"last",a=this,f;this.sliding=!0,s&&this.pause(),i=i.length?i:this.$element.find(".item")[u](),f=e.Event("slide",{relatedTarget:i[0],direction:o});if(i.hasClass("active"))return;this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var t=e(a.$indicators.children()[a.getActiveIndex()]);t&&t.addClass("active")}));if(e.support.transition&&this.$element.hasClass("slide")){this.$element.trigger(f);if(f.isDefaultPrevented())return;i.addClass(t),i[0].offsetWidth,r.addClass(o),i.addClass(o),this.$element.one(e.support.transition.end,function(){i.removeClass([t,o].join(" ")).addClass("active"),r.removeClass(["active",o].join(" ")),a.sliding=!1,setTimeout(function(){a.$element.trigger("slid")},0)})}else{this.$element.trigger(f);if(f.isDefaultPrevented())return;r.removeClass("active"),i.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return s&&this.cycle(),this}};var n=e.fn.carousel;e.fn.carousel=function(n){return this.each(function(){var r=e(this),i=r.data("carousel"),s=e.extend({},e.fn.carousel.defaults,typeof n=="object"&&n),o=typeof n=="string"?n:s.slide;i||r.data("carousel",i=new t(this,s)),typeof n=="number"?i.to(n):o?i[o]():s.interval&&i.pause().cycle()})},e.fn.carousel.defaults={interval:5e3,pause:"hover"},e.fn.carousel.Constructor=t,e.fn.carousel.noConflict=function(){return e.fn.carousel=n,this},e(document).on("click.carousel.data-api","[data-slide], [data-slide-to]",function(t){var n=e(this),r,i=e(n.attr("data-target")||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,"")),s=e.extend({},i.data(),n.data()),o;i.carousel(s),(o=n.attr("data-slide-to"))&&i.data("carousel").pause().to(o).cycle(),t.preventDefault()})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.collapse.defaults,n),this.options.parent&&(this.$parent=e(this.options.parent)),this.options.toggle&&this.toggle()};t.prototype={constructor:t,dimension:function(){var e=this.$element.hasClass("width");return e?"width":"height"},show:function(){var t,n,r,i;if(this.transitioning||this.$element.hasClass("in"))return;t=this.dimension(),n=e.camelCase(["scroll",t].join("-")),r=this.$parent&&this.$parent.find("> .accordion-group > .in");if(r&&r.length){i=r.data("collapse");if(i&&i.transitioning)return;r.collapse("hide"),i||r.data("collapse",null)}this.$element[t](0),this.transition("addClass",e.Event("show"),"shown"),e.support.transition&&this.$element[t](this.$element[0][n])},hide:function(){var t;if(this.transitioning||!this.$element.hasClass("in"))return;t=this.dimension(),this.reset(this.$element[t]()),this.transition("removeClass",e.Event("hide"),"hidden"),this.$element[t](0)},reset:function(e){var t=this.dimension();return this.$element.removeClass("collapse")[t](e||"auto")[0].offsetWidth,this.$element[e!==null?"addClass":"removeClass"]("collapse"),this},transition:function(t,n,r){var i=this,s=function(){n.type=="show"&&i.reset(),i.transitioning=0,i.$element.trigger(r)};this.$element.trigger(n);if(n.isDefaultPrevented())return;this.transitioning=1,this.$element[t]("in"),e.support.transition&&this.$element.hasClass("collapse")?this.$element.one(e.support.transition.end,s):s()},toggle:function(){this[this.$element.hasClass("in")?"hide":"show"]()}};var n=e.fn.collapse;e.fn.collapse=function(n){return this.each(function(){var r=e(this),i=r.data("collapse"),s=e.extend({},e.fn.collapse.defaults,r.data(),typeof n=="object"&&n);i||r.data("collapse",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.collapse.defaults={toggle
[all...]
/external/lldb/www/python_reference/
H A Depydoc.js101 var elt = document.getElementById(id+"-toggle");
112 var elt = document.getElementById(id+"-toggle");
131 function toggle(id) {
132 elt = document.getElementById(id+"-toggle");
/external/libopus/src/
H A Dopus_demo.c251 int toggle = 0; local
660 len[toggle] = char_to_int(ch);
661 if (len[toggle]>max_payload_bytes || len[toggle]<0)
663 fprintf(stderr, "Invalid payload length: %d\n",len[toggle]);
667 enc_final_range[toggle] = char_to_int(ch);
668 err = fread(data[toggle], 1, len[toggle], fin);
669 if (err<len[toggle])
673 len[toggle],er
[all...]
/external/freetype/src/base/
H A Dftdebug.c107 /* define array of trace toggle names */
156 /* available toggle names. */
179 /* read toggle name, followed by ':' */
195 const char* toggle = ft_trace_toggles[n]; local
200 if ( toggle[i] != q[i] )
204 if ( i == len && toggle[i] == 0 )
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.ui.forms_3.5.2.r36_v20100702.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/doclava/res/assets/templates/assets/
H A Ddoclava-developer-docs.js213 // if we're in a toggleable root link (<li class=toggle-list><div><a>)
214 if (link.parent().parent().hasClass('toggle-list')) {
215 toggle(link.parent().parent(), false); // open our own list
218 toggle(link.parent().parent().parent().parent(), false); // open the super parent list
223 toggle(link.parent().parent().parent(), false); // open the parent list
226 toggle(link.parent().parent().parent().parent().parent(), false); // open the super parent list
362 function toggle(obj, slide) { function
373 $(".toggle-img", li).attr("title", "hide pages");
378 $(".toggle-img", li).attr("title", "show pages");
383 $(".toggle
[all...]

Completed in 800 milliseconds

123