OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:jsonObject
(Results
1 - 17
of
17
) sorted by null
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/
InspectorDatabaseResource.cpp
61
RefPtr<TypeBuilder::Database::Database>
jsonObject
= TypeBuilder::Database::Database::create()
66
frontend->addDatabase(
jsonObject
);
/developers/build/prebuilts/gradle/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/
AssetUtils.java
25
import org.json.
JSONObject
;
47
public static
JSONObject
loadJSONAsset(Context context, String asset) {
49
JSONObject
jsonObject
= null;
51
jsonObject
= new
JSONObject
(jsonString);
55
return
jsonObject
;
RecipeActivity.java
35
import org.json.
JSONObject
;
87
JSONObject
jsonObject
= AssetUtils.loadJSONAsset(this, mRecipeName);
88
if (
jsonObject
!= null) {
89
mRecipe = Recipe.fromJson(this,
jsonObject
);
RecipeListAdapter.java
32
import org.json.
JSONObject
;
57
JSONObject
jsonObject
= AssetUtils.loadJSONAsset(mContext, Constants.RECIPE_LIST_FILE);
58
if (
jsonObject
!= null) {
59
List<Item> items = parseJson(
jsonObject
);
64
private List<Item> parseJson(
JSONObject
json) {
69
JSONObject
item = items.getJSONObject(i);
/developers/samples/android/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/
AssetUtils.java
25
import org.json.
JSONObject
;
47
public static
JSONObject
loadJSONAsset(Context context, String asset) {
49
JSONObject
jsonObject
= null;
51
jsonObject
= new
JSONObject
(jsonString);
55
return
jsonObject
;
RecipeActivity.java
35
import org.json.
JSONObject
;
87
JSONObject
jsonObject
= AssetUtils.loadJSONAsset(this, mRecipeName);
88
if (
jsonObject
!= null) {
89
mRecipe = Recipe.fromJson(this,
jsonObject
);
RecipeListAdapter.java
32
import org.json.
JSONObject
;
57
JSONObject
jsonObject
= AssetUtils.loadJSONAsset(mContext, Constants.RECIPE_LIST_FILE);
58
if (
jsonObject
!= null) {
59
List<Item> items = parseJson(
jsonObject
);
64
private List<Item> parseJson(
JSONObject
json) {
69
JSONObject
item = items.getJSONObject(i);
/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
AssetUtils.java
25
import org.json.
JSONObject
;
47
public static
JSONObject
loadJSONAsset(Context context, String asset) {
49
JSONObject
jsonObject
= null;
51
jsonObject
= new
JSONObject
(jsonString);
55
return
jsonObject
;
RecipeActivity.java
35
import org.json.
JSONObject
;
87
JSONObject
jsonObject
= AssetUtils.loadJSONAsset(this, mRecipeName);
88
if (
jsonObject
!= null) {
89
mRecipe = Recipe.fromJson(this,
jsonObject
);
RecipeListAdapter.java
32
import org.json.
JSONObject
;
57
JSONObject
jsonObject
= AssetUtils.loadJSONAsset(mContext, Constants.RECIPE_LIST_FILE);
58
if (
jsonObject
!= null) {
59
List<Item> items = parseJson(
jsonObject
);
64
private List<Item> parseJson(
JSONObject
json) {
69
JSONObject
item = items.getJSONObject(i);
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
GraphicsLayerDebugInfo.cpp
39
RefPtr<
JSONObject
>
jsonObject
=
JSONObject
::create();
40
appendLayoutRects(
jsonObject
.get());
41
appendCompositingReasons(
jsonObject
.get());
42
appendDebugName(
jsonObject
.get());
43
appendOwnerNodeId(
jsonObject
.get());
44
*out =
jsonObject
->toJSONString();
63
void GraphicsLayerDebugInfo::appendLayoutRects(
JSONObject
*
jsonObject
) cons
[
all
...]
/external/chromium_org/third_party/WebKit/Source/modules/crypto/
SubtleCrypto.cpp
141
static bool copyStringProperty(const char* property, const Dictionary& source,
JSONObject
* destination)
150
static bool copySequenceOfStringProperty(const char* property, const Dictionary& source,
JSONObject
* destination)
168
RefPtr<
JSONObject
>
jsonObject
=
JSONObject
::create();
170
if (!copyStringProperty("kty", dict,
jsonObject
.get())) {
175
copyStringProperty("use", dict,
jsonObject
.get());
176
copySequenceOfStringProperty("key_ops", dict,
jsonObject
.get());
177
copyStringProperty("alg", dict,
jsonObject
.get());
181
jsonObject
->setBoolean("ext", ext)
[
all
...]
/external/chromium_org/third_party/libaddressinput/src/java/test/com/android/i18n/addressinput/
CacheDataTest.java
23
import org.json.
JSONObject
;
57
JSONObject
jsonObject
= null;
59
jsonObject
= new
JSONObject
(AddressDataMapLoader.DATA.get(id));
64
cache.addToJsoMap(id,
jsonObject
);
76
JSONObject
jsonObject
= new
JSONObject
(AddressDataMapLoader.DATA.get(id));
77
String jsonString =
jsonObject
.toString()
[
all
...]
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
V8Binding.cpp
917
RefPtr<
JSONObject
>
jsonObject
=
JSONObject
::create();
[
all
...]
/developers/build/prebuilts/gradle/Quiz/Application/src/main/java/com/example/android/wearable/quiz/
MainActivity.java
68
import org.json.
JSONObject
;
226
public static Question fromJson(
JSONObject
questionObject, int questionIndex)
260
JSONObject
jsonObject
= JsonUtils.loadJsonFile(this, QUIZ_JSON_FILE);
261
JSONArray jsonArray =
jsonObject
.getJSONArray(JsonUtils.JSON_FIELD_QUESTIONS);
263
JSONObject
questionObject = jsonArray.getJSONObject(i);
/developers/samples/android/wearable/wear/Quiz/Application/src/main/java/com/example/android/wearable/quiz/
MainActivity.java
68
import org.json.
JSONObject
;
226
public static Question fromJson(
JSONObject
questionObject, int questionIndex)
260
JSONObject
jsonObject
= JsonUtils.loadJsonFile(this, QUIZ_JSON_FILE);
261
JSONArray jsonArray =
jsonObject
.getJSONArray(JsonUtils.JSON_FIELD_QUESTIONS);
263
JSONObject
questionObject = jsonArray.getJSONObject(i);
/development/samples/browseable/Quiz/Application/src/com.example.android.wearable.quiz/
MainActivity.java
68
import org.json.
JSONObject
;
226
public static Question fromJson(
JSONObject
questionObject, int questionIndex)
260
JSONObject
jsonObject
= JsonUtils.loadJsonFile(this, QUIZ_JSON_FILE);
261
JSONArray jsonArray =
jsonObject
.getJSONArray(JsonUtils.JSON_FIELD_QUESTIONS);
263
JSONObject
questionObject = jsonArray.getJSONObject(i);
Completed in 386 milliseconds