Searched refs:toJson (Results 1 - 10 of 10) sorted by relevance

/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/
H A DJsonMessageBuilder.java337 return toJson((PairingRequestMessage) message);
339 return toJson((PairingRequestAckMessage) message);
341 return toJson((OptionsMessage) message);
343 return toJson((ConfigurationMessage) message);
345 return toJson((ConfigurationAckMessage) message);
347 return toJson((SecretMessage) message);
349 return toJson((SecretAckMessage) message);
421 static JSONObject toJson(PairingRequestMessage message) throws JSONException { method in class:JsonMessageBuilder
434 static JSONObject toJson(PairingRequestAckMessage message) method in class:JsonMessageBuilder
449 static JSONObject toJson(OptionsMessag method in class:JsonMessageBuilder
474 static JSONObject toJson(ConfigurationMessage message) throws JSONException { method in class:JsonMessageBuilder
486 static JSONObject toJson(ConfigurationAckMessage message) { method in class:JsonMessageBuilder
495 static JSONObject toJson(SecretMessage message) throws JSONException { method in class:JsonMessageBuilder
514 static JSONObject toJson(SecretAckMessage message) throws JSONException { method in class:JsonMessageBuilder
533 static JSONObject toJson(EncodingOption encoding) throws JSONException { method in class:JsonMessageBuilder
[all...]
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
H A Dnav_braille.js64 * by toJson().
107 cvox.NavBraille.prototype.toJson = function() {
109 spannable: this.text.toJson(),
H A Dspannable.js281 cvox.Spannable.prototype.toJson = function() {
296 if (serializeInfo.toJson) {
297 spanObj.value = serializeInfo.toJson.apply(span.value);
341 * @param {function(!Object): !Object} toJson A function that converts
346 constructor, name, fromJson, toJson) {
348 fromJson: fromJson, toJson: toJson};
364 var obj = {name: name, ctor: constructor, toJson: undefined};
380 * toJson: ((function(!Object): !Object)|undefined)}}
H A Dbraille_util.js104 cvox.BrailleUtil.ValueSpan.prototype.toJson = function() {
113 cvox.BrailleUtil.ValueSpan.prototype.toJson);
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/host/chrome/
H A Dbraille.js71 var outParams = params.toJson();
/external/chromium_org/tools/deep_memory_profiler/visualizer/static/third_party/jqTree/
H A Dtree.jquery.js882 JqTreeWidget.prototype.toJson = function() {
/external/chromium_org/chrome/third_party/chromevox/
H A DchromeVoxChromePageScript.js996 cvox.Spannable.prototype.toJson=function(){var a={};a.string=this.string_;a.spans=[];for(var b=0;b<this.spans_.length;++b){var c=this.spans_[b],d=goog.object.findValue(cvox.Spannable.serializableSpansByName_,function(a){return a.ctor===c.value.constructor});if(d){var e={type:d.name,start:c.start,end:c.end};d.toJson&&(e.value=d.toJson.apply(c.value));a.spans.push(e)}}return a};
998 cvox.Spannable.serializableSpansByName_[d.type],e=e.fromJson(d.value);b.setSpan(e,d.start,d.end)}return b};cvox.Spannable.registerSerializableSpan=function(a,b,c,d){a={name:b,ctor:a,fromJson:c,toJson:d};cvox.Spannable.serializableSpansByName_[b]=a};cvox.Spannable.registerStatelessSerializableSpan=function(a,b){var c={name:b,ctor:a,toJson:void 0,fromJson:function(){return new a}};cvox.Spannable.serializableSpansByName_[b]=c};cvox.Spannable.serializableSpansByName_={};cvox.NavBraille=function(a){this.text=a.text instanceof cvox.Spannable?a.text:new cvox.Spannable(a.text);this.startIndex=goog.isDef(a.startIndex)?a.startIndex:-1;this.endIndex=goog.isDef(a.endIndex)?a.endIndex:this.startIndex};cvox.NavBraille.fromText=function(a){return new cvox.NavBraille({text:a})};
1000 cvox.NavBraille.prototype.toString=function(){return'NavBraille(text="'+this.text.toString()+'" startIndex="'+this.startIndex+'" endIndex="'+this.endIndex+'")'};cvox.NavBraille.prototype.toJson=function(){return{spannable:this.text.toJson(),startIndex:this.startIndex,endIndex:this.endIndex}};cvox.NavBraille.prototype.write=function(){cvox.ChromeVox.braille.write(this)};cvox.AbstractWalker=function(){};cvox.AbstractWalker.prototype.begin=function(a){a=a||{reversed:!1};return this.sync(cvox.CursorSelection.fromBody().setReversed(a.reversed))};cvox.AbstractWalker.prototype.hasAction=function(a){return"function"==typeof this[a]};cvox.AbstractWalker.prototype.performAction=function(a,b){return this.hasAction(a)?this[a](b):null};cvox.AbstractNodeWalker=function(){this.wasBegin_=!1};goog.inherits(cvox.AbstractNodeWalker,cvox.AbstractWalker);cvox.AbstractNodeWalker.prototype.next=function(a){var b=a.isReversed();a=a.end.node||document.body;do if(a=cvox.DomUtil.directedNextLeafLikeNode(a,b,goog.bind(this.stopNodeDescent,this)),!a)return null;while(a&&!cvox.DomUtil.hasContent(a));return cvox.CursorSelection.fromNode(a).setReversed(b)};
1039 cvox.BrailleUtil.ValueSpan.fromJson=function(a){return new cvox.BrailleUtil.ValueSpan(a.offset)};cvox.BrailleUtil.ValueSpan.prototype.toJson=function(){return this};cvox.Spannable.registerSerializableSpan(cvox.BrailleUtil.ValueSpan,"cvox.BrailleUtil.ValueSpan",cvox.BrailleUtil.ValueSpan.fromJson,cvox.BrailleUtil.ValueSpan.prototype.toJson);cvox.BrailleUtil.ValueSelectionSpan=function(){};cvox.Spannable.registerStatelessSerializableSpan(cvox.BrailleUtil.ValueSelectionSpan,"cvox.BrailleUtil.ValueSelectionSpan");
1398 cvox.ChromeBraille.prototype.write=function(a){this.lastContent_=a;this.updateLastContentId_();a=a.toJson();
[all...]
/external/chromium_org/third_party/WebKit/PerformanceTests/Dromaeo/resources/dromaeo/web/lib/
H A Ddojo-1.6.1.js4195 dojo.toJson = function(/*Object*/ it, /*Boolean?*/ prettyPrint, /*String?*/ _indentStr){
4210 // before calling dojo.toJson().
4215 // | var jsonStr = dojo.toJson({ howdy: "stranger!", isStrange: true });
9876 return _d.toJson(_d.formToObject(formNode), prettyPrint); // String
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/closure/
H A Dcompiler.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/javascript/ com/google/javascript/jscomp/ ...
/external/chromium_org/third_party/closure_compiler/compiler/
H A Dcompiler.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/debugging/ com/google/debugging/sourcemap/ ...

Completed in 328 milliseconds