/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
groveslide.cxx | 36 upm::GroveSlide* slide = new upm::GroveSlide(0); // Instantiate new grove slide potentiometer on analog pin A0 local 38 cout << slide->name() << endl; 41 float adc_value = slide->raw_value(); // Read raw value 42 float volts = slide->voltage_value(); // Read voltage, board reference set at 5.0V 48 delete slide;
|
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/ |
LeanbackTransitionHelperKitKat.java | 26 SlideKitkat slide = new SlideKitkat(); local 27 slide.setSlideEdge(Gravity.TOP); 28 slide.setInterpolator(AnimationUtils.loadInterpolator(context, 30 slide.addTarget(R.id.browse_title_group); 31 return slide; 35 SlideKitkat slide = new SlideKitkat(); local 36 slide.setSlideEdge(Gravity.TOP); 37 slide.setInterpolator(AnimationUtils.loadInterpolator(context, 39 slide.addTarget(R.id.browse_title_group); 40 return slide; [all...] |
TransitionHelperKitkat.java | 63 SlideKitkat slide = new SlideKitkat(); local 64 slide.setSlideEdge(slideEdge); 65 return slide;
|
/hardware/bsp/intel/peripheral/libupm/examples/java/ |
GroveSlideSample.java | 37 // Instantiate new grove slide potentiometer on analog pin A0 38 upm_grove.GroveSlide slide = new upm_grove.GroveSlide(0); local 41 float raw_value = slide.raw_value(); 42 float value = slide.voltage_value();
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
TvSettingsActivity.java | 24 import android.transition.Slide; 61 final Slide slide = new Slide(Gravity.END); 62 slide.setSlideFraction( 65 TransitionManager.go(scene, slide); 88 final Slide slide = new Slide(Gravity.END); local 89 slide.setSlideFraction [all...] |
/cts/tests/tests/transition/src/android/transition/cts/ |
SlideDefaultEdgeTest.java | 20 import android.transition.Slide; 40 Slide slide = new Slide(); local 41 assertEquals(Gravity.BOTTOM, slide.getSlideEdge());
|
SlideBadEdgeTest.java | 19 import android.transition.Slide; 58 Slide slide = new Slide(badEdge); local 59 fail("Should not be able to set slide edge to " + edgeName); 65 Slide slide = new Slide(); local 66 slide.setSlideEdge(badEdge); 67 fail("Should not be able to set slide edge to " + edgeName) [all...] |
SlideEdgeTest.java | 22 import android.transition.Slide; 51 Slide slide = new Slide(slideEdge); local 53 slideEdge, slide.getSlideEdge()); 55 slide = new Slide(); 56 slide.setSlideEdge(slideEdge); 58 slideEdge, slide.getSlideEdge()); 65 final Slide slide = new Slide(slideEdge) local 148 final Slide slide = new Slide(slideEdge); local [all...] |
/external/skia/resources/ |
slides.lua | 49 function drawSlide(canvas, slide, master_template) 51 if #slide == 1 then 53 canvas:drawText(slide[1].text, 320, 240, template[1]) 57 template = master_template.slide 63 if slide.blockstyle == "code" then 66 local height = #slide * (fm.descent - fm.ascent) 68 for i = 1, #slide do 69 local node = slide[i] 77 for i = 1, #slide do 78 local node = slide[i [all...] |
slides_utils.lua | 32 function pretty_print_slide(slide) 34 if slide.transition then 35 io.write(" transition = \"", slide.transition, "\",\n") 37 for i = 1, #slide do 38 local node = slide[i]
|
slides_transitions.lua | 2 template = template.slide 203 slide = slide_transition,
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
SoftLandingInterpolator.java | 30 private final DecelerateInterpolator slide; field in class:SoftLandingInterpolator 39 slide = new DecelerateInterpolator(); 50 final float s = slide.getInterpolation((input - bottom) / upperRange) * (1f - mO) + mO;
|
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/ |
TransitionHelperApi21.java | 99 FadeAndShortSlide slide = new FadeAndShortSlide(edge); local 100 slide.setDistance(distance); 101 return slide;
|
/packages/apps/Camera2/src/com/android/camera/ |
AnimationManager.java | 59 ObjectAnimator slide = ObjectAnimator.ofFloat(view, "translationX", 0f, slideDistance) local 61 slide.setStartDelay(AnimationManager.SHRINK_DURATION + AnimationManager.HOLD_DURATION); 98 slide); local
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
SlideshowPage.java | 64 public Future<Slide> nextSlide(FutureListener<Slide> listener); 67 public static class Slide { 72 public Slide(MediaItem item, int index, Bitmap bitmap) { 83 private Slide mPendingSlide = null; 143 mModel.nextSlide(new FutureListener<Slide>() { 145 public void onFutureDone(Future<Slide> future) { 156 Slide slide = mPendingSlide; local 157 if (slide == null) [all...] |
/external/v8/src/base/platform/ |
platform-macos.cc | 89 const intptr_t slide = _dyld_get_image_vmaddr_slide(i); local 90 const uintptr_t start = reinterpret_cast<uintptr_t>(code_ptr) + slide; 92 start + size, slide)); local
|
/build/tools/droiddoc/templates-pdk/assets/ |
carousel.js | 136 droid(slideName); // do this function when slide is clicked 141 var slideWidth = 144; // width of a slide including all margins, etc. 142 var slidesAtOnce = 3; // no. of slides to appear at once (requires odd number to have a centered slide) 154 // - determines the centering point of the slide strip 178 function slide(goal, id, go_left, cp) { function 286 slide(motionDistance, slideList, 0, currentStripPosition); 291 slide(motionDistance, slideList, 1, rightStripPosition);
|
android-developer-docs.js | 438 function toggle(obj, slide) { 442 if (slide) {
|
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rjsmin/bench/ |
bootstrap.js | 280 this.options.slide && this.slide(this.options.slide) 314 return this.slide(pos > activePos ? 'next' : 'prev', $(children[pos])) 326 return this.slide('next') 331 return this.slide('prev') 334 , slide: function (type, next) { 341 , e = $.Event('slide') 351 if ($.support.transition && this.$element.hasClass('slide')) { 391 else if (typeof option == 'string' || (option = options.slide)) data[option]( [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationItemView.java | 1731 ObjectAnimator slide = createTranslateXAnimation(false); local 1744 ObjectAnimator slide = ObjectAnimator.ofFloat(this, "translationX", start, end); local [all...] |
/external/okhttp/website/static/ |
bootstrap.min.js | 6 !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){ (…) [all...] |
/external/ImageMagick/www/js/ |
magick.js | 6 if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1||b[0]>2)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){return a(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.6",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a(f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.6",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")?(c.prop("checked")&&(a=!1),b.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==c.prop("type")&&(c.prop("checked")!==this.$element.hasClass("active")&&(a=!1),this.$element.toggleClass("active")),c.prop("checked",this.$element.hasClass("active")),a&&c.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),a(c.target).is('input[type="radio"]')||a(c.target).is('input[type="checkbox"]')||c.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.6",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));return a>this.$items.length-1||0>a?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){return this.sliding?void 0:this.slide("next")},c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b (…) method [all...] |
/external/doclava/res/assets/templates/assets/ |
doclava-developer-docs.js | 362 function toggle(obj, slide) { 366 if (slide) {
|
/external/google-breakpad/src/client/mac/handler/ |
minidump_generator.cc | 1338 unsigned long slide = _dyld_get_image_vmaddr_slide(index); local [all...] |
/build/tools/droiddoc/templates-sdk/assets/js/ |
docs.js | 463 function toggle(obj, slide) { 467 if (slide) { [all...] |