Searched refs:currentCard (Results 1 – 8 of 8) sorted by relevance
/external/chromium/chrome/browser/resources/ntp4/ |
D | card_slider.js | 40 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_;
|
D | new_tab.js | 140 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/ |
D | slider.js | 40 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_;
|
D | newtab.js | 144 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;
|
/external/chromium_org/ui/webui/resources/js/cr/ui/ |
D | card_slider.js | 227 get currentCard() { getter in CardSlider 236 set currentCard(index) { setter in CardSlider 292 var newCardIndex = this.currentCard + pagesToScroll; 303 var newCardIndex = this.currentCard + pagesToScroll; 559 (isRTL() ? this.cards_.length - this.currentCard - 1 : 560 this.currentCard); 629 if (!this.currentCard && deltaX > 0 || 630 this.currentCard == (this.cards_.length - 1) && deltaX < 0) { 648 if (newCardIndex == this.currentCard && Math.abs(velocity) >
|
/external/chromium_org/chrome/browser/resources/ntp4/ |
D | page_list_view.js | 329 var prevCurrentCard = this.cardSlider.currentCard; 335 this.cardSlider.currentCard = 0; 400 this.cardSlider.currentCard = prevCurrentCard; 502 var pageNo = Math.max(0, Math.min(this.cardSlider.currentCard, 585 this.cardSlider.currentCard) { 604 (this.cardSlider.currentCard == 0); 606 (this.cardSlider.currentCard == this.cardSlider.cardCount - 1); 780 (this.cardSlider.currentCard + direction +
|
D | page_switcher.js | 42 var index = cardSlider.currentCard + this.direction_; 54 var currentIndex = ntp.getCardSlider().currentCard;
|
D | tile_page.js | 481 ntp.getCardSlider().currentCard;
|