Lines Matching +refs:val +refs:obj

147             validator: function(val) {
148 return this._validateValue(val);
485 * @param val {Number} current value of the Dial
488 _setTimesWrappedFromValue : function(val){
489 if(val % this._stepsPerRevolution === 0){
490 this._timesWrapped = (val / this._stepsPerRevolution);
492 this._timesWrapped = Math.floor(val / this._stepsPerRevolution);
806 * If typeArray is false, the XY of the obj node passed in is set.
809 * @param obj {Node}
814 _setNodeToFixedRadius : function(obj, typeArray){
819 dia = obj.get('offsetWidth'); //Ticket #2529852
826 obj.setStyle('left', (this._ringNodeRadius + newX) + 'px');
827 obj.setStyle('top', (this._ringNodeRadius + newY) + 'px');
1229 * @param val {Number} a raw value to set to the Dial
1230 * @return {Number} the input val changed to have the correct decimal places
1233 _valueToDecimalPlaces : function(val) { // [#2530206] cleaned up and better user feedback of when it's max or min.
1243 * @param val {Number} value of the Dial
1246 _uiSetValue : function(val) { // [#2530206] cleaned up and better user feedback of when it's max or min.
1247 this._angle = this._getAngleFromValue(val);
1249 this._setTimesWrappedFromValue(val);
1253 this._valueStringNode.setContent(val.toFixed(this.get('decimalPlaces'))); // [#2530045]
1254 this._handleNode.set('aria-valuenow', val);
1255 this._handleNode.set('aria-valuetext', val);
1257 if((val === this._maxValue) || (val === this._minValue)){
1279 * @param val {Number} value of the Dial
1282 _validateValue: function(val) {
1285 return (Lang.isNumber(val) && val >= min && val <= max);