Home
last modified time | relevance | path

Searched refs:currentCard (Results 1 – 4 of 4) sorted by relevance

/external/chromium/chrome/browser/resources/ntp4/
Dcard_slider.js40 function CardSlider(frame, container, cards, currentCard, cardWidth) { argument
63 this.currentCard_ = currentCard;
199 get currentCard() { getter in CardSlider
217 var newCardIndex = this.currentCard + pagesToScroll;
275 if (!this.currentCard && deltaX > 0 ||
276 this.currentCard == (this.cards_.length - 1) && deltaX < 0) {
307 if (newCardIndex == this.currentCard && Math.abs(velocity) >
339 newCardIndex != this.currentCard;
364 this.currentLeft_ = -this.currentCard * this.cardWidth_;
Dnew_tab.js140 var newPageIndex = e.cardSlider.currentCard;
281 dots[cardSlider.currentCard].classList.add('selected');
327 var pageNo = cardSlider.currentCard;
496 var curPage = appsPages[cardSlider.currentCard];
568 var pageIndex = cardSlider.currentCard;
/external/chromium/chrome/browser/resources/touch_ntp/
Dslider.js40 function Slider(frame, container, cards, currentCard, cardWidth) { argument
63 this.currentCard_ = currentCard;
195 get currentCard() { getter in Slider
231 if (!this.currentCard && deltaX > 0 ||
232 this.currentCard == (this.cards_.length - 1) && deltaX < 0) {
263 if (newCardIndex == this.currentCard && Math.abs(velocity) >
295 newCardIndex != this.currentCard;
320 this.currentLeft_ = -this.currentCard * this.cardWidth_;
Dnewtab.js144 var newPageIndex = e.slider.currentCard;
285 dots[slider.currentCard].classList.add('selected');
338 var pageNo = slider.currentCard;
606 var curPage = appsPages[slider.currentCard];
678 var pageIndex = slider.currentCard;