Lines Matching refs:detail

206     var detail = {};
207 detail.direction = this.swipeDirection;
208 detail.index = this.swipeIndex;
209 detail.status = this.swipeStatus;
210 detail.endSwipe = endSwipe;
211 detail.startEvent = this.startEvent;
212 detail.currentEvent = this.currentEvent;
213 detail.isComplex = this.isComplex;
214 return detail;
319 * @param {Object} detail The detail of the event that called this
322 changeKeyset: function(detail) {
323 if (detail.relegateToShift && this.shift) {
328 var toKeyset = detail.toKeyset;
331 this.activeKeyset.nextKeyset = detail.nextKeyset;
386 * with |detail| should be skipped.
387 * @param {Object} detail The detail of key-up or key-down event.
389 skipEvent: function(detail) {
391 if (this.dblDetail_.char != detail.char) {
405 * param {Object} detail The swipe update details.
407 onSwipeUpdate: function(detail) {
408 var direction = detail.direction;
414 if (detail.endSwipe)
419 if (detail.index % 2 != 0) {
430 if ((!detail.endSwipe) || (detail.isComplex))
433 var distance = Math.abs(detail.startEvent.screenY -
434 detail.currentEvent.screenY);
437 var triggerKey = detail.startEvent.target;
439 triggerKey.onFlick(detail);
464 * @param {Object} detail The detail of pressed kb-key.
466 keyDown: function(event, detail) {
467 if (this.skipEvent(detail))
477 this.playSound(detail.sound);
479 var char = detail.char;
494 if (event.target.toKeyset || detail.relegateToShift)
507 if(this.changeKeyset(detail))
509 if (detail.repeat) {
510 this.keyTyped(detail);
517 self.playSound(detail.sound);
518 self.keyTyped(detail);
528 * @param {Object} detail The detail of pressed kb-shift-key.
530 keyOut: function(event, detail) {
531 this.changeKeyset(detail);
538 * @param {Object} detail The detail of pressed kb-shift-key.
540 enableDbl: function(event, detail) {
542 this.dblDetail_ = detail;
654 this.keyTyped(event.detail);
660 * @param {Object} detail The detail of pressed kb-key.
662 keyUp: function(event, detail) {
663 if (this.skipEvent(detail))
667 if (detail.activeModifier) {
668 var modifier = detail.activeModifier.toLowerCase() + "-active";
671 // Adds the current keyboard modifiers to the detail.
673 detail.controlModifier = this.ctrl.isActive();
675 detail.altModifier = this.alt.isActive();
681 this.changeKeyset(detail);
692 var toLayoutId = detail.toLayout;
696 var char = detail.char;
714 if(!this.keyTyped(detail))
753 * @param {Object} detail The detail of pressed key.
755 keyLongpress: function(event, detail) {
759 if (this.changeKeyset(detail)) {
909 * @param {Object} detail Attributes of the key being typed.
912 keyTyped: function(detail) {
915 detail.controlModifier = this.ctrl.isActive();
917 detail.altModifier = this.alt.isActive();
918 var downEvent = builder.createVirtualKeyEvent(detail, "keydown");
921 sendKeyEvent(builder.createVirtualKeyEvent(detail, "keyup"));