From 50532de03f8fdad7ba161cbc3a6092e1845ef2a9 Mon Sep 17 00:00:00 2001 From: Andy Wickham Date: Wed, 2 Jul 2014 14:23:37 -0700 Subject: [PATCH] Add AOSP Copyright header to samples. Bug: 16039713 Change-Id: I0aead1428c7c6a100214dabb85dbf357e37fcfc8 --- .../Application/src/main/AndroidManifest.xml | 15 +++++++++++++++ .../agendadata/CalendarQueryService.java | 16 ++++++++++++++++ .../wearable/agendadata/Constants.java | 16 ++++++++++++++++ .../wearable/agendadata/MainActivity.java | 16 ++++++++++++++++ .../Application/src/main/res/layout/main.xml | 15 +++++++++++++++ .../src/main/res/values/strings.xml | 15 +++++++++++++++ .../src/main/res/values/styles.xml | 16 ++++++++++++++++ .../Wearable/src/main/AndroidManifest.xml | 15 +++++++++++++++ .../wearable/agendadata/Constants.java | 16 ++++++++++++++++ .../wearable/agendadata/DeleteService.java | 18 +++++++++++++++++- .../agendadata/HomeListenerService.java | 16 ++++++++++++++++ .../Wearable/src/main/res/values/strings.xml | 15 +++++++++++++++ .../Application/src/main/AndroidManifest.xml | 15 +++++++++++++++ .../wearable/datalayer/MainActivity.java | 16 ++++++++++++++++ .../src/main/res/drawable/divider.xml | 16 +++++++++++++++- .../src/main/res/layout/main_activity.xml | 16 +++++++++++++++- .../src/main/res/values/strings.xml | 15 +++++++++++++++ .../Application/src/main/res/values/style.xml | 17 ++++++++++++++++- .../Wearable/src/main/AndroidManifest.xml | 15 +++++++++++++++ .../datalayer/DataLayerListenerService.java | 16 ++++++++++++++++ .../wearable/datalayer/MainActivity.java | 16 ++++++++++++++++ .../src/main/res/layout/main_activity.xml | 17 ++++++++++++++++- .../Wearable/src/main/res/values/strings.xml | 15 +++++++++++++++ .../Application/src/main/AndroidManifest.xml | 15 +++++++++++++++ .../delayedconfirmation/MainActivity.java | 16 ++++++++++++++++ .../src/main/res/layout/main_activity.xml | 15 +++++++++++++++ .../src/main/res/values/strings.xml | 15 +++++++++++++++ .../Wearable/src/main/AndroidManifest.xml | 15 +++++++++++++++ .../delayedconfirmation/MainActivity.java | 16 ++++++++++++++++ .../WearableMessageListenerService.java | 16 ++++++++++++++++ .../src/main/res/layout/main_activity.xml | 15 +++++++++++++++ .../Wearable/src/main/res/values/dimens.xml | 16 ++++++++++++++++ .../Wearable/src/main/res/values/strings.xml | 15 +++++++++++++++ .../Application/src/main/AndroidManifest.xml | 15 +++++++++++++++ .../wearable/elizachat/ElizaResponder.java | 16 ++++++++++++++++ .../wearable/elizachat/MainActivity.java | 16 ++++++++++++++++ .../wearable/elizachat/ResponderService.java | 18 +++++++++++++++++- .../Application/src/main/res/menu/main.xml | 17 ++++++++++++++++- .../src/main/res/values/dimens.xml | 16 ++++++++++++++++ .../src/main/res/values/strings.xml | 15 +++++++++++++++ .../src/main/res/values/styles.xml | 16 ++++++++++++++++ .../Application/src/main/AndroidManifest.xml | 15 +++++++++++++++ .../src/main/res/layout/activity_phone.xml | 16 ++++++++++++++++ .../src/main/res/values/dimens.xml | 16 ++++++++++++++++ .../src/main/res/values/strings.xml | 15 +++++++++++++++ .../Wearable/src/main/AndroidManifest.xml | 15 +++++++++++++++ .../src/main/res/layout/activity_wearable.xml | 16 ++++++++++++++++ .../Wearable/src/main/res/values/strings.xml | 15 +++++++++++++++ .../Application/src/main/AndroidManifest.xml | 15 +++++++++++++++ .../findphone/SoundAlarmListenerService.java | 16 ++++++++++++++++ .../src/main/res/values/strings.xml | 17 ++++++++++++++++- .../Wearable/src/main/AndroidManifest.xml | 15 +++++++++++++++ .../findphone/DisconnectListenerService.java | 16 ++++++++++++++++ .../wearable/findphone/FindPhoneActivity.java | 18 +++++++++++++++++- .../wearable/findphone/FindPhoneService.java | 16 ++++++++++++++++ .../Wearable/src/main/res/values/strings.xml | 15 +++++++++++++++ .../Wearable/src/main/AndroidManifest.xml | 15 +++++++++++++++ .../wearable/flashlight/MainActivity.java | 16 ++++++++++++++++ .../wearable/flashlight/PartyLightView.java | 16 ++++++++++++++++ .../Wearable/src/main/res/layout/main.xml | 15 +++++++++++++++ .../src/main/res/layout/party_light.xml | 15 +++++++++++++++ .../src/main/res/layout/white_light.xml | 15 +++++++++++++++ .../Wearable/src/main/res/values/strings.xml | 16 ++++++++++++++++ .../Application/src/main/AndroidManifest.xml | 15 +++++++++++++++ .../wearable/geofencing/Constants.java | 16 ++++++++++++++++ .../GeofenceTransitionsIntentService.java | 16 ++++++++++++++++ .../wearable/geofencing/MainActivity.java | 16 ++++++++++++++++ .../wearable/geofencing/SimpleGeofence.java | 16 ++++++++++++++++ .../geofencing/SimpleGeofenceStore.java | 18 +++++++++++++++++- .../src/main/res/values/strings.xml | 15 +++++++++++++++ .../Wearable/src/main/AndroidManifest.xml | 15 +++++++++++++++ .../CheckInAndDeleteDataItemsService.java | 18 +++++++++++++++++- .../wearable/geofencing/Constants.java | 16 ++++++++++++++++ .../geofencing/HomeListenerService.java | 16 ++++++++++++++++ .../Wearable/src/main/res/values/strings.xml | 15 +++++++++++++++ .../Wearable/src/main/AndroidManifest.xml | 15 +++++++++++++++ .../wearable/gridviewpager/MainActivity.java | 1 + .../gridviewpager/SampleGridPagerAdapter.java | 1 + .../src/main/res/layout/activity_main.xml | 16 ++++++++++++++++ .../Wearable/src/main/res/values/dimens.xml | 16 ++++++++++++++++ .../Wearable/src/main/res/values/strings.xml | 17 ++++++++++++++++- .../Wearable/src/main/AndroidManifest.xml | 15 +++++++++++++++ .../src/main/res/drawable/submit_button.xml | 17 ++++++++++++++++- .../src/main/res/layout/counter_layout.xml | 16 +++++++++++++++- .../src/main/res/layout/jj_layout.xml | 14 ++++++++++++++ .../src/main/res/layout/setting_layout.xml | 16 +++++++++++++++- .../Wearable/src/main/res/values/colors.xml | 17 ++++++++++++++++- .../Wearable/src/main/res/values/dimens.xml | 16 ++++++++++++++++ .../Wearable/src/main/res/values/strings.xml | 15 +++++++++++++++ .../Application/src/main/AndroidManifest.xml | 15 +++++++++++++++ .../wearable/notifications/ActionsPreset.java | 16 ++++++++++++++++ .../notifications/ActionsPresets.java | 16 ++++++++++++++++ .../notifications/BackgroundPickers.java | 16 ++++++++++++++++ .../wearable/notifications/MainActivity.java | 16 ++++++++++++++++ .../wearable/notifications/NamedPreset.java | 16 ++++++++++++++++ .../NotificationIntentReceiver.java | 16 ++++++++++++++++ .../notifications/NotificationPreset.java | 16 ++++++++++++++++ .../notifications/NotificationPresets.java | 16 ++++++++++++++++ .../notifications/NotificationUtil.java | 16 ++++++++++++++++ .../notifications/PriorityPreset.java | 16 ++++++++++++++++ .../notifications/PriorityPresets.java | 16 ++++++++++++++++ .../main/res/drawable/selected_background.xml | 16 +++++++++++++++- .../res/drawable/unselected_background.xml | 16 +++++++++++++++- .../src/main/res/layout/activity_main.xml | 16 ++++++++++++++++ .../src/main/res/layout/background_picker.xml | 16 +++++++++++++++- .../src/main/res/layout/layout_divider.xml | 15 +++++++++++++++ .../main/res/layout/simple_spinner_item.xml | 15 +++++++++++++++ .../src/main/res/values/colors.xml | 15 +++++++++++++++ .../src/main/res/values/dimens.xml | 16 ++++++++++++++++ .../src/main/res/values/strings.xml | 15 +++++++++++++++ .../src/main/res/values/styles.xml | 16 ++++++++++++++++ .../Wearable/src/main/AndroidManifest.xml | 15 +++++++++++++++ .../AnimatedNotificationDisplayActivity.java | 16 ++++++++++++++++ .../BasicNotificationDisplayActivity.java | 16 ++++++++++++++++ .../wearable/notifications/MainActivity.java | 16 ++++++++++++++++ .../notifications/NotificationPreset.java | 16 ++++++++++++++++ .../notifications/NotificationPresets.java | 16 ++++++++++++++++ .../notifications/WearableListItemLayout.java | 16 ++++++++++++++++ .../src/main/res/drawable/wl_circle.xml | 15 +++++++++++++++ ...activity_animated_notification_display.xml | 15 +++++++++++++++ .../src/main/res/layout/activity_main.xml | 15 +++++++++++++++ .../layout/activity_notification_display.xml | 15 +++++++++++++++ .../res/layout/notif_preset_list_item.xml | 15 +++++++++++++++ .../Wearable/src/main/res/values/colors.xml | 15 +++++++++++++++ .../Wearable/src/main/res/values/dimens.xml | 16 ++++++++++++++++ .../Wearable/src/main/res/values/integers.xml | 15 +++++++++++++++ .../Wearable/src/main/res/values/strings.xml | 15 +++++++++++++++ .../Application/src/main/AndroidManifest.xml | 15 +++++++++++++++ .../android/wearable/quiz/Constants.java | 16 ++++++++++++++++ .../android/wearable/quiz/JsonUtils.java | 16 ++++++++++++++++ .../android/wearable/quiz/MainActivity.java | 16 ++++++++++++++++ .../main/res/drawable/selected_background.xml | 16 +++++++++++++++- .../res/drawable/unselected_background.xml | 16 +++++++++++++++- .../src/main/res/layout/activity_main.xml | 16 ++++++++++++++++ .../res/layout/question_status_element.xml | 16 +++++++++++++++- .../src/main/res/values/dimens.xml | 16 ++++++++++++++++ .../src/main/res/values/strings.xml | 15 +++++++++++++++ .../src/main/res/values/styles.xml | 16 ++++++++++++++++ .../Wearable/src/main/AndroidManifest.xml | 15 +++++++++++++++ .../android/wearable/quiz/Constants.java | 16 ++++++++++++++++ .../wearable/quiz/DeleteQuestionService.java | 16 ++++++++++++++++ .../wearable/quiz/QuizListenerService.java | 16 ++++++++++++++++ .../quiz/QuizReportActionService.java | 16 ++++++++++++++++ .../wearable/quiz/UpdateQuestionService.java | 16 ++++++++++++++++ .../Wearable/src/main/res/values/colors.xml | 17 ++++++++++++++++- .../Wearable/src/main/res/values/strings.xml | 15 +++++++++++++++ .../Application/src/main/AndroidManifest.xml | 15 +++++++++++++++ .../wearable/recipeassistant/AssetUtils.java | 17 ++++++++++++++++- .../wearable/recipeassistant/Constants.java | 16 ++++++++++++++++ .../recipeassistant/MainActivity.java | 15 +++++++++++++++ .../wearable/recipeassistant/Recipe.java | 16 ++++++++++++++++ .../recipeassistant/RecipeActivity.java | 16 ++++++++++++++++ .../recipeassistant/RecipeListAdapter.java | 16 ++++++++++++++++ .../recipeassistant/RecipeService.java | 16 ++++++++++++++++ .../src/main/res/layout/list_item.xml | 17 ++++++++++++++++- .../src/main/res/layout/recipe.xml | 17 ++++++++++++++++- .../src/main/res/layout/step_item.xml | 17 ++++++++++++++++- .../Application/src/main/res/menu/main.xml | 17 ++++++++++++++++- .../src/main/res/values/colors.xml | 15 +++++++++++++++ .../src/main/res/values/strings.xml | 15 +++++++++++++++ .../src/main/res/values/styles.xml | 18 +++++++++++++++++- .../Wearable/src/main/AndroidManifest.xml | 15 +++++++++++++++ .../google/wearable/app/MainActivity.java | 19 +++++++++++++++++-- .../src/main/res/layout/grid_activity.xml | 15 +++++++++++++++ .../src/main/res/layout/main_activity.xml | 14 ++++++++++++++ .../Wearable/src/main/res/values/dimens.xml | 16 ++++++++++++++++ .../Wearable/src/main/res/values/strings.xml | 15 +++++++++++++++ .../Application/src/main/AndroidManifest.xml | 17 ++++++++++++++++- .../src/main/res/layout/activity_phone.xml | 16 ++++++++++++++++ .../src/main/res/values/dimens.xml | 16 ++++++++++++++++ .../src/main/res/values/strings.xml | 15 +++++++++++++++ .../Wearable/src/main/AndroidManifest.xml | 15 +++++++++++++++ .../src/main/res/layout/activity_wearable.xml | 16 ++++++++++++++++ .../Wearable/src/main/res/values/strings.xml | 15 +++++++++++++++ .../Wearable/src/main/AndroidManifest.xml | 2 +- .../wearable/timer/SetTimerActivity.java | 2 +- .../timer/TimerNotificationService.java | 2 +- .../wearable/timer/util/Constants.java | 2 +- .../wearable/timer/util/TimerFormat.java | 2 +- .../android/wearable/timer/util/TimerObj.java | 3 +-- .../src/main/res/layout/timer_set_timer.xml | 2 +- .../Wearable/src/main/res/values/strings.xml | 2 +- .../Wearable/src/main/AndroidManifest.xml | 15 +++++++++++++++ .../wearable/watchviewstub/MainActivity.java | 19 +++++++++++++++++-- .../src/main/res/drawable/rect_background.xml | 16 +++++++++++++++- .../main/res/drawable/round_background.xml | 16 +++++++++++++++- .../src/main/res/layout/main_activity.xml | 14 ++++++++++++++ .../src/main/res/layout/rect_layout.xml | 16 +++++++++++++++- .../src/main/res/layout/round_layout.xml | 16 +++++++++++++++- .../Wearable/src/main/res/values/dimens.xml | 15 +++++++++++++++ .../Wearable/src/main/res/values/strings.xml | 15 +++++++++++++++ 191 files changed, 2828 insertions(+), 47 deletions(-) diff --git a/samples/wearable/AgendaData/Application/src/main/AndroidManifest.xml b/samples/wearable/AgendaData/Application/src/main/AndroidManifest.xml index 7f070ffd0..0f1e7dbef 100644 --- a/samples/wearable/AgendaData/Application/src/main/AndroidManifest.xml +++ b/samples/wearable/AgendaData/Application/src/main/AndroidManifest.xml @@ -1,4 +1,19 @@ + + diff --git a/samples/wearable/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/CalendarQueryService.java b/samples/wearable/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/CalendarQueryService.java index c55fb2c2e..c39a5ed1b 100644 --- a/samples/wearable/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/CalendarQueryService.java +++ b/samples/wearable/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/CalendarQueryService.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.agendadata; diff --git a/samples/wearable/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/Constants.java b/samples/wearable/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/Constants.java index 1b9a0f078..6dc6952ca 100644 --- a/samples/wearable/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/Constants.java +++ b/samples/wearable/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/Constants.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.agendadata; /** Constants used in companion app. */ diff --git a/samples/wearable/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/MainActivity.java b/samples/wearable/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/MainActivity.java index 046fc8d62..8e4063d8c 100644 --- a/samples/wearable/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/MainActivity.java +++ b/samples/wearable/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/MainActivity.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.agendadata; import static com.example.android.wearable.agendadata.Constants.TAG; diff --git a/samples/wearable/AgendaData/Application/src/main/res/layout/main.xml b/samples/wearable/AgendaData/Application/src/main/res/layout/main.xml index acd634024..8e82cdd45 100644 --- a/samples/wearable/AgendaData/Application/src/main/res/layout/main.xml +++ b/samples/wearable/AgendaData/Application/src/main/res/layout/main.xml @@ -1,4 +1,19 @@ + + + + Android Wear AgendaData Example Application Sync calendar events to wearable diff --git a/samples/wearable/AgendaData/Application/src/main/res/values/styles.xml b/samples/wearable/AgendaData/Application/src/main/res/values/styles.xml index 929c8f4aa..209e00f81 100644 --- a/samples/wearable/AgendaData/Application/src/main/res/values/styles.xml +++ b/samples/wearable/AgendaData/Application/src/main/res/values/styles.xml @@ -1,3 +1,19 @@ + + + - \ No newline at end of file + diff --git a/samples/wearable/DataLayer/Wearable/src/main/AndroidManifest.xml b/samples/wearable/DataLayer/Wearable/src/main/AndroidManifest.xml index b0357ffd7..8344b9054 100644 --- a/samples/wearable/DataLayer/Wearable/src/main/AndroidManifest.xml +++ b/samples/wearable/DataLayer/Wearable/src/main/AndroidManifest.xml @@ -1,4 +1,19 @@ + + diff --git a/samples/wearable/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/DataLayerListenerService.java b/samples/wearable/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/DataLayerListenerService.java index d82cb7eb4..64abaf54d 100644 --- a/samples/wearable/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/DataLayerListenerService.java +++ b/samples/wearable/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/DataLayerListenerService.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.datalayer; import android.content.Intent; diff --git a/samples/wearable/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/MainActivity.java b/samples/wearable/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/MainActivity.java index d9faa8df6..b3121352e 100644 --- a/samples/wearable/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/MainActivity.java +++ b/samples/wearable/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/MainActivity.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.datalayer; import static com.example.android.wearable.datalayer.DataLayerListenerService.LOGD; diff --git a/samples/wearable/DataLayer/Wearable/src/main/res/layout/main_activity.xml b/samples/wearable/DataLayer/Wearable/src/main/res/layout/main_activity.xml index e88c6d128..f98e6672a 100644 --- a/samples/wearable/DataLayer/Wearable/src/main/res/layout/main_activity.xml +++ b/samples/wearable/DataLayer/Wearable/src/main/res/layout/main_activity.xml @@ -1,4 +1,19 @@ + + - \ No newline at end of file + diff --git a/samples/wearable/DataLayer/Wearable/src/main/res/values/strings.xml b/samples/wearable/DataLayer/Wearable/src/main/res/values/strings.xml index 5582c7ab7..331e73604 100644 --- a/samples/wearable/DataLayer/Wearable/src/main/res/values/strings.xml +++ b/samples/wearable/DataLayer/Wearable/src/main/res/values/strings.xml @@ -1,4 +1,19 @@ + + Data Layer Sample Wearable App Waiting for data to arrive\u2026 diff --git a/samples/wearable/DelayedConfirmation/Application/src/main/AndroidManifest.xml b/samples/wearable/DelayedConfirmation/Application/src/main/AndroidManifest.xml index 8a9a28d9c..b682ef200 100644 --- a/samples/wearable/DelayedConfirmation/Application/src/main/AndroidManifest.xml +++ b/samples/wearable/DelayedConfirmation/Application/src/main/AndroidManifest.xml @@ -1,4 +1,19 @@ + + diff --git a/samples/wearable/DelayedConfirmation/Application/src/main/java/com/example/android/wearable/delayedconfirmation/MainActivity.java b/samples/wearable/DelayedConfirmation/Application/src/main/java/com/example/android/wearable/delayedconfirmation/MainActivity.java index 4bc17ba82..3ffda5374 100644 --- a/samples/wearable/DelayedConfirmation/Application/src/main/java/com/example/android/wearable/delayedconfirmation/MainActivity.java +++ b/samples/wearable/DelayedConfirmation/Application/src/main/java/com/example/android/wearable/delayedconfirmation/MainActivity.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.delayedconfirmation; import android.app.Activity; diff --git a/samples/wearable/DelayedConfirmation/Application/src/main/res/layout/main_activity.xml b/samples/wearable/DelayedConfirmation/Application/src/main/res/layout/main_activity.xml index 39f3a40b9..cbc1874fe 100644 --- a/samples/wearable/DelayedConfirmation/Application/src/main/res/layout/main_activity.xml +++ b/samples/wearable/DelayedConfirmation/Application/src/main/res/layout/main_activity.xml @@ -1,4 +1,19 @@ + + + + Delayed Confirmation Sample App Start Wearable Activity diff --git a/samples/wearable/DelayedConfirmation/Wearable/src/main/AndroidManifest.xml b/samples/wearable/DelayedConfirmation/Wearable/src/main/AndroidManifest.xml index 965d89ef0..239be9fd3 100644 --- a/samples/wearable/DelayedConfirmation/Wearable/src/main/AndroidManifest.xml +++ b/samples/wearable/DelayedConfirmation/Wearable/src/main/AndroidManifest.xml @@ -1,4 +1,19 @@ + + diff --git a/samples/wearable/DelayedConfirmation/Wearable/src/main/java/com/example/android/wearable/delayedconfirmation/MainActivity.java b/samples/wearable/DelayedConfirmation/Wearable/src/main/java/com/example/android/wearable/delayedconfirmation/MainActivity.java index 04865d721..f9b126db3 100644 --- a/samples/wearable/DelayedConfirmation/Wearable/src/main/java/com/example/android/wearable/delayedconfirmation/MainActivity.java +++ b/samples/wearable/DelayedConfirmation/Wearable/src/main/java/com/example/android/wearable/delayedconfirmation/MainActivity.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.delayedconfirmation; import android.app.Activity; diff --git a/samples/wearable/DelayedConfirmation/Wearable/src/main/java/com/example/android/wearable/delayedconfirmation/WearableMessageListenerService.java b/samples/wearable/DelayedConfirmation/Wearable/src/main/java/com/example/android/wearable/delayedconfirmation/WearableMessageListenerService.java index 881de2ef2..bb2ec9193 100644 --- a/samples/wearable/DelayedConfirmation/Wearable/src/main/java/com/example/android/wearable/delayedconfirmation/WearableMessageListenerService.java +++ b/samples/wearable/DelayedConfirmation/Wearable/src/main/java/com/example/android/wearable/delayedconfirmation/WearableMessageListenerService.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.delayedconfirmation; import android.content.Intent; diff --git a/samples/wearable/DelayedConfirmation/Wearable/src/main/res/layout/main_activity.xml b/samples/wearable/DelayedConfirmation/Wearable/src/main/res/layout/main_activity.xml index 970af037a..1b9bcb3eb 100644 --- a/samples/wearable/DelayedConfirmation/Wearable/src/main/res/layout/main_activity.xml +++ b/samples/wearable/DelayedConfirmation/Wearable/src/main/res/layout/main_activity.xml @@ -1,4 +1,19 @@ + + + + 10dp 5dp diff --git a/samples/wearable/DelayedConfirmation/Wearable/src/main/res/values/strings.xml b/samples/wearable/DelayedConfirmation/Wearable/src/main/res/values/strings.xml index ad9ce88b0..46f5326bc 100644 --- a/samples/wearable/DelayedConfirmation/Wearable/src/main/res/values/strings.xml +++ b/samples/wearable/DelayedConfirmation/Wearable/src/main/res/values/strings.xml @@ -1,4 +1,19 @@ + + Delayed Confirmation diff --git a/samples/wearable/ElizaChat/Application/src/main/AndroidManifest.xml b/samples/wearable/ElizaChat/Application/src/main/AndroidManifest.xml index cfb24be1b..dc06b5160 100644 --- a/samples/wearable/ElizaChat/Application/src/main/AndroidManifest.xml +++ b/samples/wearable/ElizaChat/Application/src/main/AndroidManifest.xml @@ -1,4 +1,19 @@ + + diff --git a/samples/wearable/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/ElizaResponder.java b/samples/wearable/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/ElizaResponder.java index 4062ae867..e6c054251 100644 --- a/samples/wearable/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/ElizaResponder.java +++ b/samples/wearable/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/ElizaResponder.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.elizachat; import android.text.TextUtils; diff --git a/samples/wearable/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/MainActivity.java b/samples/wearable/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/MainActivity.java index 3e5ab73c4..ef08e987a 100644 --- a/samples/wearable/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/MainActivity.java +++ b/samples/wearable/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/MainActivity.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.elizachat; import android.app.Activity; diff --git a/samples/wearable/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/ResponderService.java b/samples/wearable/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/ResponderService.java index 2320c7560..3bef19c6b 100644 --- a/samples/wearable/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/ResponderService.java +++ b/samples/wearable/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/ResponderService.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.elizachat; import android.app.Notification; @@ -129,4 +145,4 @@ public class ResponderService extends Service { mBroadcastManager = null; super.onDestroy(); } -} \ No newline at end of file +} diff --git a/samples/wearable/ElizaChat/Application/src/main/res/menu/main.xml b/samples/wearable/ElizaChat/Application/src/main/res/menu/main.xml index 2ec4cf776..b8e1ef2a5 100644 --- a/samples/wearable/ElizaChat/Application/src/main/res/menu/main.xml +++ b/samples/wearable/ElizaChat/Application/src/main/res/menu/main.xml @@ -1,4 +1,19 @@ + + - \ No newline at end of file + diff --git a/samples/wearable/ElizaChat/Application/src/main/res/values/dimens.xml b/samples/wearable/ElizaChat/Application/src/main/res/values/dimens.xml index 47c822467..a1e9cfe8a 100644 --- a/samples/wearable/ElizaChat/Application/src/main/res/values/dimens.xml +++ b/samples/wearable/ElizaChat/Application/src/main/res/values/dimens.xml @@ -1,3 +1,19 @@ + + + 16dp diff --git a/samples/wearable/ElizaChat/Application/src/main/res/values/strings.xml b/samples/wearable/ElizaChat/Application/src/main/res/values/strings.xml index 20a31d660..29130e61c 100644 --- a/samples/wearable/ElizaChat/Application/src/main/res/values/strings.xml +++ b/samples/wearable/ElizaChat/Application/src/main/res/values/strings.xml @@ -1,4 +1,19 @@ + + ElizaChat diff --git a/samples/wearable/ElizaChat/Application/src/main/res/values/styles.xml b/samples/wearable/ElizaChat/Application/src/main/res/values/styles.xml index ff6c9d2c0..e1edbe8d5 100644 --- a/samples/wearable/ElizaChat/Application/src/main/res/values/styles.xml +++ b/samples/wearable/ElizaChat/Application/src/main/res/values/styles.xml @@ -1,3 +1,19 @@ + + + diff --git a/samples/wearable/EmbeddedApp/Application/src/main/AndroidManifest.xml b/samples/wearable/EmbeddedApp/Application/src/main/AndroidManifest.xml index e71fdc6cf..aac2df8c5 100644 --- a/samples/wearable/EmbeddedApp/Application/src/main/AndroidManifest.xml +++ b/samples/wearable/EmbeddedApp/Application/src/main/AndroidManifest.xml @@ -1,4 +1,19 @@ + + diff --git a/samples/wearable/EmbeddedApp/Application/src/main/res/layout/activity_phone.xml b/samples/wearable/EmbeddedApp/Application/src/main/res/layout/activity_phone.xml index ae521d404..54ca57e56 100644 --- a/samples/wearable/EmbeddedApp/Application/src/main/res/layout/activity_phone.xml +++ b/samples/wearable/EmbeddedApp/Application/src/main/res/layout/activity_phone.xml @@ -1,3 +1,19 @@ + + + + + 16dp diff --git a/samples/wearable/EmbeddedApp/Application/src/main/res/values/strings.xml b/samples/wearable/EmbeddedApp/Application/src/main/res/values/strings.xml index 4f66e298b..0babff04d 100644 --- a/samples/wearable/EmbeddedApp/Application/src/main/res/values/strings.xml +++ b/samples/wearable/EmbeddedApp/Application/src/main/res/values/strings.xml @@ -1,4 +1,19 @@ + + EmbeddedApp Sample diff --git a/samples/wearable/EmbeddedApp/Wearable/src/main/AndroidManifest.xml b/samples/wearable/EmbeddedApp/Wearable/src/main/AndroidManifest.xml index 2ec0c7699..8c9ef4ece 100644 --- a/samples/wearable/EmbeddedApp/Wearable/src/main/AndroidManifest.xml +++ b/samples/wearable/EmbeddedApp/Wearable/src/main/AndroidManifest.xml @@ -1,4 +1,19 @@ + + diff --git a/samples/wearable/EmbeddedApp/Wearable/src/main/res/layout/activity_wearable.xml b/samples/wearable/EmbeddedApp/Wearable/src/main/res/layout/activity_wearable.xml index 4705505db..1f6a78a97 100644 --- a/samples/wearable/EmbeddedApp/Wearable/src/main/res/layout/activity_wearable.xml +++ b/samples/wearable/EmbeddedApp/Wearable/src/main/res/layout/activity_wearable.xml @@ -1,3 +1,19 @@ + + + + + EmbeddedApp Sample diff --git a/samples/wearable/FindMyPhone/Application/src/main/AndroidManifest.xml b/samples/wearable/FindMyPhone/Application/src/main/AndroidManifest.xml index 900ad5073..9df37e367 100644 --- a/samples/wearable/FindMyPhone/Application/src/main/AndroidManifest.xml +++ b/samples/wearable/FindMyPhone/Application/src/main/AndroidManifest.xml @@ -1,4 +1,19 @@ + + diff --git a/samples/wearable/FindMyPhone/Application/src/main/java/com/example/android/wearable/findphone/SoundAlarmListenerService.java b/samples/wearable/FindMyPhone/Application/src/main/java/com/example/android/wearable/findphone/SoundAlarmListenerService.java index c6dd4605b..c89db9d3c 100644 --- a/samples/wearable/FindMyPhone/Application/src/main/java/com/example/android/wearable/findphone/SoundAlarmListenerService.java +++ b/samples/wearable/FindMyPhone/Application/src/main/java/com/example/android/wearable/findphone/SoundAlarmListenerService.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.findphone; import android.media.AudioManager; diff --git a/samples/wearable/FindMyPhone/Application/src/main/res/values/strings.xml b/samples/wearable/FindMyPhone/Application/src/main/res/values/strings.xml index faf03effc..8db7cedcb 100644 --- a/samples/wearable/FindMyPhone/Application/src/main/res/values/strings.xml +++ b/samples/wearable/FindMyPhone/Application/src/main/res/values/strings.xml @@ -1,6 +1,21 @@ + + Find My Phone - \ No newline at end of file + diff --git a/samples/wearable/FindMyPhone/Wearable/src/main/AndroidManifest.xml b/samples/wearable/FindMyPhone/Wearable/src/main/AndroidManifest.xml index 7a8404428..81ef5897f 100644 --- a/samples/wearable/FindMyPhone/Wearable/src/main/AndroidManifest.xml +++ b/samples/wearable/FindMyPhone/Wearable/src/main/AndroidManifest.xml @@ -1,4 +1,19 @@ + + diff --git a/samples/wearable/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/DisconnectListenerService.java b/samples/wearable/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/DisconnectListenerService.java index dacd6087e..42237de3e 100644 --- a/samples/wearable/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/DisconnectListenerService.java +++ b/samples/wearable/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/DisconnectListenerService.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.findphone; import android.app.Notification; diff --git a/samples/wearable/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/FindPhoneActivity.java b/samples/wearable/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/FindPhoneActivity.java index 10e13451c..d4eb18bf4 100644 --- a/samples/wearable/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/FindPhoneActivity.java +++ b/samples/wearable/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/FindPhoneActivity.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.findphone; import android.app.Activity; @@ -68,4 +84,4 @@ public class FindPhoneActivity extends Activity { .notify(FIND_PHONE_NOTIFICATION_ID, notification.build()); } -} \ No newline at end of file +} diff --git a/samples/wearable/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/FindPhoneService.java b/samples/wearable/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/FindPhoneService.java index df0a724c1..e5fa6c0ca 100644 --- a/samples/wearable/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/FindPhoneService.java +++ b/samples/wearable/FindMyPhone/Wearable/src/main/java/com/example/android/wearable/findphone/FindPhoneService.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.findphone; import android.app.IntentService; diff --git a/samples/wearable/FindMyPhone/Wearable/src/main/res/values/strings.xml b/samples/wearable/FindMyPhone/Wearable/src/main/res/values/strings.xml index b72dc82b5..5c6debe44 100644 --- a/samples/wearable/FindMyPhone/Wearable/src/main/res/values/strings.xml +++ b/samples/wearable/FindMyPhone/Wearable/src/main/res/values/strings.xml @@ -1,4 +1,19 @@ + + Find My Phone diff --git a/samples/wearable/Flashlight/Wearable/src/main/AndroidManifest.xml b/samples/wearable/Flashlight/Wearable/src/main/AndroidManifest.xml index 1cec87180..bd240dd34 100644 --- a/samples/wearable/Flashlight/Wearable/src/main/AndroidManifest.xml +++ b/samples/wearable/Flashlight/Wearable/src/main/AndroidManifest.xml @@ -1,4 +1,19 @@ + + diff --git a/samples/wearable/Flashlight/Wearable/src/main/java/com/example/android/wearable/flashlight/MainActivity.java b/samples/wearable/Flashlight/Wearable/src/main/java/com/example/android/wearable/flashlight/MainActivity.java index 120e3a1f8..f87cae878 100644 --- a/samples/wearable/Flashlight/Wearable/src/main/java/com/example/android/wearable/flashlight/MainActivity.java +++ b/samples/wearable/Flashlight/Wearable/src/main/java/com/example/android/wearable/flashlight/MainActivity.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.flashlight; import android.app.Activity; diff --git a/samples/wearable/Flashlight/Wearable/src/main/java/com/example/android/wearable/flashlight/PartyLightView.java b/samples/wearable/Flashlight/Wearable/src/main/java/com/example/android/wearable/flashlight/PartyLightView.java index 7de13096c..33f061e15 100644 --- a/samples/wearable/Flashlight/Wearable/src/main/java/com/example/android/wearable/flashlight/PartyLightView.java +++ b/samples/wearable/Flashlight/Wearable/src/main/java/com/example/android/wearable/flashlight/PartyLightView.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.flashlight; import android.animation.ArgbEvaluator; diff --git a/samples/wearable/Flashlight/Wearable/src/main/res/layout/main.xml b/samples/wearable/Flashlight/Wearable/src/main/res/layout/main.xml index 934a92203..1e10f5a4a 100644 --- a/samples/wearable/Flashlight/Wearable/src/main/res/layout/main.xml +++ b/samples/wearable/Flashlight/Wearable/src/main/res/layout/main.xml @@ -1,4 +1,19 @@ + + + + + + + + Flashlight diff --git a/samples/wearable/Geofencing/Application/src/main/AndroidManifest.xml b/samples/wearable/Geofencing/Application/src/main/AndroidManifest.xml index 9bfc7d01c..094134eb9 100644 --- a/samples/wearable/Geofencing/Application/src/main/AndroidManifest.xml +++ b/samples/wearable/Geofencing/Application/src/main/AndroidManifest.xml @@ -1,4 +1,19 @@ + + diff --git a/samples/wearable/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/Constants.java b/samples/wearable/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/Constants.java index 628acf26c..6da9151dc 100644 --- a/samples/wearable/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/Constants.java +++ b/samples/wearable/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/Constants.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.geofencing; import android.net.Uri; diff --git a/samples/wearable/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/GeofenceTransitionsIntentService.java b/samples/wearable/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/GeofenceTransitionsIntentService.java index d60b15da7..5d1ea48e0 100644 --- a/samples/wearable/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/GeofenceTransitionsIntentService.java +++ b/samples/wearable/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/GeofenceTransitionsIntentService.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.geofencing; import static com.example.android.wearable.geofencing.Constants.CONNECTION_TIME_OUT_MS; diff --git a/samples/wearable/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/MainActivity.java b/samples/wearable/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/MainActivity.java index c8bf1ffe6..baef21755 100644 --- a/samples/wearable/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/MainActivity.java +++ b/samples/wearable/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/MainActivity.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.geofencing; import static com.example.android.wearable.geofencing.Constants.ANDROID_BUILDING_ID; diff --git a/samples/wearable/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/SimpleGeofence.java b/samples/wearable/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/SimpleGeofence.java index be7e6bd61..50f02c371 100644 --- a/samples/wearable/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/SimpleGeofence.java +++ b/samples/wearable/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/SimpleGeofence.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.geofencing; import com.google.android.gms.location.Geofence; diff --git a/samples/wearable/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/SimpleGeofenceStore.java b/samples/wearable/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/SimpleGeofenceStore.java index db93a8064..47584f5a3 100644 --- a/samples/wearable/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/SimpleGeofenceStore.java +++ b/samples/wearable/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/SimpleGeofenceStore.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.geofencing; import static com.example.android.wearable.geofencing.Constants.INVALID_FLOAT_VALUE; @@ -105,4 +121,4 @@ public class SimpleGeofenceStore { return KEY_PREFIX + "_" + id + "_" + fieldName; } -} \ No newline at end of file +} diff --git a/samples/wearable/Geofencing/Application/src/main/res/values/strings.xml b/samples/wearable/Geofencing/Application/src/main/res/values/strings.xml index 57539b903..92ec84899 100644 --- a/samples/wearable/Geofencing/Application/src/main/res/values/strings.xml +++ b/samples/wearable/Geofencing/Application/src/main/res/values/strings.xml @@ -1,4 +1,19 @@ + + Android Wear Geofencing Example Application Starting geofence transition service diff --git a/samples/wearable/Geofencing/Wearable/src/main/AndroidManifest.xml b/samples/wearable/Geofencing/Wearable/src/main/AndroidManifest.xml index 33a32b0f7..2446c386c 100644 --- a/samples/wearable/Geofencing/Wearable/src/main/AndroidManifest.xml +++ b/samples/wearable/Geofencing/Wearable/src/main/AndroidManifest.xml @@ -1,4 +1,19 @@ + + diff --git a/samples/wearable/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/CheckInAndDeleteDataItemsService.java b/samples/wearable/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/CheckInAndDeleteDataItemsService.java index ad6929361..7b8ba1150 100644 --- a/samples/wearable/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/CheckInAndDeleteDataItemsService.java +++ b/samples/wearable/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/CheckInAndDeleteDataItemsService.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.geofencing; import com.google.android.gms.common.ConnectionResult; @@ -105,4 +121,4 @@ public class CheckInAndDeleteDataItemsService extends IntentService public void onConnectionFailed(ConnectionResult result) { } -} \ No newline at end of file +} diff --git a/samples/wearable/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/Constants.java b/samples/wearable/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/Constants.java index 7103a4e91..ef6e8c6ed 100644 --- a/samples/wearable/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/Constants.java +++ b/samples/wearable/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/Constants.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.geofencing; /** Constants used in wearable app. */ diff --git a/samples/wearable/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/HomeListenerService.java b/samples/wearable/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/HomeListenerService.java index 5ecc8a6e6..415fc46aa 100644 --- a/samples/wearable/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/HomeListenerService.java +++ b/samples/wearable/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/HomeListenerService.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.geofencing; import static com.example.android.wearable.geofencing.Constants.ACTION_CHECK_IN; diff --git a/samples/wearable/Geofencing/Wearable/src/main/res/values/strings.xml b/samples/wearable/Geofencing/Wearable/src/main/res/values/strings.xml index 348b4b69b..49fb2b324 100644 --- a/samples/wearable/Geofencing/Wearable/src/main/res/values/strings.xml +++ b/samples/wearable/Geofencing/Wearable/src/main/res/values/strings.xml @@ -1,4 +1,19 @@ + + Android Wear Geofencing Example Application Android Building diff --git a/samples/wearable/GridViewPager/Wearable/src/main/AndroidManifest.xml b/samples/wearable/GridViewPager/Wearable/src/main/AndroidManifest.xml index 8e528195d..12b8f3ba2 100644 --- a/samples/wearable/GridViewPager/Wearable/src/main/AndroidManifest.xml +++ b/samples/wearable/GridViewPager/Wearable/src/main/AndroidManifest.xml @@ -1,4 +1,19 @@ + + diff --git a/samples/wearable/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/MainActivity.java b/samples/wearable/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/MainActivity.java index 498b4dabd..20cae6590 100644 --- a/samples/wearable/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/MainActivity.java +++ b/samples/wearable/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/MainActivity.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.example.android.wearable.gridviewpager; import android.app.Activity; diff --git a/samples/wearable/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/SampleGridPagerAdapter.java b/samples/wearable/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/SampleGridPagerAdapter.java index 62277a811..8f9bcf961 100644 --- a/samples/wearable/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/SampleGridPagerAdapter.java +++ b/samples/wearable/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/SampleGridPagerAdapter.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.example.android.wearable.gridviewpager; import android.app.Fragment; diff --git a/samples/wearable/GridViewPager/Wearable/src/main/res/layout/activity_main.xml b/samples/wearable/GridViewPager/Wearable/src/main/res/layout/activity_main.xml index 24afd9128..abc3b30e1 100644 --- a/samples/wearable/GridViewPager/Wearable/src/main/res/layout/activity_main.xml +++ b/samples/wearable/GridViewPager/Wearable/src/main/res/layout/activity_main.xml @@ -1,3 +1,19 @@ + + + + + 100dp 10dp diff --git a/samples/wearable/GridViewPager/Wearable/src/main/res/values/strings.xml b/samples/wearable/GridViewPager/Wearable/src/main/res/values/strings.xml index adcd8f9de..404119bc3 100644 --- a/samples/wearable/GridViewPager/Wearable/src/main/res/values/strings.xml +++ b/samples/wearable/GridViewPager/Wearable/src/main/res/values/strings.xml @@ -1,4 +1,19 @@ + + GridViewPager Sample @@ -38,4 +53,4 @@ To exit the application, swipe from left to right. - \ No newline at end of file + diff --git a/samples/wearable/JumpingJack/Wearable/src/main/AndroidManifest.xml b/samples/wearable/JumpingJack/Wearable/src/main/AndroidManifest.xml index 9ce8e8b4e..cf3ee0687 100644 --- a/samples/wearable/JumpingJack/Wearable/src/main/AndroidManifest.xml +++ b/samples/wearable/JumpingJack/Wearable/src/main/AndroidManifest.xml @@ -1,4 +1,19 @@ + + diff --git a/samples/wearable/JumpingJack/Wearable/src/main/res/drawable/submit_button.xml b/samples/wearable/JumpingJack/Wearable/src/main/res/drawable/submit_button.xml index e202e9aab..2ab9ba565 100644 --- a/samples/wearable/JumpingJack/Wearable/src/main/res/drawable/submit_button.xml +++ b/samples/wearable/JumpingJack/Wearable/src/main/res/drawable/submit_button.xml @@ -1,8 +1,23 @@ + + - \ No newline at end of file + diff --git a/samples/wearable/JumpingJack/Wearable/src/main/res/layout/counter_layout.xml b/samples/wearable/JumpingJack/Wearable/src/main/res/layout/counter_layout.xml index 2216d2f69..e443e342b 100644 --- a/samples/wearable/JumpingJack/Wearable/src/main/res/layout/counter_layout.xml +++ b/samples/wearable/JumpingJack/Wearable/src/main/res/layout/counter_layout.xml @@ -1,4 +1,18 @@ + - \ No newline at end of file + diff --git a/samples/wearable/JumpingJack/Wearable/src/main/res/layout/jj_layout.xml b/samples/wearable/JumpingJack/Wearable/src/main/res/layout/jj_layout.xml index 371cfe880..73af6e318 100644 --- a/samples/wearable/JumpingJack/Wearable/src/main/res/layout/jj_layout.xml +++ b/samples/wearable/JumpingJack/Wearable/src/main/res/layout/jj_layout.xml @@ -1,4 +1,18 @@ + + - \ No newline at end of file + diff --git a/samples/wearable/JumpingJack/Wearable/src/main/res/values/colors.xml b/samples/wearable/JumpingJack/Wearable/src/main/res/values/colors.xml index 3e62ace8e..eccbe6d75 100644 --- a/samples/wearable/JumpingJack/Wearable/src/main/res/values/colors.xml +++ b/samples/wearable/JumpingJack/Wearable/src/main/res/values/colors.xml @@ -1,5 +1,20 @@ + + #ffffff #3f51b5 - \ No newline at end of file + diff --git a/samples/wearable/JumpingJack/Wearable/src/main/res/values/dimens.xml b/samples/wearable/JumpingJack/Wearable/src/main/res/values/dimens.xml index 47c822467..a1e9cfe8a 100644 --- a/samples/wearable/JumpingJack/Wearable/src/main/res/values/dimens.xml +++ b/samples/wearable/JumpingJack/Wearable/src/main/res/values/dimens.xml @@ -1,3 +1,19 @@ + + + 16dp diff --git a/samples/wearable/JumpingJack/Wearable/src/main/res/values/strings.xml b/samples/wearable/JumpingJack/Wearable/src/main/res/values/strings.xml index 0c762c740..8ab0f86aa 100644 --- a/samples/wearable/JumpingJack/Wearable/src/main/res/values/strings.xml +++ b/samples/wearable/JumpingJack/Wearable/src/main/res/values/strings.xml @@ -1,4 +1,19 @@ + + Jumping Jack diff --git a/samples/wearable/Notifications/Application/src/main/AndroidManifest.xml b/samples/wearable/Notifications/Application/src/main/AndroidManifest.xml index 2b92f03d5..ecf00362b 100644 --- a/samples/wearable/Notifications/Application/src/main/AndroidManifest.xml +++ b/samples/wearable/Notifications/Application/src/main/AndroidManifest.xml @@ -1,4 +1,19 @@ + + diff --git a/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ActionsPreset.java b/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ActionsPreset.java index 86fe67e0e..a550912df 100644 --- a/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ActionsPreset.java +++ b/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ActionsPreset.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.support.wearable.notifications; import android.content.Context; diff --git a/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ActionsPresets.java b/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ActionsPresets.java index ebac6c086..ff639dcb9 100644 --- a/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ActionsPresets.java +++ b/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ActionsPresets.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.support.wearable.notifications; import android.content.Context; diff --git a/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/BackgroundPickers.java b/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/BackgroundPickers.java index 58b3dfedc..aedd548df 100644 --- a/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/BackgroundPickers.java +++ b/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/BackgroundPickers.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.support.wearable.notifications; import android.content.Context; diff --git a/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/MainActivity.java b/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/MainActivity.java index a7474aa7a..8543c7736 100644 --- a/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/MainActivity.java +++ b/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/MainActivity.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.support.wearable.notifications; import android.app.Activity; diff --git a/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NamedPreset.java b/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NamedPreset.java index c68251fb3..afc5f169d 100644 --- a/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NamedPreset.java +++ b/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NamedPreset.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.support.wearable.notifications; /** diff --git a/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationIntentReceiver.java b/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationIntentReceiver.java index 08d720855..39a1c7850 100644 --- a/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationIntentReceiver.java +++ b/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationIntentReceiver.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.support.wearable.notifications; import android.content.BroadcastReceiver; diff --git a/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationPreset.java b/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationPreset.java index a28949475..a0dff1874 100644 --- a/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationPreset.java +++ b/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationPreset.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.support.wearable.notifications; import android.app.Notification; diff --git a/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationPresets.java b/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationPresets.java index f175145bf..e175d1120 100644 --- a/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationPresets.java +++ b/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationPresets.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.support.wearable.notifications; import android.app.Notification; diff --git a/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationUtil.java b/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationUtil.java index cd4b72c54..389b90a5a 100644 --- a/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationUtil.java +++ b/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/NotificationUtil.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.support.wearable.notifications; import android.app.PendingIntent; diff --git a/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/PriorityPreset.java b/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/PriorityPreset.java index 7a1682e75..b4298fd30 100644 --- a/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/PriorityPreset.java +++ b/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/PriorityPreset.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.support.wearable.notifications; import android.support.v4.app.NotificationCompat; diff --git a/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/PriorityPresets.java b/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/PriorityPresets.java index 026f1aa8a..c33b59d7a 100644 --- a/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/PriorityPresets.java +++ b/samples/wearable/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/PriorityPresets.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.support.wearable.notifications; import android.app.Notification; diff --git a/samples/wearable/Notifications/Application/src/main/res/drawable/selected_background.xml b/samples/wearable/Notifications/Application/src/main/res/drawable/selected_background.xml index 351774a88..5852dd89a 100644 --- a/samples/wearable/Notifications/Application/src/main/res/drawable/selected_background.xml +++ b/samples/wearable/Notifications/Application/src/main/res/drawable/selected_background.xml @@ -1,4 +1,18 @@ + @@ -10,4 +24,4 @@ - \ No newline at end of file + diff --git a/samples/wearable/Notifications/Application/src/main/res/drawable/unselected_background.xml b/samples/wearable/Notifications/Application/src/main/res/drawable/unselected_background.xml index b9a43d1ef..161316759 100644 --- a/samples/wearable/Notifications/Application/src/main/res/drawable/unselected_background.xml +++ b/samples/wearable/Notifications/Application/src/main/res/drawable/unselected_background.xml @@ -1,4 +1,18 @@ + @@ -10,4 +24,4 @@ - \ No newline at end of file + diff --git a/samples/wearable/Notifications/Application/src/main/res/layout/activity_main.xml b/samples/wearable/Notifications/Application/src/main/res/layout/activity_main.xml index 1f5794960..3068ddcd6 100644 --- a/samples/wearable/Notifications/Application/src/main/res/layout/activity_main.xml +++ b/samples/wearable/Notifications/Application/src/main/res/layout/activity_main.xml @@ -1,3 +1,19 @@ + + + + - \ No newline at end of file + diff --git a/samples/wearable/Notifications/Application/src/main/res/layout/layout_divider.xml b/samples/wearable/Notifications/Application/src/main/res/layout/layout_divider.xml index 606c42bbf..82142b7f3 100644 --- a/samples/wearable/Notifications/Application/src/main/res/layout/layout_divider.xml +++ b/samples/wearable/Notifications/Application/src/main/res/layout/layout_divider.xml @@ -1,4 +1,19 @@ + + + + + @android:color/holo_blue_bright diff --git a/samples/wearable/Notifications/Application/src/main/res/values/dimens.xml b/samples/wearable/Notifications/Application/src/main/res/values/dimens.xml index 8f4947f3a..fd97910ac 100644 --- a/samples/wearable/Notifications/Application/src/main/res/values/dimens.xml +++ b/samples/wearable/Notifications/Application/src/main/res/values/dimens.xml @@ -1,3 +1,19 @@ + + + 16dp diff --git a/samples/wearable/Notifications/Application/src/main/res/values/strings.xml b/samples/wearable/Notifications/Application/src/main/res/values/strings.xml index 84535e7e5..d46ced776 100644 --- a/samples/wearable/Notifications/Application/src/main/res/values/strings.xml +++ b/samples/wearable/Notifications/Application/src/main/res/values/strings.xml @@ -1,4 +1,19 @@ + + Wearable Notifications diff --git a/samples/wearable/Notifications/Application/src/main/res/values/styles.xml b/samples/wearable/Notifications/Application/src/main/res/values/styles.xml index 7247b39b9..cf0494b4b 100644 --- a/samples/wearable/Notifications/Application/src/main/res/values/styles.xml +++ b/samples/wearable/Notifications/Application/src/main/res/values/styles.xml @@ -1,3 +1,19 @@ + + + diff --git a/samples/wearable/Notifications/Wearable/src/main/AndroidManifest.xml b/samples/wearable/Notifications/Wearable/src/main/AndroidManifest.xml index 4ac04f4af..ad744570a 100644 --- a/samples/wearable/Notifications/Wearable/src/main/AndroidManifest.xml +++ b/samples/wearable/Notifications/Wearable/src/main/AndroidManifest.xml @@ -1,4 +1,19 @@ + + diff --git a/samples/wearable/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/AnimatedNotificationDisplayActivity.java b/samples/wearable/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/AnimatedNotificationDisplayActivity.java index 678d6e2ed..2e0b2eed4 100644 --- a/samples/wearable/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/AnimatedNotificationDisplayActivity.java +++ b/samples/wearable/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/AnimatedNotificationDisplayActivity.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.support.wearable.notifications; import android.animation.Animator; diff --git a/samples/wearable/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/BasicNotificationDisplayActivity.java b/samples/wearable/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/BasicNotificationDisplayActivity.java index d394fb3b0..d029f436b 100644 --- a/samples/wearable/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/BasicNotificationDisplayActivity.java +++ b/samples/wearable/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/BasicNotificationDisplayActivity.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.support.wearable.notifications; import android.app.Activity; diff --git a/samples/wearable/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/MainActivity.java b/samples/wearable/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/MainActivity.java index 4080c927f..d564e13a3 100644 --- a/samples/wearable/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/MainActivity.java +++ b/samples/wearable/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/MainActivity.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.support.wearable.notifications; import android.app.Activity; diff --git a/samples/wearable/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/NotificationPreset.java b/samples/wearable/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/NotificationPreset.java index 7cfa1e871..d6570d5ba 100644 --- a/samples/wearable/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/NotificationPreset.java +++ b/samples/wearable/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/NotificationPreset.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.support.wearable.notifications; import android.app.Notification; diff --git a/samples/wearable/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/NotificationPresets.java b/samples/wearable/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/NotificationPresets.java index 451b270d8..5578659e1 100644 --- a/samples/wearable/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/NotificationPresets.java +++ b/samples/wearable/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/NotificationPresets.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.support.wearable.notifications; import android.app.Notification; diff --git a/samples/wearable/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/WearableListItemLayout.java b/samples/wearable/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/WearableListItemLayout.java index 4b2c1dbf6..773dfe4cc 100644 --- a/samples/wearable/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/WearableListItemLayout.java +++ b/samples/wearable/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/WearableListItemLayout.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.support.wearable.notifications; import android.content.Context; diff --git a/samples/wearable/Notifications/Wearable/src/main/res/drawable/wl_circle.xml b/samples/wearable/Notifications/Wearable/src/main/res/drawable/wl_circle.xml index a06c53a8d..7c9708ed0 100644 --- a/samples/wearable/Notifications/Wearable/src/main/res/drawable/wl_circle.xml +++ b/samples/wearable/Notifications/Wearable/src/main/res/drawable/wl_circle.xml @@ -1,4 +1,19 @@ + + diff --git a/samples/wearable/Notifications/Wearable/src/main/res/layout/activity_animated_notification_display.xml b/samples/wearable/Notifications/Wearable/src/main/res/layout/activity_animated_notification_display.xml index 285b11707..be70b2b0b 100644 --- a/samples/wearable/Notifications/Wearable/src/main/res/layout/activity_animated_notification_display.xml +++ b/samples/wearable/Notifications/Wearable/src/main/res/layout/activity_animated_notification_display.xml @@ -1,4 +1,19 @@ + + + + + + + + + + #2878ff #c1c1c1 diff --git a/samples/wearable/Notifications/Wearable/src/main/res/values/dimens.xml b/samples/wearable/Notifications/Wearable/src/main/res/values/dimens.xml index 9eaca9889..50214e65d 100644 --- a/samples/wearable/Notifications/Wearable/src/main/res/values/dimens.xml +++ b/samples/wearable/Notifications/Wearable/src/main/res/values/dimens.xml @@ -1,3 +1,19 @@ + + + 16dp diff --git a/samples/wearable/Notifications/Wearable/src/main/res/values/integers.xml b/samples/wearable/Notifications/Wearable/src/main/res/values/integers.xml index c3bc25215..1dfb01162 100644 --- a/samples/wearable/Notifications/Wearable/src/main/res/values/integers.xml +++ b/samples/wearable/Notifications/Wearable/src/main/res/values/integers.xml @@ -1,4 +1,19 @@ + + 40 diff --git a/samples/wearable/Notifications/Wearable/src/main/res/values/strings.xml b/samples/wearable/Notifications/Wearable/src/main/res/values/strings.xml index 7c12e3178..ff7023b50 100644 --- a/samples/wearable/Notifications/Wearable/src/main/res/values/strings.xml +++ b/samples/wearable/Notifications/Wearable/src/main/res/values/strings.xml @@ -1,4 +1,19 @@ + + Wearable Notifications diff --git a/samples/wearable/Quiz/Application/src/main/AndroidManifest.xml b/samples/wearable/Quiz/Application/src/main/AndroidManifest.xml index 338242127..faf65f62b 100644 --- a/samples/wearable/Quiz/Application/src/main/AndroidManifest.xml +++ b/samples/wearable/Quiz/Application/src/main/AndroidManifest.xml @@ -1,4 +1,19 @@ + + diff --git a/samples/wearable/Quiz/Application/src/main/java/com/example/android/wearable/quiz/Constants.java b/samples/wearable/Quiz/Application/src/main/java/com/example/android/wearable/quiz/Constants.java index 832ddac06..2bcfe5f18 100644 --- a/samples/wearable/Quiz/Application/src/main/java/com/example/android/wearable/quiz/Constants.java +++ b/samples/wearable/Quiz/Application/src/main/java/com/example/android/wearable/quiz/Constants.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.quiz; /** Constants used in the companion app. */ diff --git a/samples/wearable/Quiz/Application/src/main/java/com/example/android/wearable/quiz/JsonUtils.java b/samples/wearable/Quiz/Application/src/main/java/com/example/android/wearable/quiz/JsonUtils.java index 21ac24ac5..df8c8998e 100644 --- a/samples/wearable/Quiz/Application/src/main/java/com/example/android/wearable/quiz/JsonUtils.java +++ b/samples/wearable/Quiz/Application/src/main/java/com/example/android/wearable/quiz/JsonUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.quiz; import android.content.Context; diff --git a/samples/wearable/Quiz/Application/src/main/java/com/example/android/wearable/quiz/MainActivity.java b/samples/wearable/Quiz/Application/src/main/java/com/example/android/wearable/quiz/MainActivity.java index 94b66e998..c860d59f7 100644 --- a/samples/wearable/Quiz/Application/src/main/java/com/example/android/wearable/quiz/MainActivity.java +++ b/samples/wearable/Quiz/Application/src/main/java/com/example/android/wearable/quiz/MainActivity.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.quiz; import static com.example.android.wearable.quiz.Constants.ANSWERS; diff --git a/samples/wearable/Quiz/Application/src/main/res/drawable/selected_background.xml b/samples/wearable/Quiz/Application/src/main/res/drawable/selected_background.xml index 351774a88..5852dd89a 100644 --- a/samples/wearable/Quiz/Application/src/main/res/drawable/selected_background.xml +++ b/samples/wearable/Quiz/Application/src/main/res/drawable/selected_background.xml @@ -1,4 +1,18 @@ + @@ -10,4 +24,4 @@ - \ No newline at end of file + diff --git a/samples/wearable/Quiz/Application/src/main/res/drawable/unselected_background.xml b/samples/wearable/Quiz/Application/src/main/res/drawable/unselected_background.xml index b9a43d1ef..161316759 100644 --- a/samples/wearable/Quiz/Application/src/main/res/drawable/unselected_background.xml +++ b/samples/wearable/Quiz/Application/src/main/res/drawable/unselected_background.xml @@ -1,4 +1,18 @@ + @@ -10,4 +24,4 @@ - \ No newline at end of file + diff --git a/samples/wearable/Quiz/Application/src/main/res/layout/activity_main.xml b/samples/wearable/Quiz/Application/src/main/res/layout/activity_main.xml index ed684f141..3eb19f9bb 100644 --- a/samples/wearable/Quiz/Application/src/main/res/layout/activity_main.xml +++ b/samples/wearable/Quiz/Application/src/main/res/layout/activity_main.xml @@ -1,3 +1,19 @@ + + + + - \ No newline at end of file + diff --git a/samples/wearable/Quiz/Application/src/main/res/values/dimens.xml b/samples/wearable/Quiz/Application/src/main/res/values/dimens.xml index 8f4947f3a..fd97910ac 100644 --- a/samples/wearable/Quiz/Application/src/main/res/values/dimens.xml +++ b/samples/wearable/Quiz/Application/src/main/res/values/dimens.xml @@ -1,3 +1,19 @@ + + + 16dp diff --git a/samples/wearable/Quiz/Application/src/main/res/values/strings.xml b/samples/wearable/Quiz/Application/src/main/res/values/strings.xml index 5d3a44895..7c0c2452b 100644 --- a/samples/wearable/Quiz/Application/src/main/res/values/strings.xml +++ b/samples/wearable/Quiz/Application/src/main/res/values/strings.xml @@ -1,4 +1,19 @@ + + Quiz diff --git a/samples/wearable/Quiz/Application/src/main/res/values/styles.xml b/samples/wearable/Quiz/Application/src/main/res/values/styles.xml index 7247b39b9..cf0494b4b 100644 --- a/samples/wearable/Quiz/Application/src/main/res/values/styles.xml +++ b/samples/wearable/Quiz/Application/src/main/res/values/styles.xml @@ -1,3 +1,19 @@ + + + diff --git a/samples/wearable/Quiz/Wearable/src/main/AndroidManifest.xml b/samples/wearable/Quiz/Wearable/src/main/AndroidManifest.xml index ecdfd3bcc..3b8a3184f 100644 --- a/samples/wearable/Quiz/Wearable/src/main/AndroidManifest.xml +++ b/samples/wearable/Quiz/Wearable/src/main/AndroidManifest.xml @@ -1,4 +1,19 @@ + + diff --git a/samples/wearable/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/Constants.java b/samples/wearable/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/Constants.java index 2038817c9..8b81f59be 100644 --- a/samples/wearable/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/Constants.java +++ b/samples/wearable/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/Constants.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.quiz; /** Constants used in the wearable app. */ diff --git a/samples/wearable/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/DeleteQuestionService.java b/samples/wearable/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/DeleteQuestionService.java index 6c5e09f15..78e81ca0c 100644 --- a/samples/wearable/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/DeleteQuestionService.java +++ b/samples/wearable/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/DeleteQuestionService.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.quiz; import android.app.IntentService; diff --git a/samples/wearable/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/QuizListenerService.java b/samples/wearable/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/QuizListenerService.java index f8c5322bb..020a37b8d 100644 --- a/samples/wearable/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/QuizListenerService.java +++ b/samples/wearable/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/QuizListenerService.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.quiz; import static com.example.android.wearable.quiz.Constants.ANSWERS; diff --git a/samples/wearable/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/QuizReportActionService.java b/samples/wearable/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/QuizReportActionService.java index 4bb5398fc..956bdaf38 100644 --- a/samples/wearable/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/QuizReportActionService.java +++ b/samples/wearable/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/QuizReportActionService.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.quiz; import android.app.IntentService; diff --git a/samples/wearable/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/UpdateQuestionService.java b/samples/wearable/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/UpdateQuestionService.java index 0668c97e0..e06c30346 100644 --- a/samples/wearable/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/UpdateQuestionService.java +++ b/samples/wearable/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/UpdateQuestionService.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.quiz; import android.app.IntentService; diff --git a/samples/wearable/Quiz/Wearable/src/main/res/values/colors.xml b/samples/wearable/Quiz/Wearable/src/main/res/values/colors.xml index e19c9e7d7..b10adafa3 100644 --- a/samples/wearable/Quiz/Wearable/src/main/res/values/colors.xml +++ b/samples/wearable/Quiz/Wearable/src/main/res/values/colors.xml @@ -1,6 +1,21 @@ + + #009900 #800000 #FF9900 - \ No newline at end of file + diff --git a/samples/wearable/Quiz/Wearable/src/main/res/values/strings.xml b/samples/wearable/Quiz/Wearable/src/main/res/values/strings.xml index 2136073cc..313ee4c29 100644 --- a/samples/wearable/Quiz/Wearable/src/main/res/values/strings.xml +++ b/samples/wearable/Quiz/Wearable/src/main/res/values/strings.xml @@ -1,4 +1,19 @@ + + Quiz Sample Wearable App diff --git a/samples/wearable/RecipeAssistant/Application/src/main/AndroidManifest.xml b/samples/wearable/RecipeAssistant/Application/src/main/AndroidManifest.xml index ff85e9f5e..fd5a1638c 100644 --- a/samples/wearable/RecipeAssistant/Application/src/main/AndroidManifest.xml +++ b/samples/wearable/RecipeAssistant/Application/src/main/AndroidManifest.xml @@ -1,4 +1,19 @@ + + diff --git a/samples/wearable/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/AssetUtils.java b/samples/wearable/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/AssetUtils.java index c7991bbb0..8753582af 100644 --- a/samples/wearable/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/AssetUtils.java +++ b/samples/wearable/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/AssetUtils.java @@ -1,5 +1,20 @@ -package com.example.android.wearable.recipeassistant; +/* + * Copyright (C) 2014 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. + */ +package com.example.android.wearable.recipeassistant; import android.content.Context; import android.graphics.Bitmap; diff --git a/samples/wearable/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/Constants.java b/samples/wearable/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/Constants.java index 375444efb..fae49ee7a 100644 --- a/samples/wearable/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/Constants.java +++ b/samples/wearable/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/Constants.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.recipeassistant; public final class Constants { diff --git a/samples/wearable/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/MainActivity.java b/samples/wearable/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/MainActivity.java index a456190f2..4cc860f49 100644 --- a/samples/wearable/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/MainActivity.java +++ b/samples/wearable/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/MainActivity.java @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2014 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. + */ package com.example.android.wearable.recipeassistant; diff --git a/samples/wearable/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/Recipe.java b/samples/wearable/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/Recipe.java index 24356b61e..e470c0f4e 100644 --- a/samples/wearable/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/Recipe.java +++ b/samples/wearable/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/Recipe.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.recipeassistant; import android.content.Context; diff --git a/samples/wearable/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/RecipeActivity.java b/samples/wearable/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/RecipeActivity.java index 1637745ab..cc7f034a7 100644 --- a/samples/wearable/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/RecipeActivity.java +++ b/samples/wearable/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/RecipeActivity.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.recipeassistant; import android.app.Activity; diff --git a/samples/wearable/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/RecipeListAdapter.java b/samples/wearable/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/RecipeListAdapter.java index 9602bc6ed..746603a31 100644 --- a/samples/wearable/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/RecipeListAdapter.java +++ b/samples/wearable/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/RecipeListAdapter.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.recipeassistant; import android.content.Context; diff --git a/samples/wearable/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/RecipeService.java b/samples/wearable/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/RecipeService.java index 607dd2818..4abdf97f0 100644 --- a/samples/wearable/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/RecipeService.java +++ b/samples/wearable/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/RecipeService.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.wearable.recipeassistant; import android.app.Notification; diff --git a/samples/wearable/RecipeAssistant/Application/src/main/res/layout/list_item.xml b/samples/wearable/RecipeAssistant/Application/src/main/res/layout/list_item.xml index 421d057d0..756880c8f 100644 --- a/samples/wearable/RecipeAssistant/Application/src/main/res/layout/list_item.xml +++ b/samples/wearable/RecipeAssistant/Application/src/main/res/layout/list_item.xml @@ -1,4 +1,19 @@ + + - \ No newline at end of file + diff --git a/samples/wearable/RecipeAssistant/Application/src/main/res/layout/recipe.xml b/samples/wearable/RecipeAssistant/Application/src/main/res/layout/recipe.xml index 220aac2d8..3bb20b86b 100644 --- a/samples/wearable/RecipeAssistant/Application/src/main/res/layout/recipe.xml +++ b/samples/wearable/RecipeAssistant/Application/src/main/res/layout/recipe.xml @@ -1,4 +1,19 @@ + + @@ -77,4 +92,4 @@ - \ No newline at end of file + diff --git a/samples/wearable/RecipeAssistant/Application/src/main/res/layout/step_item.xml b/samples/wearable/RecipeAssistant/Application/src/main/res/layout/step_item.xml index 2eee9192b..faa5ac5c8 100644 --- a/samples/wearable/RecipeAssistant/Application/src/main/res/layout/step_item.xml +++ b/samples/wearable/RecipeAssistant/Application/src/main/res/layout/step_item.xml @@ -1,4 +1,19 @@ + + - \ No newline at end of file + diff --git a/samples/wearable/RecipeAssistant/Application/src/main/res/menu/main.xml b/samples/wearable/RecipeAssistant/Application/src/main/res/menu/main.xml index fd1ead7f8..b392472f8 100644 --- a/samples/wearable/RecipeAssistant/Application/src/main/res/menu/main.xml +++ b/samples/wearable/RecipeAssistant/Application/src/main/res/menu/main.xml @@ -1,8 +1,23 @@ + + - \ No newline at end of file + diff --git a/samples/wearable/RecipeAssistant/Application/src/main/res/values/colors.xml b/samples/wearable/RecipeAssistant/Application/src/main/res/values/colors.xml index 6e4689ae1..0f1430c3f 100644 --- a/samples/wearable/RecipeAssistant/Application/src/main/res/values/colors.xml +++ b/samples/wearable/RecipeAssistant/Application/src/main/res/values/colors.xml @@ -1,4 +1,19 @@ + + #dfff #6aaa diff --git a/samples/wearable/RecipeAssistant/Application/src/main/res/values/strings.xml b/samples/wearable/RecipeAssistant/Application/src/main/res/values/strings.xml index e99a61202..86da78c84 100644 --- a/samples/wearable/RecipeAssistant/Application/src/main/res/values/strings.xml +++ b/samples/wearable/RecipeAssistant/Application/src/main/res/values/strings.xml @@ -1,4 +1,19 @@ + + Recipe Assistant Settings diff --git a/samples/wearable/RecipeAssistant/Application/src/main/res/values/styles.xml b/samples/wearable/RecipeAssistant/Application/src/main/res/values/styles.xml index 93071e24e..8876dd5f5 100644 --- a/samples/wearable/RecipeAssistant/Application/src/main/res/values/styles.xml +++ b/samples/wearable/RecipeAssistant/Application/src/main/res/values/styles.xml @@ -1,3 +1,19 @@ + + + - \ No newline at end of file + diff --git a/samples/wearable/SkeletonWearableApp/Wearable/src/main/AndroidManifest.xml b/samples/wearable/SkeletonWearableApp/Wearable/src/main/AndroidManifest.xml index 6b287bfdd..062e0dd7f 100644 --- a/samples/wearable/SkeletonWearableApp/Wearable/src/main/AndroidManifest.xml +++ b/samples/wearable/SkeletonWearableApp/Wearable/src/main/AndroidManifest.xml @@ -1,4 +1,19 @@ + + diff --git a/samples/wearable/SkeletonWearableApp/Wearable/src/main/java/com/example/android/google/wearable/app/MainActivity.java b/samples/wearable/SkeletonWearableApp/Wearable/src/main/java/com/example/android/google/wearable/app/MainActivity.java index 11bcee752..817e195a8 100644 --- a/samples/wearable/SkeletonWearableApp/Wearable/src/main/java/com/example/android/google/wearable/app/MainActivity.java +++ b/samples/wearable/SkeletonWearableApp/Wearable/src/main/java/com/example/android/google/wearable/app/MainActivity.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.google.wearable.app; import android.app.Activity; @@ -16,7 +32,6 @@ import android.view.MotionEvent; import android.view.View; import android.widget.ScrollView; - public class MainActivity extends Activity implements DelayedConfirmationView.DelayedConfirmationListener { private static final String TAG = "MainActivity"; @@ -111,4 +126,4 @@ public class MainActivity extends Activity } }); } -} \ No newline at end of file +} diff --git a/samples/wearable/SkeletonWearableApp/Wearable/src/main/res/layout/grid_activity.xml b/samples/wearable/SkeletonWearableApp/Wearable/src/main/res/layout/grid_activity.xml index 3ee687c73..c86705131 100644 --- a/samples/wearable/SkeletonWearableApp/Wearable/src/main/res/layout/grid_activity.xml +++ b/samples/wearable/SkeletonWearableApp/Wearable/src/main/res/layout/grid_activity.xml @@ -1,4 +1,19 @@ + + + + + 10dp 5dp diff --git a/samples/wearable/SkeletonWearableApp/Wearable/src/main/res/values/strings.xml b/samples/wearable/SkeletonWearableApp/Wearable/src/main/res/values/strings.xml index 6046af04f..3917d07da 100644 --- a/samples/wearable/SkeletonWearableApp/Wearable/src/main/res/values/strings.xml +++ b/samples/wearable/SkeletonWearableApp/Wearable/src/main/res/values/strings.xml @@ -1,4 +1,19 @@ + + Skeleton Wearable App diff --git a/samples/wearable/SynchronizedNotifications/Application/src/main/AndroidManifest.xml b/samples/wearable/SynchronizedNotifications/Application/src/main/AndroidManifest.xml index 60960a8a8..97ab5779f 100644 --- a/samples/wearable/SynchronizedNotifications/Application/src/main/AndroidManifest.xml +++ b/samples/wearable/SynchronizedNotifications/Application/src/main/AndroidManifest.xml @@ -1,7 +1,22 @@ + + - + + + + + 16dp diff --git a/samples/wearable/SynchronizedNotifications/Application/src/main/res/values/strings.xml b/samples/wearable/SynchronizedNotifications/Application/src/main/res/values/strings.xml index 52d85489b..4115af09d 100644 --- a/samples/wearable/SynchronizedNotifications/Application/src/main/res/values/strings.xml +++ b/samples/wearable/SynchronizedNotifications/Application/src/main/res/values/strings.xml @@ -1,4 +1,19 @@ + + Synchronized Notifications diff --git a/samples/wearable/SynchronizedNotifications/Wearable/src/main/AndroidManifest.xml b/samples/wearable/SynchronizedNotifications/Wearable/src/main/AndroidManifest.xml index cbf546d82..8e099b3ca 100644 --- a/samples/wearable/SynchronizedNotifications/Wearable/src/main/AndroidManifest.xml +++ b/samples/wearable/SynchronizedNotifications/Wearable/src/main/AndroidManifest.xml @@ -1,4 +1,19 @@ + + diff --git a/samples/wearable/SynchronizedNotifications/Wearable/src/main/res/layout/activity_wearable.xml b/samples/wearable/SynchronizedNotifications/Wearable/src/main/res/layout/activity_wearable.xml index 09a5887ce..71451ff50 100644 --- a/samples/wearable/SynchronizedNotifications/Wearable/src/main/res/layout/activity_wearable.xml +++ b/samples/wearable/SynchronizedNotifications/Wearable/src/main/res/layout/activity_wearable.xml @@ -1,3 +1,19 @@ + + + + + Synchronized Notifications diff --git a/samples/wearable/Timer/Wearable/src/main/AndroidManifest.xml b/samples/wearable/Timer/Wearable/src/main/AndroidManifest.xml index 56a281d50..22c7f4775 100644 --- a/samples/wearable/Timer/Wearable/src/main/AndroidManifest.xml +++ b/samples/wearable/Timer/Wearable/src/main/AndroidManifest.xml @@ -1,5 +1,5 @@ - + diff --git a/samples/wearable/WatchViewStub/Wearable/src/main/java/com/example/android/google/wearable/watchviewstub/MainActivity.java b/samples/wearable/WatchViewStub/Wearable/src/main/java/com/example/android/google/wearable/watchviewstub/MainActivity.java index b8d14f598..e4271d24b 100644 --- a/samples/wearable/WatchViewStub/Wearable/src/main/java/com/example/android/google/wearable/watchviewstub/MainActivity.java +++ b/samples/wearable/WatchViewStub/Wearable/src/main/java/com/example/android/google/wearable/watchviewstub/MainActivity.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2014 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. + */ + package com.example.android.google.wearable.watchviewstub; import android.app.Activity; @@ -12,7 +28,6 @@ import android.view.animation.Animation; import android.view.animation.ScaleAnimation; import android.widget.RelativeLayout; - public class MainActivity extends Activity { private RelativeLayout mRectBackground; private RelativeLayout mRoundBackground; @@ -67,4 +82,4 @@ public class MainActivity extends Activity { mDismissOverlayView.show(); } } -} \ No newline at end of file +} diff --git a/samples/wearable/WatchViewStub/Wearable/src/main/res/drawable/rect_background.xml b/samples/wearable/WatchViewStub/Wearable/src/main/res/drawable/rect_background.xml index f370bcb52..eeda78fa0 100644 --- a/samples/wearable/WatchViewStub/Wearable/src/main/res/drawable/rect_background.xml +++ b/samples/wearable/WatchViewStub/Wearable/src/main/res/drawable/rect_background.xml @@ -1,4 +1,18 @@ + @@ -6,4 +20,4 @@ - \ No newline at end of file + diff --git a/samples/wearable/WatchViewStub/Wearable/src/main/res/drawable/round_background.xml b/samples/wearable/WatchViewStub/Wearable/src/main/res/drawable/round_background.xml index d9e822e82..432b0d24a 100644 --- a/samples/wearable/WatchViewStub/Wearable/src/main/res/drawable/round_background.xml +++ b/samples/wearable/WatchViewStub/Wearable/src/main/res/drawable/round_background.xml @@ -1,8 +1,22 @@ + - \ No newline at end of file + diff --git a/samples/wearable/WatchViewStub/Wearable/src/main/res/layout/main_activity.xml b/samples/wearable/WatchViewStub/Wearable/src/main/res/layout/main_activity.xml index 4d48650b6..e9745bc6e 100644 --- a/samples/wearable/WatchViewStub/Wearable/src/main/res/layout/main_activity.xml +++ b/samples/wearable/WatchViewStub/Wearable/src/main/res/layout/main_activity.xml @@ -1,4 +1,18 @@ + + - \ No newline at end of file + diff --git a/samples/wearable/WatchViewStub/Wearable/src/main/res/layout/round_layout.xml b/samples/wearable/WatchViewStub/Wearable/src/main/res/layout/round_layout.xml index 9cbb4daa9..d7a55f6d2 100644 --- a/samples/wearable/WatchViewStub/Wearable/src/main/res/layout/round_layout.xml +++ b/samples/wearable/WatchViewStub/Wearable/src/main/res/layout/round_layout.xml @@ -1,4 +1,18 @@ + - \ No newline at end of file + diff --git a/samples/wearable/WatchViewStub/Wearable/src/main/res/values/dimens.xml b/samples/wearable/WatchViewStub/Wearable/src/main/res/values/dimens.xml index dc1f1c46a..37148a2d4 100644 --- a/samples/wearable/WatchViewStub/Wearable/src/main/res/values/dimens.xml +++ b/samples/wearable/WatchViewStub/Wearable/src/main/res/values/dimens.xml @@ -1,3 +1,18 @@ + + 20dp 150dp diff --git a/samples/wearable/WatchViewStub/Wearable/src/main/res/values/strings.xml b/samples/wearable/WatchViewStub/Wearable/src/main/res/values/strings.xml index 71a51c6a1..00cc6c641 100644 --- a/samples/wearable/WatchViewStub/Wearable/src/main/res/values/strings.xml +++ b/samples/wearable/WatchViewStub/Wearable/src/main/res/values/strings.xml @@ -1,4 +1,19 @@ + + WatchViewStub Sample