diff --git a/apps/GestureBuilder/res/values/strings.xml b/apps/GestureBuilder/res/values/strings.xml index fba09c40e..ea1b40d5f 100644 --- a/apps/GestureBuilder/res/values/strings.xml +++ b/apps/GestureBuilder/res/values/strings.xml @@ -40,7 +40,7 @@ Name - + You must enter a name Gesture saved in %s diff --git a/cmds/monkey/src/com/android/commands/monkey/Monkey.java b/cmds/monkey/src/com/android/commands/monkey/Monkey.java index 85ce18d71..e76a89dde 100644 --- a/cmds/monkey/src/com/android/commands/monkey/Monkey.java +++ b/cmds/monkey/src/com/android/commands/monkey/Monkey.java @@ -178,10 +178,10 @@ public class Monkey { /** If set, only match error if this text appears in the description text. */ private String mMatchDescription; - /** Package blacklist file. */ + /** Package denylist file. */ private String mPkgBlacklistFile; - /** Package whitelist file. */ + /** Package allowlist file. */ private String mPkgWhitelistFile; /** Categories we are allowed to launch **/ @@ -966,7 +966,7 @@ public class Monkey { } /** - * Load package blacklist or whitelist (if specified). + * Load package denylist or allowlist (if specified). * * @return Returns false if any error occurs. */ diff --git a/samples/ApiDemos/src/com/example/android/apis/app/VoiceRecognition.java b/samples/ApiDemos/src/com/example/android/apis/app/VoiceRecognition.java index 10d9ae0f4..498c305d9 100644 --- a/samples/ApiDemos/src/com/example/android/apis/app/VoiceRecognition.java +++ b/samples/ApiDemos/src/com/example/android/apis/app/VoiceRecognition.java @@ -109,7 +109,7 @@ public class VoiceRecognition extends Activity implements OnClickListener { // Specify the calling package to identify your application intent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, getClass().getPackage().getName()); - // Display an hint to the user about what he should say. + // Display an hint to the user about what they should say. intent.putExtra(RecognizerIntent.EXTRA_PROMPT, "Speech recognition demo"); // Given an hint to the recognizer about what the user is going to say diff --git a/samples/ApiDemos/src/com/example/android/apis/os/HeadlessSmsSendService.java b/samples/ApiDemos/src/com/example/android/apis/os/HeadlessSmsSendService.java index 1f47fa11b..b33eef243 100644 --- a/samples/ApiDemos/src/com/example/android/apis/os/HeadlessSmsSendService.java +++ b/samples/ApiDemos/src/com/example/android/apis/os/HeadlessSmsSendService.java @@ -21,7 +21,7 @@ import android.content.Intent; import android.os.IBinder; /** - * Dummy service to make sure this app can be default SMS app + * Placeholder service to make sure this app can be default SMS app */ public class HeadlessSmsSendService extends Service { diff --git a/samples/MultiClientInputMethod/src/com/example/android/multiclientinputmethod/ClientCallbackImpl.java b/samples/MultiClientInputMethod/src/com/example/android/multiclientinputmethod/ClientCallbackImpl.java index 6f5d89d5a..c9805c462 100644 --- a/samples/MultiClientInputMethod/src/com/example/android/multiclientinputmethod/ClientCallbackImpl.java +++ b/samples/MultiClientInputMethod/src/com/example/android/multiclientinputmethod/ClientCallbackImpl.java @@ -164,10 +164,10 @@ final class ClientCallbackImpl implements MultiClientInputMethodServiceDelegate. mDelegate.setActive(mClientId, true /* active */); } if (inputConnection == null || editorInfo == null) { - // Dummy InputConnection case. + // Placeholder InputConnection case. if (window.getClientId() == mClientId) { // Special hack for temporary focus changes (e.g. notification shade). - // If we have already established a connection to this client, and if a dummy + // If we have already established a connection to this client, and if a placeholder // InputConnection is notified, just ignore this event. } else { window.onDummyStartInput(mClientId, targetWindowHandle); diff --git a/samples/RSSReader/src/com/example/android/rssreader/RssReader.java b/samples/RSSReader/src/com/example/android/rssreader/RssReader.java index b3772bc09..768bbe3ca 100644 --- a/samples/RSSReader/src/com/example/android/rssreader/RssReader.java +++ b/samples/RSSReader/src/com/example/android/rssreader/RssReader.java @@ -284,7 +284,7 @@ public class RssReader extends ListActivity { mAdapter.add(mItem); } - // NOTE: Performance idea -- would be more efficient to have he option + // NOTE: Performance idea -- would be more efficient to have the option // to add multiple items at once, so you get less "update storm" in the UI // compared to adding things one at a time. } diff --git a/samples/Snake/src/com/example/android/snake/SnakeView.java b/samples/Snake/src/com/example/android/snake/SnakeView.java index a8e654ffb..81ff8e091 100755 --- a/samples/Snake/src/com/example/android/snake/SnakeView.java +++ b/samples/Snake/src/com/example/android/snake/SnakeView.java @@ -447,9 +447,9 @@ public class SnakeView extends TileView { } /** - * Figure out which way the snake is going, see if he's run into anything (the walls, himself, - * or an apple). If he's not going to die, we then add to the front and subtract from the rear - * in order to simulate motion. If we want to grow him, we don't subtract from the rear. + * Figure out which way the snake is going, see if they've run into anything (the walls, themself, + * or an apple). If they're not going to die, we then add to the front and subtract from the rear + * in order to simulate motion. If we want to grow them, we don't subtract from the rear. */ private void updateSnake() { boolean growSnake = false; diff --git a/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/WeatherDataProvider.java b/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/WeatherDataProvider.java index ede0039f7..8aa98584e 100644 --- a/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/WeatherDataProvider.java +++ b/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/WeatherDataProvider.java @@ -30,7 +30,7 @@ import android.net.Uri; import java.util.ArrayList; /** - * A dummy class that we are going to use internally to store weather data. Generally, this data + * A placeholder class that we are going to use internally to store weather data. Generally, this data * will be stored in an external and persistent location (ie. File, Database, SharedPreferences) so * that the data can persist if the process is ever killed. For simplicity, in this sample the * data will only be stored in memory. diff --git a/samples/XmlAdapters/src/com/example/android/xmladapters/ImageDownloader.java b/samples/XmlAdapters/src/com/example/android/xmladapters/ImageDownloader.java index 6e408cca8..fa42ed120 100644 --- a/samples/XmlAdapters/src/com/example/android/xmladapters/ImageDownloader.java +++ b/samples/XmlAdapters/src/com/example/android/xmladapters/ImageDownloader.java @@ -131,7 +131,7 @@ public class ImageDownloader { * Kept private at the moment as its interest is not clear. */ private void forceDownload(String url, ImageView imageView, String cookie) { - // State sanity: url is guaranteed to never be null in DownloadedDrawable and cache keys. + // State validity: url is guaranteed to never be null in DownloadedDrawable and cache keys. if (url == null) { imageView.setImageDrawable(null); return; diff --git a/samples/XmlAdapters/src/com/example/android/xmladapters/XmlDocumentProvider.java b/samples/XmlAdapters/src/com/example/android/xmladapters/XmlDocumentProvider.java index bf3b7eac4..9f140b5f2 100644 --- a/samples/XmlAdapters/src/com/example/android/xmladapters/XmlDocumentProvider.java +++ b/samples/XmlAdapters/src/com/example/android/xmladapters/XmlDocumentProvider.java @@ -103,7 +103,7 @@ import java.util.regex.Pattern; *
  * <library>
  *   <book id="EH94">
- *     <title>The Old Man and the Sea</title>
+ *     <title>The Old Person and the Sea</title>
  *     <author>Ernest Hemingway</author>
  *   </book>
  *   <book id="XX10">
diff --git a/samples/browseable/ActionBarCompat-ListPopupMenu/src/com.example.android.actionbarcompat.listpopupmenu/Cheeses.java b/samples/browseable/ActionBarCompat-ListPopupMenu/src/com.example.android.actionbarcompat.listpopupmenu/Cheeses.java
index 5ef11616b..8830b48da 100644
--- a/samples/browseable/ActionBarCompat-ListPopupMenu/src/com.example.android.actionbarcompat.listpopupmenu/Cheeses.java
+++ b/samples/browseable/ActionBarCompat-ListPopupMenu/src/com.example.android.actionbarcompat.listpopupmenu/Cheeses.java
@@ -17,7 +17,7 @@
 package com.example.android.actionbarcompat.listpopupmenu;
 
 /**
- * Dummy data.
+ * Placeholder data.
  */
 public class Cheeses {
     public static final String[] CHEESES = {
diff --git a/samples/browseable/ActionBarCompat-ListPopupMenu/src/com.example.android.actionbarcompat.listpopupmenu/PopupListFragment.java b/samples/browseable/ActionBarCompat-ListPopupMenu/src/com.example.android.actionbarcompat.listpopupmenu/PopupListFragment.java
index 754bf224e..862763b55 100644
--- a/samples/browseable/ActionBarCompat-ListPopupMenu/src/com.example.android.actionbarcompat.listpopupmenu/PopupListFragment.java
+++ b/samples/browseable/ActionBarCompat-ListPopupMenu/src/com.example.android.actionbarcompat.listpopupmenu/PopupListFragment.java
@@ -38,7 +38,7 @@ public class PopupListFragment extends ListFragment implements View.OnClickListe
     public void onActivityCreated(Bundle savedInstanceState) {
         super.onActivityCreated(savedInstanceState);
 
-        // We want to allow modifications to the list so copy the dummy data array into an ArrayList
+        // We want to allow modifications to the list so copy the placeholder data array into an ArrayList
         ArrayList items = new ArrayList();
         for (int i = 0, z = Cheeses.CHEESES.length ; i < z ; i++) {
             items.add(Cheeses.CHEESES[i]);
diff --git a/samples/browseable/CardEmulation/src/com.example.android.cardemulation/CardService.java b/samples/browseable/CardEmulation/src/com.example.android.cardemulation/CardService.java
index a409d28f4..123785ed3 100644
--- a/samples/browseable/CardEmulation/src/com.example.android.cardemulation/CardService.java
+++ b/samples/browseable/CardEmulation/src/com.example.android.cardemulation/CardService.java
@@ -65,7 +65,7 @@ public class CardService extends HostApduService {
      * This method will be called when a command APDU has been received from a remote device. A
      * response APDU can be provided directly by returning a byte-array in this method. In general
      * response APDUs must be sent as quickly as possible, given the fact that the user is likely
-     * holding his device over an NFC reader when this method is called.
+     * holding their device over an NFC reader when this method is called.
      *
      * 

If there are multiple services that have registered for the same AIDs in * their meta-data entry, you will only get called if the user has explicitly selected your diff --git a/samples/browseable/CustomChoiceList/src/com.example.android.customchoicelist/Cheeses.java b/samples/browseable/CustomChoiceList/src/com.example.android.customchoicelist/Cheeses.java index 871ae2929..21b3f6bd0 100644 --- a/samples/browseable/CustomChoiceList/src/com.example.android.customchoicelist/Cheeses.java +++ b/samples/browseable/CustomChoiceList/src/com.example.android.customchoicelist/Cheeses.java @@ -17,7 +17,7 @@ package com.example.android.customchoicelist; /** - * Dummy data. + * Placeholder data. */ public class Cheeses { public static final String[] CHEESES = { diff --git a/samples/browseable/DirectShare/src/com.example.android.directshare/Contact.java b/samples/browseable/DirectShare/src/com.example.android.directshare/Contact.java index 4a1665e36..9e2347687 100644 --- a/samples/browseable/DirectShare/src/com.example.android.directshare/Contact.java +++ b/samples/browseable/DirectShare/src/com.example.android.directshare/Contact.java @@ -17,13 +17,13 @@ package com.example.android.directshare; /** - * Provides the list of dummy contacts. This sample implements this as constants, but real-life apps + * Provides the list of placeholder contacts. This sample implements this as constants, but real-life apps * should use a database and such. */ public class Contact { /** - * The list of dummy contacts. + * The list of placeholder contacts. */ public static final Contact[] CONTACTS = { new Contact("Tereasa"), diff --git a/samples/browseable/DirectShare/src/com.example.android.directshare/SendMessageActivity.java b/samples/browseable/DirectShare/src/com.example.android.directshare/SendMessageActivity.java index d291172e6..39826d4f9 100644 --- a/samples/browseable/DirectShare/src/com.example.android.directshare/SendMessageActivity.java +++ b/samples/browseable/DirectShare/src/com.example.android.directshare/SendMessageActivity.java @@ -141,7 +141,7 @@ public class SendMessageActivity extends Activity { }; /** - * Pretends to send the text to the contact. This only shows a dummy message. + * Pretends to send the text to the contact. This only shows a placeholder message. */ private void send() { Toast.makeText(this, diff --git a/samples/browseable/HorizontalPaging/src/com.example.android.horizontalpaging/MainActivity.java b/samples/browseable/HorizontalPaging/src/com.example.android.horizontalpaging/MainActivity.java index fdd4495f3..3a12ba322 100644 --- a/samples/browseable/HorizontalPaging/src/com.example.android.horizontalpaging/MainActivity.java +++ b/samples/browseable/HorizontalPaging/src/com.example.android.horizontalpaging/MainActivity.java @@ -193,7 +193,7 @@ public class MainActivity extends FragmentActivity implements ActionBar.TabListe } /** - * A dummy fragment representing a section of the app, but that simply displays dummy text. + * A placeholder fragment representing a section of the app, but that simply displays placeholder text. * This would be replaced with your application's content. */ public static class DummySectionFragment extends Fragment { diff --git a/samples/browseable/JumpingJack/src/com.example.android.wearable.jumpingjack/MainActivity.java b/samples/browseable/JumpingJack/src/com.example.android.wearable.jumpingjack/MainActivity.java index f1589c73d..9ee13efb8 100644 --- a/samples/browseable/JumpingJack/src/com.example.android.wearable.jumpingjack/MainActivity.java +++ b/samples/browseable/JumpingJack/src/com.example.android.wearable.jumpingjack/MainActivity.java @@ -59,7 +59,7 @@ public class MainActivity extends Activity private static final long TIME_THRESHOLD_NS = 2000000000; // in nanoseconds (= 2sec) /** - * Earth gravity is around 9.8 m/s^2 but user may not completely direct his/her hand vertical + * Earth gravity is around 9.8 m/s^2 but user may not completely direct their hand vertical * during the exercise so we leave some room. Basically if the x-component of gravity, as * measured by the Gravity sensor, changes with a variation (delta) > GRAVITY_THRESHOLD, * we consider that a successful count. diff --git a/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/MainActivity.java b/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/MainActivity.java index 7abc538cf..f6b7da439 100644 --- a/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/MainActivity.java +++ b/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/MainActivity.java @@ -49,7 +49,7 @@ import common.activities.SampleActivityBase; * Contacts permissions (({@link android.Manifest.permission#READ_CONTACTS} and ({@link * android.Manifest.permission#WRITE_CONTACTS})) are requested when the 'Show and Add Contacts' * button is - * clicked to display the first contact in the contacts database and to add a dummy contact + * clicked to display the first contact in the contacts database and to add a placeholder contact * directly to it. Permissions are verified and requested through compat helpers in the support v4 * library, in this Activity using {@link ActivityCompat}. * First, permissions are checked if they have already been granted through {@link diff --git a/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/contacts/ContactsFragment.java b/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/contacts/ContactsFragment.java index 19f54fb9a..f69251cbb 100644 --- a/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/contacts/ContactsFragment.java +++ b/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/contacts/ContactsFragment.java @@ -40,7 +40,7 @@ import android.widget.TextView; import java.util.ArrayList; /** - * Displays the first contact stored on the device and contains an option to add a dummy contact. + * Displays the first contact stored on the device and contains an option to add a placeholder contact. *

* This Fragment is only used to illustrate that access to the Contacts ContentProvider API has * been granted (or denied) as part of the runtime permissions model. It is not relevant for the @@ -85,7 +85,7 @@ public class ContactsFragment extends Fragment implements LoaderManager.LoaderCa mMessageText = (TextView) rootView.findViewById(R.id.contact_message); - // Register a listener to add a dummy contact when a button is clicked. + // Register a listener to add a placeholder contact when a button is clicked. Button button = (Button) rootView.findViewById(R.id.contact_add); button.setOnClickListener(new View.OnClickListener() { @Override diff --git a/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/PhoneMainActivity.java b/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/PhoneMainActivity.java index b915d26d0..be0cee424 100644 --- a/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/PhoneMainActivity.java +++ b/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/PhoneMainActivity.java @@ -42,7 +42,7 @@ import java.util.List; /** * The main activity for the handset application. When a watch device reconnects to the handset - * app, the collected GPS data on the watch, if any, is synced up and user can see his/her track on + * app, the collected GPS data on the watch, if any, is synced up and user can see their track on * a map. This data is then saved into an internal database and the corresponding data items are * deleted. */ diff --git a/samples/browseable/StorageProvider/src/com.example.android.storageprovider/MyCloudProvider.java b/samples/browseable/StorageProvider/src/com.example.android.storageprovider/MyCloudProvider.java index 9f9249a33..d76bd6754 100644 --- a/samples/browseable/StorageProvider/src/com.example.android.storageprovider/MyCloudProvider.java +++ b/samples/browseable/StorageProvider/src/com.example.android.storageprovider/MyCloudProvider.java @@ -545,7 +545,7 @@ public class MyCloudProvider extends DocumentsProvider { /** * Preload sample files packaged in the apk into the internal storage directory. This is a - * dummy function specific to this demo. The MyCloud mock cloud service doesn't actually + * placeholder function specific to this demo. The MyCloud mock cloud service doesn't actually * have a backend, so it simulates by reading content from the device's internal storage. */ private void writeDummyFilesToStorage() { @@ -570,7 +570,7 @@ public class MyCloudProvider extends DocumentsProvider { } /** - * Write a file to internal storage. Used to set up our dummy "cloud server". + * Write a file to internal storage. Used to set up our placeholder "cloud server". * * @param resId the resource ID of the file to write to internal storage * @param extension the file extension (ex. .png, .mp3) @@ -608,7 +608,7 @@ public class MyCloudProvider extends DocumentsProvider { } /** - * Dummy function to determine whether the user is logged in. + * Placeholder function to determine whether the user is logged in. */ private boolean isUserLoggedIn() { final SharedPreferences sharedPreferences = diff --git a/samples/browseable/StorageProvider/src/com.example.android.storageprovider/StorageProviderFragment.java b/samples/browseable/StorageProvider/src/com.example.android.storageprovider/StorageProviderFragment.java index 80d0296d5..ace024297 100644 --- a/samples/browseable/StorageProvider/src/com.example.android.storageprovider/StorageProviderFragment.java +++ b/samples/browseable/StorageProvider/src/com.example.android.storageprovider/StorageProviderFragment.java @@ -70,7 +70,7 @@ public class StorageProviderFragment extends Fragment { } /** - * Dummy function to change the user's authorization status. + * Placeholder function to change the user's authorization status. */ private void toggleLogin() { // Replace this with your standard method of authentication to determine if your app @@ -81,7 +81,7 @@ public class StorageProviderFragment extends Fragment { } /** - * Dummy function to save whether the user is logged in. + * Placeholder function to save whether the user is logged in. */ private void writeLoginValue(boolean loggedIn) { final SharedPreferences sharedPreferences = @@ -91,7 +91,7 @@ public class StorageProviderFragment extends Fragment { } /** - * Dummy function to determine whether the user is logged in. + * Placeholder function to determine whether the user is logged in. */ private boolean readLoginValue() { final SharedPreferences sharedPreferences = diff --git a/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/dummydata/Cheeses.java b/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/dummydata/Cheeses.java index 783735ce3..3b7fcefea 100644 --- a/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/dummydata/Cheeses.java +++ b/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/dummydata/Cheeses.java @@ -21,7 +21,7 @@ import java.util.HashSet; import java.util.Random; /** - * Dummy data. + * Placeholder data. */ public class Cheeses { static final String[] CHEESES = { diff --git a/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.swiperefreshlayoutbasic/SwipeRefreshLayoutBasicFragment.java b/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.swiperefreshlayoutbasic/SwipeRefreshLayoutBasicFragment.java index 13b22f5ca..69133588a 100644 --- a/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.swiperefreshlayoutbasic/SwipeRefreshLayoutBasicFragment.java +++ b/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.swiperefreshlayoutbasic/SwipeRefreshLayoutBasicFragment.java @@ -203,7 +203,7 @@ public class SwipeRefreshLayoutBasicFragment extends Fragment { // END_INCLUDE (refresh_complete) /** - * Dummy {@link AsyncTask} which simulates a long running task to fetch new cheeses. + * Placeholder {@link AsyncTask} which simulates a long running task to fetch new cheeses. */ private class DummyBackgroundTask extends AsyncTask> { diff --git a/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/dummydata/Cheeses.java b/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/dummydata/Cheeses.java index 783735ce3..3b7fcefea 100644 --- a/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/dummydata/Cheeses.java +++ b/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/dummydata/Cheeses.java @@ -21,7 +21,7 @@ import java.util.HashSet; import java.util.Random; /** - * Dummy data. + * Placeholder data. */ public class Cheeses { static final String[] CHEESES = { diff --git a/samples/browseable/SwipeRefreshListFragment/src/com.example.android.swiperefreshlistfragment/SwipeRefreshListFragmentFragment.java b/samples/browseable/SwipeRefreshListFragment/src/com.example.android.swiperefreshlistfragment/SwipeRefreshListFragmentFragment.java index 1147ea819..900ed663c 100644 --- a/samples/browseable/SwipeRefreshListFragment/src/com.example.android.swiperefreshlistfragment/SwipeRefreshListFragmentFragment.java +++ b/samples/browseable/SwipeRefreshListFragment/src/com.example.android.swiperefreshlistfragment/SwipeRefreshListFragmentFragment.java @@ -200,7 +200,7 @@ public class SwipeRefreshListFragmentFragment extends SwipeRefreshListFragment { // END_INCLUDE (refresh_complete) /** - * Dummy {@link AsyncTask} which simulates a long running task to fetch new cheeses. + * Placeholder {@link AsyncTask} which simulates a long running task to fetch new cheeses. */ private class DummyBackgroundTask extends AsyncTask> { diff --git a/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/dummydata/Cheeses.java b/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/dummydata/Cheeses.java index 783735ce3..3b7fcefea 100644 --- a/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/dummydata/Cheeses.java +++ b/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/dummydata/Cheeses.java @@ -21,7 +21,7 @@ import java.util.HashSet; import java.util.Random; /** - * Dummy data. + * Placeholder data. */ public class Cheeses { static final String[] CHEESES = { diff --git a/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.swiperefreshmultipleviews/SwipeRefreshMultipleViewsFragment.java b/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.swiperefreshmultipleviews/SwipeRefreshMultipleViewsFragment.java index 7bb29c847..d470d3760 100644 --- a/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.swiperefreshmultipleviews/SwipeRefreshMultipleViewsFragment.java +++ b/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.swiperefreshmultipleviews/SwipeRefreshMultipleViewsFragment.java @@ -220,7 +220,7 @@ public class SwipeRefreshMultipleViewsFragment extends Fragment { // END_INCLUDE (refresh_complete) /** - * Dummy {@link AsyncTask} which simulates a long running task to fetch new cheeses. + * Placeholder {@link AsyncTask} which simulates a long running task to fetch new cheeses. */ private class DummyBackgroundTask extends AsyncTask> { diff --git a/samples/browseable/WearSpeakerSample/src/com.example.android.wearable.speaker/MainActivity.java b/samples/browseable/WearSpeakerSample/src/com.example.android.wearable.speaker/MainActivity.java index e7a4870fe..49511dfb8 100644 --- a/samples/browseable/WearSpeakerSample/src/com.example.android.wearable.speaker/MainActivity.java +++ b/samples/browseable/WearSpeakerSample/src/com.example.android.wearable.speaker/MainActivity.java @@ -202,7 +202,7 @@ public class MainActivity extends WearableActivity implements UIAnimation.UIStat start(); } else { // Permission has been denied before. At this point we should show a dialog to - // user and explain why this permission is needed and direct him to go to the + // user and explain why this permission is needed and direct them to go to the // Permissions settings for the app in the System settings. For this sample, we // simply exit to get to the important part. Toast.makeText(this, R.string.exiting_for_permissions, Toast.LENGTH_LONG).show(); diff --git a/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/service/UtilityService.java b/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/service/UtilityService.java index 8a4fea56a..1a30dd5e5 100644 --- a/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/service/UtilityService.java +++ b/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/service/UtilityService.java @@ -67,7 +67,7 @@ public class UtilityService extends IntentService { } /** - * Trigger a message that asks the master device to start an activity. + * Trigger a message that asks the manager device to start an activity. * * @param context the context * @param path the path that will be sent via the wearable message API diff --git a/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/DynamicListView.java b/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/DynamicListView.java index 580fe64b6..3464f6240 100644 --- a/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/DynamicListView.java +++ b/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/DynamicListView.java @@ -450,7 +450,7 @@ public class DynamicListView extends ListView { /** * This TypeEvaluator is used to animate the BitmapDrawable back to its - * final location when the user lifts his finger by modifying the + * final location when the user lifts their finger by modifying the * BitmapDrawable's bounds. */ private final static TypeEvaluator sBoundEvaluator = new TypeEvaluator() { diff --git a/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/ToonGame.java b/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/ToonGame.java index b03eeeb17..1c4eddcb5 100644 --- a/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/ToonGame.java +++ b/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/ToonGame.java @@ -42,7 +42,7 @@ import android.widget.Button; * interactive, fun, and engaging experience. * * This main activity launches a sub-activity when the Play button is clicked. The - * main action in this master activity is bouncing the Play button in, randomly + * main action in this manager activity is bouncing the Play button in, randomly * bouncing it while waiting for input, and animating its press and click behaviors * when the user interacts with it. * diff --git a/samples/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/MainActivity.java b/samples/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/MainActivity.java index 832118160..c188b24b7 100644 --- a/samples/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/MainActivity.java +++ b/samples/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/MainActivity.java @@ -101,7 +101,7 @@ public class MainActivity extends FragmentActivity implements LoaderCallbacks - + - + - + This class is used by the {@link CardFlipActivity} and {@link * ScreenSlideActivity} samples.

diff --git a/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/CollectionDemoActivity.java b/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/CollectionDemoActivity.java index 641d1a493..b5c4c6df8 100755 --- a/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/CollectionDemoActivity.java +++ b/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/CollectionDemoActivity.java @@ -129,7 +129,7 @@ public class CollectionDemoActivity extends FragmentActivity { } /** - * A dummy fragment representing a section of the app, but that simply displays dummy text. + * A placeholder fragment representing a section of the app, but that simply displays placeholder text. */ public static class DemoObjectFragment extends Fragment { diff --git a/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/MainActivity.java b/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/MainActivity.java index a560ee4e4..023a1fc68 100755 --- a/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/MainActivity.java +++ b/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/MainActivity.java @@ -123,7 +123,7 @@ public class MainActivity extends FragmentActivity implements ActionBar.TabListe return new LaunchpadSectionFragment(); default: - // The other sections of the app are dummy placeholders. + // The other sections of the app are placeholder placeholders. Fragment fragment = new DummySectionFragment(); Bundle args = new Bundle(); args.putInt(DummySectionFragment.ARG_SECTION_NUMBER, i + 1); @@ -185,7 +185,7 @@ public class MainActivity extends FragmentActivity implements ActionBar.TabListe } /** - * A dummy fragment representing a section of the app, but that simply displays dummy text. + * A placeholder fragment representing a section of the app, but that simply displays placeholder text. */ public static class DummySectionFragment extends Fragment { diff --git a/samples/training/TabCompat/src/com/example/android/tabcompat/lib/TabHelperEclair.java b/samples/training/TabCompat/src/com/example/android/tabcompat/lib/TabHelperEclair.java index fc8e9cdda..fafbc71ea 100644 --- a/samples/training/TabCompat/src/com/example/android/tabcompat/lib/TabHelperEclair.java +++ b/samples/training/TabCompat/src/com/example/android/tabcompat/lib/TabHelperEclair.java @@ -35,7 +35,7 @@ import java.util.HashMap; * It implements a generic mechanism for associating fragments with the tabs in a tab host. It * relies on a trick: Normally a tab host has a simple API for supplying a View or Intent that each * tab will show. This is not sufficient for switching between fragments. So instead we make the - * content part of the tab host 0dp high (it is not shown) and this supplies its own dummy view to + * content part of the tab host 0dp high (it is not shown) and this supplies its own placeholder view to * show as the tab content. It listens to changes in tabs, then passes the event back to the tab's * callback interface so the activity can take care of switching to the correct fragment. */