Home
last modified time | relevance | path

Searched refs:currentCard (Results 1 – 8 of 8) 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;
/external/chromium_org/ui/webui/resources/js/cr/ui/
Dcard_slider.js227 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/
Dpage_list_view.js329 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 +
Dpage_switcher.js42 var index = cardSlider.currentCard + this.direction_;
54 var currentIndex = ntp.getCardSlider().currentCard;
Dtile_page.js481 ntp.getCardSlider().currentCard;