summaryrefslogtreecommitdiff
path: root/android/testData/javadoc
diff options
context:
space:
mode:
authorSiva Velusamy <vsiva@google.com>2013-04-21 06:54:28 -0700
committerSiva Velusamy <vsiva@google.com>2013-04-22 16:08:26 -0700
commit8d916860d0f862b092ab8c3dd87beedec67b14d3 (patch)
tree39211c8324cbe8f10753330a269b314d981bc46d /android/testData/javadoc
parent44002aa5e5f9677d2172423820579f4dc9d4f547 (diff)
downloadidea-8d916860d0f862b092ab8c3dd87beedec67b14d3.tar.gz
Show string definitions from all configs in the Javadoc
Change-Id: I9c2c8e0986f93135915b34cf9f0adcbf99ac836e
Diffstat (limited to 'android/testData/javadoc')
-rw-r--r--android/testData/javadoc/Activity1.java11
-rw-r--r--android/testData/javadoc/Activity2.java11
-rw-r--r--android/testData/javadoc/Activity3.java11
-rw-r--r--android/testData/javadoc/strings-ta.xml19
-rw-r--r--android/testData/javadoc/strings-zh-rTW.xml19
-rw-r--r--android/testData/javadoc/strings.xml20
6 files changed, 91 insertions, 0 deletions
diff --git a/android/testData/javadoc/Activity1.java b/android/testData/javadoc/Activity1.java
new file mode 100644
index 00000000000..727b1bb3c6f
--- /dev/null
+++ b/android/testData/javadoc/Activity1.java
@@ -0,0 +1,11 @@
+package com.foo;
+
+import android.app.Activity;
+import android.os.Bundle;
+
+public class MyActivity extends Activity {
+ @Override
+ public void onCreate(Bundle savedInstanceState) {
+ String text = getResources().getString(R.string.app_n<caret>ame);
+ }
+}
diff --git a/android/testData/javadoc/Activity2.java b/android/testData/javadoc/Activity2.java
new file mode 100644
index 00000000000..74af5290479
--- /dev/null
+++ b/android/testData/javadoc/Activity2.java
@@ -0,0 +1,11 @@
+package com.foo;
+
+import android.app.Activity;
+import android.os.Bundle;
+
+public class MyActivity extends Activity {
+ @Override
+ public void onCreate(Bundle savedInstanceState) {
+ String text = getResources().getString(R.string.<caret>cancel);
+ }
+}
diff --git a/android/testData/javadoc/Activity3.java b/android/testData/javadoc/Activity3.java
new file mode 100644
index 00000000000..190affdffdc
--- /dev/null
+++ b/android/testData/javadoc/Activity3.java
@@ -0,0 +1,11 @@
+package com.foo;
+
+import android.app.Activity;
+import android.os.Bundle;
+
+public class MyActivity extends Activity {
+ @Override
+ public void onCreate(Bundle savedInstanceState) {
+ String text = getResources().getString(R.st<caret>ring.cancel);
+ }
+}
diff --git a/android/testData/javadoc/strings-ta.xml b/android/testData/javadoc/strings-ta.xml
new file mode 100644
index 00000000000..bd6a168c8e3
--- /dev/null
+++ b/android/testData/javadoc/strings-ta.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (C) 2013 The Android Open Source Project
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (the "License");
+ ~ you may not use this file except in compliance with the License.
+ ~ You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+<resources>
+ <string name="cancel">ரத்து</string>
+</resources>
diff --git a/android/testData/javadoc/strings-zh-rTW.xml b/android/testData/javadoc/strings-zh-rTW.xml
new file mode 100644
index 00000000000..9892e153f03
--- /dev/null
+++ b/android/testData/javadoc/strings-zh-rTW.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (C) 2013 The Android Open Source Project
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (the "License");
+ ~ you may not use this file except in compliance with the License.
+ ~ You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+<resources>
+ <string name="cancel">取消</string>
+</resources>
diff --git a/android/testData/javadoc/strings.xml b/android/testData/javadoc/strings.xml
new file mode 100644
index 00000000000..d48cb19b1ed
--- /dev/null
+++ b/android/testData/javadoc/strings.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (C) 2013 The Android Open Source Project
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (the "License");
+ ~ you may not use this file except in compliance with the License.
+ ~ You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+<resources>
+ <string name="app_name">Application Name</string>
+ <string name="cancel">Cancel</string>
+</resources>