Lines Matching +refs:val +refs:obj

145             validator: function(val) {
146 return this._validateValue(val);
483 * @param val {Number} current value of the Dial
486 _setTimesWrappedFromValue : function(val){
487 if(val % this._stepsPerRevolution === 0){
488 this._timesWrapped = (val / this._stepsPerRevolution);
490 this._timesWrapped = Math.floor(val / this._stepsPerRevolution);
804 * If typeArray is false, the XY of the obj node passed in is set.
807 * @param obj {Node}
812 _setNodeToFixedRadius : function(obj, typeArray){
817 dia = obj.get('offsetWidth'); //Ticket #2529852
824 obj.setStyle('left', (this._ringNodeRadius + newX) + 'px');
825 obj.setStyle('top', (this._ringNodeRadius + newY) + 'px');
1227 * @param val {Number} a raw value to set to the Dial
1228 * @return {Number} the input val changed to have the correct decimal places
1231 _valueToDecimalPlaces : function(val) { // [#2530206] cleaned up and better user feedback of when it's max or min.
1241 * @param val {Number} value of the Dial
1244 _uiSetValue : function(val) { // [#2530206] cleaned up and better user feedback of when it's max or min.
1245 this._angle = this._getAngleFromValue(val);
1247 this._setTimesWrappedFromValue(val);
1251 this._valueStringNode.setContent(val.toFixed(this.get('decimalPlaces'))); // [#2530045]
1252 this._handleNode.set('aria-valuenow', val);
1253 this._handleNode.set('aria-valuetext', val);
1255 if((val === this._maxValue) || (val === this._minValue)){
1277 * @param val {Number} value of the Dial
1280 _validateValue: function(val) {
1283 return (Lang.isNumber(val) && val >= min && val <= max);