Searched defs:toggle (Results 1 - 25 of 47) sorted by relevance

12

/external/robolectric/v1/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/python/cpython2/Demo/curses/
H A Dlife.py37 toggle(y,x) -- change the given cell from live to dead, or vice
69 def toggle(self, y, x): member in class:LifeBoard
144 'Use the cursor keys to move, and space or Enter to toggle a cell.')
170 board.toggle(ypos, xpos)
/external/python/cpython2/Demo/tkinter/guido/
H A DMimeViewer.py19 'command': self.toggle})
78 def toggle(self): member in class:MimeViewer
/external/python/cpython3/Tools/demo/
H A Dlife.py36 toggle(y,x) -- change the given cell from live to dead, or vice
68 def toggle(self, y, x): member in class:LifeBoard
160 'Use the cursor keys to move, and space or Enter to toggle a cell.')
201 board.toggle(ypos, xpos)
249 board.toggle(ypos, xpos)
/external/skia/tools/skiaserve/urlhandlers/
H A DCmdHandler.cpp54 int n, toggle; local
56 sscanf(commands[2].c_str(), "%d", &toggle);
57 request->fDebugCanvas->toggleCommand(n, SkToBool(toggle));
/external/skqp/tools/skiaserve/urlhandlers/
H A DCmdHandler.cpp54 int n, toggle; local
56 sscanf(commands[2].c_str(), "%d", &toggle);
57 request->fDebugCanvas->toggleCommand(n, SkToBool(toggle));
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/bench/
H A Dbootstrap.js206 Button.prototype.toggle = function () {
207 var $parent = this.$element.parent('[data-toggle="buttons-radio"]')
226 if (option == 'toggle') data.toggle()
242 $('body').on('click.button.data-api', '[data-toggle^=button]', function ( e ) {
245 $btn.button('toggle')
453 this.options.toggle && this.toggle()
532 , toggle: function () {
553 toggle
[all...]
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/docs/apidoc/
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/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/docs/apidoc/
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/freetype/builds/amiga/src/base/
H A Dftdebug.c131 /* define array of trace toggle names */
180 /* available toggle names. */
206 /* read toggle name, followed by ':' */
222 const char* toggle = ft_trace_toggles[n]; local
227 if ( toggle[i] != q[i] )
231 if ( i == len && toggle[i] == 0 )
/external/freetype/builds/wince/
H A Dftdebug.c127 /* define array of trace toggle names */
152 /* available toggle names. */
182 /* read toggle name, followed by ':' */
198 const char* toggle = ft_trace_toggles[n]; local
203 if ( toggle[i] != q[i] )
207 if ( i == len && toggle[i] == 0 )
/external/freetype/builds/windows/
H A Dftdebug.c116 /* define array of trace toggle names */
141 /* available toggle names. */
164 /* read toggle name, followed by ':' */
180 const char* toggle = ft_trace_toggles[n]; local
185 if ( toggle[i] != q[i] )
189 if ( i == len && toggle[i] == 0 )
/external/freetype/src/base/
H A Dftdebug.c107 /* define array of trace toggle names */
156 /* the 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/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...]
/external/skia/samplecode/
H A DSamplePath.cpp249 void toggle(bool& value) { function in class:ArcToView
263 case '1': this->toggle(fDoFrame); return true;
264 case '2': this->toggle(fDoCorner); return true;
265 case '3': this->toggle(fDoConic); return true;
363 void toggle(bool& value) { function in class:FatStroke
381 case '1': this->toggle(fShowSkeleton); return true;
382 case '2': this->toggle(fShowStroke); return true;
383 case '3': this->toggle(fShowHidden); return true;
386 case '6': this->toggle(fClosed); return true;
/external/skia/tests/
H A DPathOpsQuadIntersectionTest.cpp426 bool toggle = true; local
460 if ((toggle ^= true)) {
H A DPathOpsCubicIntersectionTest.cpp532 bool toggle = true; local
569 if ((toggle ^= true)) {
/external/skia/tools/debugger/
H A DSkDebugCanvas.h31 void toggleFilter(bool toggle) { fFilter = toggle; } argument
149 the value of toggle.
151 void toggleCommand(int index, bool toggle);
/external/skqp/samplecode/
H A DSamplePath.cpp249 void toggle(bool& value) { function in class:ArcToView
263 case '1': this->toggle(fDoFrame); return true;
264 case '2': this->toggle(fDoCorner); return true;
265 case '3': this->toggle(fDoConic); return true;
363 void toggle(bool& value) { function in class:FatStroke
381 case '1': this->toggle(fShowSkeleton); return true;
382 case '2': this->toggle(fShowStroke); return true;
383 case '3': this->toggle(fShowHidden); return true;
386 case '6': this->toggle(fClosed); return true;
/external/skqp/tests/
H A DPathOpsQuadIntersectionTest.cpp426 bool toggle = true; local
460 if ((toggle ^= true)) {
H A DPathOpsCubicIntersectionTest.cpp531 bool toggle = true; local
568 if ((toggle ^= true)) {
/external/skqp/tools/debugger/
H A DSkDebugCanvas.h31 void toggleFilter(bool toggle) { fFilter = toggle; } argument
149 the value of toggle.
151 void toggleCommand(int index, bool toggle);
/external/selinux/python/semanage/
H A Dseobject.py449 def toggle(self, dontaudit): member in class:dontauditClass
/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...]

Completed in 1009 milliseconds

12