From 3139d7fa340d452e5ac0dfb31fa9264323ea12c6 Mon Sep 17 00:00:00 2001 From: Phillip Hsu Date: Thu, 29 Sep 2016 03:02:32 -0700 Subject: [PATCH] Update copyright --- app/build.gradle | 16 ++++++++++++++++ .../com/philliphsu/clock2/ApplicationTest.java | 16 ++++++++++++++++ app/src/main/AndroidManifest.xml | 16 ++++++++++++++++ .../java/com/philliphsu/clock2/BaseActivity.java | 16 ++++++++++++++++ .../java/com/philliphsu/clock2/BaseFragment.java | 16 ++++++++++++++++ .../java/com/philliphsu/clock2/MainActivity.java | 16 ++++++++++++++++ .../philliphsu/clock2/UntouchableSeekBar.java | 16 ++++++++++++++++ .../java/com/philliphsu/clock2/alarms/Alarm.java | 16 ++++++++++++++++ .../background/OnBootUpAlarmScheduler.java | 16 ++++++++++++++++ .../alarms/background/OnBootUpReceiver.java | 16 ++++++++++++++++ .../alarms/background/PendingAlarmScheduler.java | 16 ++++++++++++++++ .../alarms/background/UpcomingAlarmReceiver.java | 16 ++++++++++++++++ .../clock2/alarms/data/AlarmCursor.java | 16 ++++++++++++++++ .../alarms/data/AlarmsListCursorLoader.java | 16 ++++++++++++++++ .../clock2/alarms/data/AlarmsTable.java | 16 ++++++++++++++++ .../clock2/alarms/data/AlarmsTableManager.java | 16 ++++++++++++++++ .../data/AsyncAlarmsTableUpdateHandler.java | 16 ++++++++++++++++ .../clock2/alarms/misc/AlarmController.java | 16 ++++++++++++++++ .../clock2/alarms/misc/AlarmPreferences.java | 16 ++++++++++++++++ .../clock2/alarms/misc/DaysOfWeek.java | 16 ++++++++++++++++ .../clock2/alarms/ui/AlarmsCursorAdapter.java | 16 ++++++++++++++++ .../clock2/alarms/ui/AlarmsFragment.java | 16 ++++++++++++++++ .../clock2/alarms/ui/BaseAlarmViewHolder.java | 16 ++++++++++++++++ .../alarms/ui/CollapsedAlarmViewHolder.java | 16 ++++++++++++++++ .../alarms/ui/ExpandedAlarmViewHolder.java | 16 ++++++++++++++++ .../clock2/chronometer/BaseChronometer.java | 16 ++++++++++++++++ .../clock2/chronometer/ChronometerDelegate.java | 16 ++++++++++++++++ .../ChronometerNotificationService.java | 16 ++++++++++++++++ .../ChronometerNotificationThread.java | 16 ++++++++++++++++ .../data/AsyncDatabaseTableUpdateHandler.java | 16 ++++++++++++++++ .../philliphsu/clock2/data/BaseItemCursor.java | 16 ++++++++++++++++ .../clock2/data/ClockAppDatabaseHelper.java | 16 ++++++++++++++++ .../clock2/data/DatabaseTableManager.java | 16 ++++++++++++++++ .../com/philliphsu/clock2/data/ObjectWithId.java | 16 ++++++++++++++++ .../clock2/data/SQLiteCursorLoader.java | 16 ++++++++++++++++ .../clock2/dialogs/AddLabelDialog.java | 16 ++++++++++++++++ .../clock2/dialogs/AddLabelDialogController.java | 16 ++++++++++++++++ .../clock2/dialogs/BaseAlertDialogFragment.java | 16 ++++++++++++++++ .../clock2/dialogs/DialogFragmentController.java | 16 ++++++++++++++++ .../clock2/dialogs/RingtonePickerDialog.java | 16 ++++++++++++++++ .../dialogs/RingtonePickerDialogController.java | 16 ++++++++++++++++ .../clock2/dialogs/SystemTimePickerDialog.java | 16 ++++++++++++++++ .../dialogs/TimePickerDialogController.java | 16 ++++++++++++++++ .../clock2/list/BaseCursorAdapter.java | 16 ++++++++++++++++ .../philliphsu/clock2/list/BaseViewHolder.java | 16 ++++++++++++++++ .../list/OnListItemInteractionListener.java | 16 ++++++++++++++++ .../clock2/list/RecyclerViewFragment.java | 16 ++++++++++++++++ .../philliphsu/clock2/list/ScrollHandler.java | 16 ++++++++++++++++ .../clock2/ringtone/AlarmActivity.java | 16 ++++++++++++++++ .../clock2/ringtone/RingtoneActivity.java | 16 ++++++++++++++++ .../clock2/ringtone/TimesUpActivity.java | 16 ++++++++++++++++ .../ringtone/playback/AlarmRingtoneService.java | 16 ++++++++++++++++ .../clock2/ringtone/playback/RingtoneLoop.java | 16 ++++++++++++++++ .../ringtone/playback/RingtoneService.java | 16 ++++++++++++++++ .../ringtone/playback/TimerRingtoneService.java | 16 ++++++++++++++++ .../clock2/settings/SettingsActivity.java | 16 ++++++++++++++++ .../clock2/settings/SettingsFragment.java | 16 ++++++++++++++++ .../settings/ThemedRingtonePreference.java | 16 ++++++++++++++++ .../com/philliphsu/clock2/stopwatch/Lap.java | 16 ++++++++++++++++ .../stopwatch/StopwatchNotificationService.java | 16 ++++++++++++++++ .../data/AsyncLapsTableUpdateHandler.java | 16 ++++++++++++++++ .../clock2/stopwatch/data/LapCursor.java | 16 ++++++++++++++++ .../clock2/stopwatch/data/LapsCursorLoader.java | 16 ++++++++++++++++ .../clock2/stopwatch/data/LapsTable.java | 16 ++++++++++++++++ .../clock2/stopwatch/data/LapsTableManager.java | 16 ++++++++++++++++ .../clock2/stopwatch/ui/LapViewHolder.java | 16 ++++++++++++++++ .../clock2/stopwatch/ui/LapsAdapter.java | 16 ++++++++++++++++ .../clock2/stopwatch/ui/StopwatchFragment.java | 16 ++++++++++++++++ .../clock2/timepickers/BaseTimePickerDialog.java | 16 ++++++++++++++++ .../clock2/timepickers/GridLayoutNumpad.java | 16 ++++++++++++++++ .../philliphsu/clock2/timepickers/HoursGrid.java | 16 ++++++++++++++++ .../clock2/timepickers/MinutesGrid.java | 16 ++++++++++++++++ .../clock2/timepickers/NumbersGrid.java | 16 ++++++++++++++++ .../clock2/timepickers/NumpadTimePicker.java | 16 ++++++++++++++++ .../timepickers/NumpadTimePickerDialog.java | 16 ++++++++++++++++ .../timepickers/TwentyFourHourGridItem.java | 16 ++++++++++++++++ .../clock2/timepickers/TwentyFourHoursGrid.java | 16 ++++++++++++++++ .../clock2/timers/EditTimerActivity.java | 16 ++++++++++++++++ .../java/com/philliphsu/clock2/timers/Timer.java | 16 ++++++++++++++++ .../clock2/timers/TimerController.java | 16 ++++++++++++++++ .../clock2/timers/TimerNotificationService.java | 16 ++++++++++++++++ .../data/AsyncTimersTableUpdateHandler.java | 16 ++++++++++++++++ .../clock2/timers/data/TimerCursor.java | 16 ++++++++++++++++ .../timers/data/TimersListCursorLoader.java | 16 ++++++++++++++++ .../clock2/timers/data/TimersTable.java | 16 ++++++++++++++++ .../clock2/timers/data/TimersTableManager.java | 16 ++++++++++++++++ .../clock2/timers/ui/TimerViewHolder.java | 16 ++++++++++++++++ .../clock2/timers/ui/TimersCursorAdapter.java | 16 ++++++++++++++++ .../clock2/timers/ui/TimersFragment.java | 16 ++++++++++++++++ .../clock2/util/ConfigurationUtils.java | 16 ++++++++++++++++ .../clock2/util/ContentIntentUtils.java | 16 ++++++++++++++++ .../clock2/util/DelayedSnackbarHandler.java | 16 ++++++++++++++++ .../philliphsu/clock2/util/DurationUtils.java | 16 ++++++++++++++++ .../philliphsu/clock2/util/FragmentTagUtils.java | 16 ++++++++++++++++ .../philliphsu/clock2/util/KeyboardUtils.java | 16 ++++++++++++++++ .../clock2/util/LocalBroadcastHelper.java | 16 ++++++++++++++++ .../philliphsu/clock2/util/Preconditions.java | 16 ++++++++++++++++ .../philliphsu/clock2/util/ProgressBarUtils.java | 16 ++++++++++++++++ .../philliphsu/clock2/util/TimeFormatUtils.java | 16 ++++++++++++++++ .../philliphsu/clock2/util/TimeTextUtils.java | 16 ++++++++++++++++ app/src/main/res/color/fab_icon_color.xml | 16 ++++++++++++++++ app/src/main/res/color/icon_color.xml | 16 ++++++++++++++++ app/src/main/res/color/icon_color_dark.xml | 16 ++++++++++++++++ .../res/color/numeric_keypad_button_text.xml | 16 ++++++++++++++++ .../color/numeric_keypad_button_text_dark.xml | 16 ++++++++++++++++ .../main/res/color/numeric_keypad_fab_color.xml | 16 ++++++++++++++++ .../res/color/numeric_keypad_fab_color_dark.xml | 16 ++++++++++++++++ app/src/main/res/color/on_enabled_change_fab.xml | 16 ++++++++++++++++ app/src/main/res/color/tab_icon_color.xml | 16 ++++++++++++++++ app/src/main/res/color/toggle_alarm_days.xml | 16 ++++++++++++++++ app/src/main/res/drawable/ic_add_24dp.xml | 16 ++++++++++++++++ app/src/main/res/drawable/ic_add_48dp.xml | 16 ++++++++++++++++ app/src/main/res/drawable/ic_add_circle_24dp.xml | 16 ++++++++++++++++ app/src/main/res/drawable/ic_add_lap_24dp.xml | 16 ++++++++++++++++ app/src/main/res/drawable/ic_add_lap_40dp.xml | 16 ++++++++++++++++ app/src/main/res/drawable/ic_alarm_24dp.xml | 16 ++++++++++++++++ app/src/main/res/drawable/ic_alarm_96dp.xml | 16 ++++++++++++++++ app/src/main/res/drawable/ic_backspace_24dp.xml | 16 ++++++++++++++++ app/src/main/res/drawable/ic_cancel_snooze.xml | 16 ++++++++++++++++ app/src/main/res/drawable/ic_clock_24dp.xml | 16 ++++++++++++++++ app/src/main/res/drawable/ic_collapse_24dp.xml | 16 ++++++++++++++++ .../main/res/drawable/ic_dismiss_alarm_24dp.xml | 16 ++++++++++++++++ .../main/res/drawable/ic_dismiss_alarm_48dp.xml | 16 ++++++++++++++++ app/src/main/res/drawable/ic_done_24dp.xml | 16 ++++++++++++++++ .../main/res/drawable/ic_error_outline_96dp.xml | 16 ++++++++++++++++ app/src/main/res/drawable/ic_half_day_1_24dp.xml | 16 ++++++++++++++++ .../res/drawable/ic_half_day_1_dark_24dp.xml | 16 ++++++++++++++++ app/src/main/res/drawable/ic_half_day_2_24dp.xml | 16 ++++++++++++++++ .../res/drawable/ic_half_day_2_dark_24dp.xml | 16 ++++++++++++++++ .../main/res/drawable/ic_minus_circle_24dp.xml | 16 ++++++++++++++++ app/src/main/res/drawable/ic_overflow_24dp.xml | 16 ++++++++++++++++ app/src/main/res/drawable/ic_pause_24dp.xml | 16 ++++++++++++++++ app/src/main/res/drawable/ic_ringtone_24dp.xml | 16 ++++++++++++++++ app/src/main/res/drawable/ic_settings_24dp.xml | 16 ++++++++++++++++ app/src/main/res/drawable/ic_snooze_24dp.xml | 16 ++++++++++++++++ app/src/main/res/drawable/ic_snooze_48dp.xml | 16 ++++++++++++++++ app/src/main/res/drawable/ic_start_24dp.xml | 16 ++++++++++++++++ app/src/main/res/drawable/ic_stop_24dp.xml | 16 ++++++++++++++++ app/src/main/res/drawable/ic_stop_40dp.xml | 16 ++++++++++++++++ app/src/main/res/drawable/ic_stop_48dp.xml | 16 ++++++++++++++++ app/src/main/res/drawable/ic_stopwatch_24dp.xml | 16 ++++++++++++++++ app/src/main/res/drawable/ic_timer_24dp.xml | 16 ++++++++++++++++ app/src/main/res/drawable/ic_timer_96dp.xml | 16 ++++++++++++++++ app/src/main/res/drawable/ic_vibrate_24dp.xml | 16 ++++++++++++++++ .../main/res/layout-land/activity_edit_timer.xml | 16 ++++++++++++++++ .../res/layout-land/content_24h_grid_item.xml | 16 ++++++++++++++++ .../dialog_time_picker_number_grid.xml | 16 ++++++++++++++++ .../layout-land/dialog_time_picker_numpad.xml | 16 ++++++++++++++++ .../main/res/layout-land/fragment_stopwatch.xml | 16 ++++++++++++++++ app/src/main/res/layout-land/item_timer.xml | 16 ++++++++++++++++ .../layout-v21/content_numpad_time_picker.xml | 16 ++++++++++++++++ app/src/main/res/layout/activity_edit_timer.xml | 16 ++++++++++++++++ app/src/main/res/layout/activity_main.xml | 16 ++++++++++++++++ app/src/main/res/layout/activity_ringtone.xml | 16 ++++++++++++++++ app/src/main/res/layout/activity_settings.xml | 16 ++++++++++++++++ app/src/main/res/layout/alarm_time_layout.xml | 16 ++++++++++++++++ .../main/res/layout/bar_bottom_navigation.xml | 16 ++++++++++++++++ .../main/res/layout/content_24h_grid_item.xml | 16 ++++++++++++++++ .../main/res/layout/content_24h_number_grid.xml | 16 ++++++++++++++++ .../res/layout/content_grid_layout_numpad.xml | 16 ++++++++++++++++ .../layout/content_grid_layout_numpad_dark.xml | 16 ++++++++++++++++ .../res/layout/content_header_alarm_activity.xml | 16 ++++++++++++++++ .../layout/content_header_timesup_activity.xml | 16 ++++++++++++++++ app/src/main/res/layout/content_hours_grid.xml | 16 ++++++++++++++++ app/src/main/res/layout/content_minutes_grid.xml | 16 ++++++++++++++++ app/src/main/res/layout/content_numpad.xml | 16 ++++++++++++++++ .../res/layout/content_numpad_time_picker.xml | 16 ++++++++++++++++ .../layout/content_numpad_time_picker_dark.xml | 16 ++++++++++++++++ app/src/main/res/layout/content_settings.xml | 16 ++++++++++++++++ .../layout/dialog_time_picker_number_grid.xml | 16 ++++++++++++++++ .../res/layout/dialog_time_picker_numpad.xml | 16 ++++++++++++++++ .../main/res/layout/fragment_recycler_view.xml | 16 ++++++++++++++++ app/src/main/res/layout/fragment_stopwatch.xml | 16 ++++++++++++++++ app/src/main/res/layout/item_collapsed_alarm.xml | 16 ++++++++++++++++ app/src/main/res/layout/item_expanded_alarm.xml | 16 ++++++++++++++++ app/src/main/res/layout/item_lap.xml | 16 ++++++++++++++++ app/src/main/res/layout/item_timer.xml | 16 ++++++++++++++++ app/src/main/res/layout/numpad_alt_button.xml | 16 ++++++++++++++++ app/src/main/res/layout/numpad_backspace.xml | 16 ++++++++++++++++ app/src/main/res/layout/numpad_collapse.xml | 16 ++++++++++++++++ app/src/main/res/layout/numpad_fab.xml | 16 ++++++++++++++++ app/src/main/res/menu/menu_main.xml | 16 ++++++++++++++++ app/src/main/res/menu/menu_timer_viewholder.xml | 16 ++++++++++++++++ app/src/main/res/values-land-v21/dimens.xml | 16 ++++++++++++++++ app/src/main/res/values-land/dimens.xml | 16 ++++++++++++++++ app/src/main/res/values-v21/dimens.xml | 16 ++++++++++++++++ app/src/main/res/values-v21/styles.xml | 16 ++++++++++++++++ app/src/main/res/values-v21/styles_timer.xml | 16 ++++++++++++++++ app/src/main/res/values-w820dp/dimens.xml | 16 ++++++++++++++++ app/src/main/res/values/attrs.xml | 16 ++++++++++++++++ app/src/main/res/values/colors.xml | 16 ++++++++++++++++ app/src/main/res/values/dimens.xml | 16 ++++++++++++++++ app/src/main/res/values/ids.xml | 16 ++++++++++++++++ app/src/main/res/values/prefs_alarms.xml | 16 ++++++++++++++++ app/src/main/res/values/prefs_general.xml | 16 ++++++++++++++++ app/src/main/res/values/prefs_timers.xml | 16 ++++++++++++++++ app/src/main/res/values/prefs_world_clock.xml | 16 ++++++++++++++++ app/src/main/res/values/strings.xml | 16 ++++++++++++++++ app/src/main/res/values/styles.xml | 16 ++++++++++++++++ app/src/main/res/values/styles_alarm.xml | 16 ++++++++++++++++ app/src/main/res/values/styles_stopwatch.xml | 16 ++++++++++++++++ app/src/main/res/values/styles_timer.xml | 16 ++++++++++++++++ app/src/main/res/xml/preferences.xml | 16 ++++++++++++++++ .../java/com/philliphsu/clock2/AlarmTest.java | 16 ++++++++++++++++ .../com/philliphsu/clock2/DurationUtilsTest.java | 16 ++++++++++++++++ .../com/philliphsu/clock2/ExampleUnitTest.java | 16 ++++++++++++++++ .../philliphsu/clock2/RingtoneServiceTest.java | 16 ++++++++++++++++ .../clock2/alarms/misc/DaysOfWeekTest.java | 16 ++++++++++++++++ build.gradle | 16 ++++++++++++++++ gradle.properties | 16 ++++++++++++++++ gradle/wrapper/gradle-wrapper.properties | 16 ++++++++++++++++ settings.gradle | 16 ++++++++++++++++ 212 files changed, 3392 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index 2538d7c..e899c68 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,6 +1,22 @@ apply plugin: 'com.android.application' apply plugin: 'com.neenbedankt.android-apt' +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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. + */ + // ============================================================================= // https://developer.android.com/studio/publish/app-signing.html#secure-shared-keystore diff --git a/app/src/androidTest/java/com/philliphsu/clock2/ApplicationTest.java b/app/src/androidTest/java/com/philliphsu/clock2/ApplicationTest.java index 1a61571..7368a98 100644 --- a/app/src/androidTest/java/com/philliphsu/clock2/ApplicationTest.java +++ b/app/src/androidTest/java/com/philliphsu/clock2/ApplicationTest.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2; import android.app.Application; diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 6f24fec..3e5e3e5 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,4 +1,20 @@ + + diff --git a/app/src/main/java/com/philliphsu/clock2/BaseActivity.java b/app/src/main/java/com/philliphsu/clock2/BaseActivity.java index 1a86ebc..1f0fb38 100644 --- a/app/src/main/java/com/philliphsu/clock2/BaseActivity.java +++ b/app/src/main/java/com/philliphsu/clock2/BaseActivity.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2; import android.media.AudioManager; diff --git a/app/src/main/java/com/philliphsu/clock2/BaseFragment.java b/app/src/main/java/com/philliphsu/clock2/BaseFragment.java index 5cd5239..7006bbc 100644 --- a/app/src/main/java/com/philliphsu/clock2/BaseFragment.java +++ b/app/src/main/java/com/philliphsu/clock2/BaseFragment.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2; import android.os.Bundle; diff --git a/app/src/main/java/com/philliphsu/clock2/MainActivity.java b/app/src/main/java/com/philliphsu/clock2/MainActivity.java index ef71f52..7a3ce2c 100644 --- a/app/src/main/java/com/philliphsu/clock2/MainActivity.java +++ b/app/src/main/java/com/philliphsu/clock2/MainActivity.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2; import android.content.Intent; diff --git a/app/src/main/java/com/philliphsu/clock2/UntouchableSeekBar.java b/app/src/main/java/com/philliphsu/clock2/UntouchableSeekBar.java index 78cbba7..77bf424 100644 --- a/app/src/main/java/com/philliphsu/clock2/UntouchableSeekBar.java +++ b/app/src/main/java/com/philliphsu/clock2/UntouchableSeekBar.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2; import android.content.Context; diff --git a/app/src/main/java/com/philliphsu/clock2/alarms/Alarm.java b/app/src/main/java/com/philliphsu/clock2/alarms/Alarm.java index 7f363ff..d2ed369 100644 --- a/app/src/main/java/com/philliphsu/clock2/alarms/Alarm.java +++ b/app/src/main/java/com/philliphsu/clock2/alarms/Alarm.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.alarms; import android.os.Parcel; diff --git a/app/src/main/java/com/philliphsu/clock2/alarms/background/OnBootUpAlarmScheduler.java b/app/src/main/java/com/philliphsu/clock2/alarms/background/OnBootUpAlarmScheduler.java index 20e507c..872d349 100644 --- a/app/src/main/java/com/philliphsu/clock2/alarms/background/OnBootUpAlarmScheduler.java +++ b/app/src/main/java/com/philliphsu/clock2/alarms/background/OnBootUpAlarmScheduler.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.alarms.background; import android.app.IntentService; diff --git a/app/src/main/java/com/philliphsu/clock2/alarms/background/OnBootUpReceiver.java b/app/src/main/java/com/philliphsu/clock2/alarms/background/OnBootUpReceiver.java index fd181ec..a31242a 100644 --- a/app/src/main/java/com/philliphsu/clock2/alarms/background/OnBootUpReceiver.java +++ b/app/src/main/java/com/philliphsu/clock2/alarms/background/OnBootUpReceiver.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.alarms.background; import android.content.BroadcastReceiver; diff --git a/app/src/main/java/com/philliphsu/clock2/alarms/background/PendingAlarmScheduler.java b/app/src/main/java/com/philliphsu/clock2/alarms/background/PendingAlarmScheduler.java index b3057c7..315f1e0 100644 --- a/app/src/main/java/com/philliphsu/clock2/alarms/background/PendingAlarmScheduler.java +++ b/app/src/main/java/com/philliphsu/clock2/alarms/background/PendingAlarmScheduler.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.alarms.background; import android.content.BroadcastReceiver; diff --git a/app/src/main/java/com/philliphsu/clock2/alarms/background/UpcomingAlarmReceiver.java b/app/src/main/java/com/philliphsu/clock2/alarms/background/UpcomingAlarmReceiver.java index 8c46f78..2b2fb9c 100644 --- a/app/src/main/java/com/philliphsu/clock2/alarms/background/UpcomingAlarmReceiver.java +++ b/app/src/main/java/com/philliphsu/clock2/alarms/background/UpcomingAlarmReceiver.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.alarms.background; import android.app.Notification; diff --git a/app/src/main/java/com/philliphsu/clock2/alarms/data/AlarmCursor.java b/app/src/main/java/com/philliphsu/clock2/alarms/data/AlarmCursor.java index f23c217..36c933c 100644 --- a/app/src/main/java/com/philliphsu/clock2/alarms/data/AlarmCursor.java +++ b/app/src/main/java/com/philliphsu/clock2/alarms/data/AlarmCursor.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.alarms.data; import android.database.Cursor; diff --git a/app/src/main/java/com/philliphsu/clock2/alarms/data/AlarmsListCursorLoader.java b/app/src/main/java/com/philliphsu/clock2/alarms/data/AlarmsListCursorLoader.java index 443e2a3..2775139 100644 --- a/app/src/main/java/com/philliphsu/clock2/alarms/data/AlarmsListCursorLoader.java +++ b/app/src/main/java/com/philliphsu/clock2/alarms/data/AlarmsListCursorLoader.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.alarms.data; import android.content.Context; diff --git a/app/src/main/java/com/philliphsu/clock2/alarms/data/AlarmsTable.java b/app/src/main/java/com/philliphsu/clock2/alarms/data/AlarmsTable.java index ee7da6f..0b2b013 100644 --- a/app/src/main/java/com/philliphsu/clock2/alarms/data/AlarmsTable.java +++ b/app/src/main/java/com/philliphsu/clock2/alarms/data/AlarmsTable.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.alarms.data; import android.database.sqlite.SQLiteDatabase; diff --git a/app/src/main/java/com/philliphsu/clock2/alarms/data/AlarmsTableManager.java b/app/src/main/java/com/philliphsu/clock2/alarms/data/AlarmsTableManager.java index 9541aef..ffbba41 100644 --- a/app/src/main/java/com/philliphsu/clock2/alarms/data/AlarmsTableManager.java +++ b/app/src/main/java/com/philliphsu/clock2/alarms/data/AlarmsTableManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.alarms.data; import android.content.ContentValues; diff --git a/app/src/main/java/com/philliphsu/clock2/alarms/data/AsyncAlarmsTableUpdateHandler.java b/app/src/main/java/com/philliphsu/clock2/alarms/data/AsyncAlarmsTableUpdateHandler.java index 2cbcdeb..f113d8b 100644 --- a/app/src/main/java/com/philliphsu/clock2/alarms/data/AsyncAlarmsTableUpdateHandler.java +++ b/app/src/main/java/com/philliphsu/clock2/alarms/data/AsyncAlarmsTableUpdateHandler.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.alarms.data; import android.content.Context; diff --git a/app/src/main/java/com/philliphsu/clock2/alarms/misc/AlarmController.java b/app/src/main/java/com/philliphsu/clock2/alarms/misc/AlarmController.java index 0573db0..56d3c66 100644 --- a/app/src/main/java/com/philliphsu/clock2/alarms/misc/AlarmController.java +++ b/app/src/main/java/com/philliphsu/clock2/alarms/misc/AlarmController.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.alarms.misc; import android.app.AlarmManager; diff --git a/app/src/main/java/com/philliphsu/clock2/alarms/misc/AlarmPreferences.java b/app/src/main/java/com/philliphsu/clock2/alarms/misc/AlarmPreferences.java index 8133d3d..3ac0ff8 100644 --- a/app/src/main/java/com/philliphsu/clock2/alarms/misc/AlarmPreferences.java +++ b/app/src/main/java/com/philliphsu/clock2/alarms/misc/AlarmPreferences.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.alarms.misc; import android.content.Context; diff --git a/app/src/main/java/com/philliphsu/clock2/alarms/misc/DaysOfWeek.java b/app/src/main/java/com/philliphsu/clock2/alarms/misc/DaysOfWeek.java index 91d6a71..971a351 100644 --- a/app/src/main/java/com/philliphsu/clock2/alarms/misc/DaysOfWeek.java +++ b/app/src/main/java/com/philliphsu/clock2/alarms/misc/DaysOfWeek.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.alarms.misc; import android.content.Context; diff --git a/app/src/main/java/com/philliphsu/clock2/alarms/ui/AlarmsCursorAdapter.java b/app/src/main/java/com/philliphsu/clock2/alarms/ui/AlarmsCursorAdapter.java index 3ce3254..764c1a9 100644 --- a/app/src/main/java/com/philliphsu/clock2/alarms/ui/AlarmsCursorAdapter.java +++ b/app/src/main/java/com/philliphsu/clock2/alarms/ui/AlarmsCursorAdapter.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.alarms.ui; import android.support.v7.widget.RecyclerView; diff --git a/app/src/main/java/com/philliphsu/clock2/alarms/ui/AlarmsFragment.java b/app/src/main/java/com/philliphsu/clock2/alarms/ui/AlarmsFragment.java index 1d54032..f7def9d 100644 --- a/app/src/main/java/com/philliphsu/clock2/alarms/ui/AlarmsFragment.java +++ b/app/src/main/java/com/philliphsu/clock2/alarms/ui/AlarmsFragment.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.alarms.ui; import android.os.Bundle; diff --git a/app/src/main/java/com/philliphsu/clock2/alarms/ui/BaseAlarmViewHolder.java b/app/src/main/java/com/philliphsu/clock2/alarms/ui/BaseAlarmViewHolder.java index 6e65465..3f7e088 100644 --- a/app/src/main/java/com/philliphsu/clock2/alarms/ui/BaseAlarmViewHolder.java +++ b/app/src/main/java/com/philliphsu/clock2/alarms/ui/BaseAlarmViewHolder.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.alarms.ui; import android.content.res.ColorStateList; diff --git a/app/src/main/java/com/philliphsu/clock2/alarms/ui/CollapsedAlarmViewHolder.java b/app/src/main/java/com/philliphsu/clock2/alarms/ui/CollapsedAlarmViewHolder.java index 78fde4f..b7b7087 100644 --- a/app/src/main/java/com/philliphsu/clock2/alarms/ui/CollapsedAlarmViewHolder.java +++ b/app/src/main/java/com/philliphsu/clock2/alarms/ui/CollapsedAlarmViewHolder.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.alarms.ui; import android.view.ViewGroup; diff --git a/app/src/main/java/com/philliphsu/clock2/alarms/ui/ExpandedAlarmViewHolder.java b/app/src/main/java/com/philliphsu/clock2/alarms/ui/ExpandedAlarmViewHolder.java index aefad91..49f4939 100644 --- a/app/src/main/java/com/philliphsu/clock2/alarms/ui/ExpandedAlarmViewHolder.java +++ b/app/src/main/java/com/philliphsu/clock2/alarms/ui/ExpandedAlarmViewHolder.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.alarms.ui; import android.content.Context; diff --git a/app/src/main/java/com/philliphsu/clock2/chronometer/BaseChronometer.java b/app/src/main/java/com/philliphsu/clock2/chronometer/BaseChronometer.java index 3693a90..74e20ba 100644 --- a/app/src/main/java/com/philliphsu/clock2/chronometer/BaseChronometer.java +++ b/app/src/main/java/com/philliphsu/clock2/chronometer/BaseChronometer.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.chronometer; import android.annotation.TargetApi; diff --git a/app/src/main/java/com/philliphsu/clock2/chronometer/ChronometerDelegate.java b/app/src/main/java/com/philliphsu/clock2/chronometer/ChronometerDelegate.java index b8210bd..d5a4b6b 100644 --- a/app/src/main/java/com/philliphsu/clock2/chronometer/ChronometerDelegate.java +++ b/app/src/main/java/com/philliphsu/clock2/chronometer/ChronometerDelegate.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.chronometer; import android.content.res.Resources; diff --git a/app/src/main/java/com/philliphsu/clock2/chronometer/ChronometerNotificationService.java b/app/src/main/java/com/philliphsu/clock2/chronometer/ChronometerNotificationService.java index 0bb4b92..571ad4e 100644 --- a/app/src/main/java/com/philliphsu/clock2/chronometer/ChronometerNotificationService.java +++ b/app/src/main/java/com/philliphsu/clock2/chronometer/ChronometerNotificationService.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.chronometer; import android.app.NotificationManager; diff --git a/app/src/main/java/com/philliphsu/clock2/chronometer/ChronometerNotificationThread.java b/app/src/main/java/com/philliphsu/clock2/chronometer/ChronometerNotificationThread.java index 0ad680e..70d5645 100644 --- a/app/src/main/java/com/philliphsu/clock2/chronometer/ChronometerNotificationThread.java +++ b/app/src/main/java/com/philliphsu/clock2/chronometer/ChronometerNotificationThread.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.chronometer; import android.annotation.SuppressLint; diff --git a/app/src/main/java/com/philliphsu/clock2/data/AsyncDatabaseTableUpdateHandler.java b/app/src/main/java/com/philliphsu/clock2/data/AsyncDatabaseTableUpdateHandler.java index 7f7fb91..7a8a6eb 100644 --- a/app/src/main/java/com/philliphsu/clock2/data/AsyncDatabaseTableUpdateHandler.java +++ b/app/src/main/java/com/philliphsu/clock2/data/AsyncDatabaseTableUpdateHandler.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.data; import android.content.Context; diff --git a/app/src/main/java/com/philliphsu/clock2/data/BaseItemCursor.java b/app/src/main/java/com/philliphsu/clock2/data/BaseItemCursor.java index 36f2839..8079b51 100644 --- a/app/src/main/java/com/philliphsu/clock2/data/BaseItemCursor.java +++ b/app/src/main/java/com/philliphsu/clock2/data/BaseItemCursor.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.data; import android.database.Cursor; diff --git a/app/src/main/java/com/philliphsu/clock2/data/ClockAppDatabaseHelper.java b/app/src/main/java/com/philliphsu/clock2/data/ClockAppDatabaseHelper.java index 2a5b0de..8be2d1c 100644 --- a/app/src/main/java/com/philliphsu/clock2/data/ClockAppDatabaseHelper.java +++ b/app/src/main/java/com/philliphsu/clock2/data/ClockAppDatabaseHelper.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.data; import android.content.Context; diff --git a/app/src/main/java/com/philliphsu/clock2/data/DatabaseTableManager.java b/app/src/main/java/com/philliphsu/clock2/data/DatabaseTableManager.java index 303931b..8036a88 100644 --- a/app/src/main/java/com/philliphsu/clock2/data/DatabaseTableManager.java +++ b/app/src/main/java/com/philliphsu/clock2/data/DatabaseTableManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.data; import android.content.ContentValues; diff --git a/app/src/main/java/com/philliphsu/clock2/data/ObjectWithId.java b/app/src/main/java/com/philliphsu/clock2/data/ObjectWithId.java index 65f611b..0d1e3b5 100644 --- a/app/src/main/java/com/philliphsu/clock2/data/ObjectWithId.java +++ b/app/src/main/java/com/philliphsu/clock2/data/ObjectWithId.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.data; /** diff --git a/app/src/main/java/com/philliphsu/clock2/data/SQLiteCursorLoader.java b/app/src/main/java/com/philliphsu/clock2/data/SQLiteCursorLoader.java index 9922159..1a356c2 100644 --- a/app/src/main/java/com/philliphsu/clock2/data/SQLiteCursorLoader.java +++ b/app/src/main/java/com/philliphsu/clock2/data/SQLiteCursorLoader.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.data; import android.content.BroadcastReceiver; diff --git a/app/src/main/java/com/philliphsu/clock2/dialogs/AddLabelDialog.java b/app/src/main/java/com/philliphsu/clock2/dialogs/AddLabelDialog.java index 1ee5124..95682e3 100644 --- a/app/src/main/java/com/philliphsu/clock2/dialogs/AddLabelDialog.java +++ b/app/src/main/java/com/philliphsu/clock2/dialogs/AddLabelDialog.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.dialogs; import android.content.DialogInterface; diff --git a/app/src/main/java/com/philliphsu/clock2/dialogs/AddLabelDialogController.java b/app/src/main/java/com/philliphsu/clock2/dialogs/AddLabelDialogController.java index 65e72d2..de79c8c 100644 --- a/app/src/main/java/com/philliphsu/clock2/dialogs/AddLabelDialogController.java +++ b/app/src/main/java/com/philliphsu/clock2/dialogs/AddLabelDialogController.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.dialogs; import android.support.v4.app.FragmentManager; diff --git a/app/src/main/java/com/philliphsu/clock2/dialogs/BaseAlertDialogFragment.java b/app/src/main/java/com/philliphsu/clock2/dialogs/BaseAlertDialogFragment.java index c2fedf1..81815d6 100644 --- a/app/src/main/java/com/philliphsu/clock2/dialogs/BaseAlertDialogFragment.java +++ b/app/src/main/java/com/philliphsu/clock2/dialogs/BaseAlertDialogFragment.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.dialogs; import android.app.Dialog; diff --git a/app/src/main/java/com/philliphsu/clock2/dialogs/DialogFragmentController.java b/app/src/main/java/com/philliphsu/clock2/dialogs/DialogFragmentController.java index d0f3b61..b81740f 100644 --- a/app/src/main/java/com/philliphsu/clock2/dialogs/DialogFragmentController.java +++ b/app/src/main/java/com/philliphsu/clock2/dialogs/DialogFragmentController.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.dialogs; import android.support.annotation.Nullable; diff --git a/app/src/main/java/com/philliphsu/clock2/dialogs/RingtonePickerDialog.java b/app/src/main/java/com/philliphsu/clock2/dialogs/RingtonePickerDialog.java index 2e2b4bf..9fb529e 100644 --- a/app/src/main/java/com/philliphsu/clock2/dialogs/RingtonePickerDialog.java +++ b/app/src/main/java/com/philliphsu/clock2/dialogs/RingtonePickerDialog.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.dialogs; import android.content.DialogInterface; diff --git a/app/src/main/java/com/philliphsu/clock2/dialogs/RingtonePickerDialogController.java b/app/src/main/java/com/philliphsu/clock2/dialogs/RingtonePickerDialogController.java index e868013..820c2ee 100644 --- a/app/src/main/java/com/philliphsu/clock2/dialogs/RingtonePickerDialogController.java +++ b/app/src/main/java/com/philliphsu/clock2/dialogs/RingtonePickerDialogController.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.dialogs; import android.net.Uri; diff --git a/app/src/main/java/com/philliphsu/clock2/dialogs/SystemTimePickerDialog.java b/app/src/main/java/com/philliphsu/clock2/dialogs/SystemTimePickerDialog.java index e974632..110da90 100644 --- a/app/src/main/java/com/philliphsu/clock2/dialogs/SystemTimePickerDialog.java +++ b/app/src/main/java/com/philliphsu/clock2/dialogs/SystemTimePickerDialog.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.dialogs; import android.app.Dialog; diff --git a/app/src/main/java/com/philliphsu/clock2/dialogs/TimePickerDialogController.java b/app/src/main/java/com/philliphsu/clock2/dialogs/TimePickerDialogController.java index 7d34968..7da3ce2 100644 --- a/app/src/main/java/com/philliphsu/clock2/dialogs/TimePickerDialogController.java +++ b/app/src/main/java/com/philliphsu/clock2/dialogs/TimePickerDialogController.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.dialogs; import android.content.Context; diff --git a/app/src/main/java/com/philliphsu/clock2/list/BaseCursorAdapter.java b/app/src/main/java/com/philliphsu/clock2/list/BaseCursorAdapter.java index b56bef3..377f8a9 100644 --- a/app/src/main/java/com/philliphsu/clock2/list/BaseCursorAdapter.java +++ b/app/src/main/java/com/philliphsu/clock2/list/BaseCursorAdapter.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.list; import android.support.v7.widget.RecyclerView; diff --git a/app/src/main/java/com/philliphsu/clock2/list/BaseViewHolder.java b/app/src/main/java/com/philliphsu/clock2/list/BaseViewHolder.java index c2fde9d..0ad4828 100644 --- a/app/src/main/java/com/philliphsu/clock2/list/BaseViewHolder.java +++ b/app/src/main/java/com/philliphsu/clock2/list/BaseViewHolder.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.list; import android.content.Context; diff --git a/app/src/main/java/com/philliphsu/clock2/list/OnListItemInteractionListener.java b/app/src/main/java/com/philliphsu/clock2/list/OnListItemInteractionListener.java index a7336d8..d0092cc 100644 --- a/app/src/main/java/com/philliphsu/clock2/list/OnListItemInteractionListener.java +++ b/app/src/main/java/com/philliphsu/clock2/list/OnListItemInteractionListener.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.list; /** diff --git a/app/src/main/java/com/philliphsu/clock2/list/RecyclerViewFragment.java b/app/src/main/java/com/philliphsu/clock2/list/RecyclerViewFragment.java index 03ee0e1..5a19e15 100644 --- a/app/src/main/java/com/philliphsu/clock2/list/RecyclerViewFragment.java +++ b/app/src/main/java/com/philliphsu/clock2/list/RecyclerViewFragment.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.list; import android.os.Bundle; diff --git a/app/src/main/java/com/philliphsu/clock2/list/ScrollHandler.java b/app/src/main/java/com/philliphsu/clock2/list/ScrollHandler.java index 043c054..e130084 100644 --- a/app/src/main/java/com/philliphsu/clock2/list/ScrollHandler.java +++ b/app/src/main/java/com/philliphsu/clock2/list/ScrollHandler.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.list; /** diff --git a/app/src/main/java/com/philliphsu/clock2/ringtone/AlarmActivity.java b/app/src/main/java/com/philliphsu/clock2/ringtone/AlarmActivity.java index d244800..17f6047 100644 --- a/app/src/main/java/com/philliphsu/clock2/ringtone/AlarmActivity.java +++ b/app/src/main/java/com/philliphsu/clock2/ringtone/AlarmActivity.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.ringtone; import android.app.Notification; diff --git a/app/src/main/java/com/philliphsu/clock2/ringtone/RingtoneActivity.java b/app/src/main/java/com/philliphsu/clock2/ringtone/RingtoneActivity.java index 162d713..132c6a9 100644 --- a/app/src/main/java/com/philliphsu/clock2/ringtone/RingtoneActivity.java +++ b/app/src/main/java/com/philliphsu/clock2/ringtone/RingtoneActivity.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.ringtone; import android.content.BroadcastReceiver; diff --git a/app/src/main/java/com/philliphsu/clock2/ringtone/TimesUpActivity.java b/app/src/main/java/com/philliphsu/clock2/ringtone/TimesUpActivity.java index 0ee0f97..df7535b 100644 --- a/app/src/main/java/com/philliphsu/clock2/ringtone/TimesUpActivity.java +++ b/app/src/main/java/com/philliphsu/clock2/ringtone/TimesUpActivity.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.ringtone; import android.app.Notification; diff --git a/app/src/main/java/com/philliphsu/clock2/ringtone/playback/AlarmRingtoneService.java b/app/src/main/java/com/philliphsu/clock2/ringtone/playback/AlarmRingtoneService.java index 842cd5d..efb4eb1 100644 --- a/app/src/main/java/com/philliphsu/clock2/ringtone/playback/AlarmRingtoneService.java +++ b/app/src/main/java/com/philliphsu/clock2/ringtone/playback/AlarmRingtoneService.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.ringtone.playback; import android.app.Notification; diff --git a/app/src/main/java/com/philliphsu/clock2/ringtone/playback/RingtoneLoop.java b/app/src/main/java/com/philliphsu/clock2/ringtone/playback/RingtoneLoop.java index e23e8a8..d997aa5 100644 --- a/app/src/main/java/com/philliphsu/clock2/ringtone/playback/RingtoneLoop.java +++ b/app/src/main/java/com/philliphsu/clock2/ringtone/playback/RingtoneLoop.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.ringtone.playback; import android.content.Context; diff --git a/app/src/main/java/com/philliphsu/clock2/ringtone/playback/RingtoneService.java b/app/src/main/java/com/philliphsu/clock2/ringtone/playback/RingtoneService.java index 74f4f17..93cf417 100644 --- a/app/src/main/java/com/philliphsu/clock2/ringtone/playback/RingtoneService.java +++ b/app/src/main/java/com/philliphsu/clock2/ringtone/playback/RingtoneService.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.ringtone.playback; import android.app.Notification; diff --git a/app/src/main/java/com/philliphsu/clock2/ringtone/playback/TimerRingtoneService.java b/app/src/main/java/com/philliphsu/clock2/ringtone/playback/TimerRingtoneService.java index eecd772..dfad04f 100644 --- a/app/src/main/java/com/philliphsu/clock2/ringtone/playback/TimerRingtoneService.java +++ b/app/src/main/java/com/philliphsu/clock2/ringtone/playback/TimerRingtoneService.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.ringtone.playback; import android.app.Notification; diff --git a/app/src/main/java/com/philliphsu/clock2/settings/SettingsActivity.java b/app/src/main/java/com/philliphsu/clock2/settings/SettingsActivity.java index 4e5bb0d..c7b43a8 100644 --- a/app/src/main/java/com/philliphsu/clock2/settings/SettingsActivity.java +++ b/app/src/main/java/com/philliphsu/clock2/settings/SettingsActivity.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.settings; import android.app.Activity; diff --git a/app/src/main/java/com/philliphsu/clock2/settings/SettingsFragment.java b/app/src/main/java/com/philliphsu/clock2/settings/SettingsFragment.java index 871e893..eeb76e5 100644 --- a/app/src/main/java/com/philliphsu/clock2/settings/SettingsFragment.java +++ b/app/src/main/java/com/philliphsu/clock2/settings/SettingsFragment.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.settings; import android.content.Context; diff --git a/app/src/main/java/com/philliphsu/clock2/settings/ThemedRingtonePreference.java b/app/src/main/java/com/philliphsu/clock2/settings/ThemedRingtonePreference.java index b00ad5e..e969fb7 100644 --- a/app/src/main/java/com/philliphsu/clock2/settings/ThemedRingtonePreference.java +++ b/app/src/main/java/com/philliphsu/clock2/settings/ThemedRingtonePreference.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.settings; import android.annotation.TargetApi; diff --git a/app/src/main/java/com/philliphsu/clock2/stopwatch/Lap.java b/app/src/main/java/com/philliphsu/clock2/stopwatch/Lap.java index cc2ac22..196b559 100644 --- a/app/src/main/java/com/philliphsu/clock2/stopwatch/Lap.java +++ b/app/src/main/java/com/philliphsu/clock2/stopwatch/Lap.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.stopwatch; import android.os.SystemClock; diff --git a/app/src/main/java/com/philliphsu/clock2/stopwatch/StopwatchNotificationService.java b/app/src/main/java/com/philliphsu/clock2/stopwatch/StopwatchNotificationService.java index a27db97..b80aa5e 100644 --- a/app/src/main/java/com/philliphsu/clock2/stopwatch/StopwatchNotificationService.java +++ b/app/src/main/java/com/philliphsu/clock2/stopwatch/StopwatchNotificationService.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.stopwatch; import android.app.PendingIntent; diff --git a/app/src/main/java/com/philliphsu/clock2/stopwatch/data/AsyncLapsTableUpdateHandler.java b/app/src/main/java/com/philliphsu/clock2/stopwatch/data/AsyncLapsTableUpdateHandler.java index c41699d..3ee69a8 100644 --- a/app/src/main/java/com/philliphsu/clock2/stopwatch/data/AsyncLapsTableUpdateHandler.java +++ b/app/src/main/java/com/philliphsu/clock2/stopwatch/data/AsyncLapsTableUpdateHandler.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.stopwatch.data; import android.content.Context; diff --git a/app/src/main/java/com/philliphsu/clock2/stopwatch/data/LapCursor.java b/app/src/main/java/com/philliphsu/clock2/stopwatch/data/LapCursor.java index 20d9017..2e5eb58 100644 --- a/app/src/main/java/com/philliphsu/clock2/stopwatch/data/LapCursor.java +++ b/app/src/main/java/com/philliphsu/clock2/stopwatch/data/LapCursor.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.stopwatch.data; import android.database.Cursor; diff --git a/app/src/main/java/com/philliphsu/clock2/stopwatch/data/LapsCursorLoader.java b/app/src/main/java/com/philliphsu/clock2/stopwatch/data/LapsCursorLoader.java index 366821d..64c2290 100644 --- a/app/src/main/java/com/philliphsu/clock2/stopwatch/data/LapsCursorLoader.java +++ b/app/src/main/java/com/philliphsu/clock2/stopwatch/data/LapsCursorLoader.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.stopwatch.data; import android.content.Context; diff --git a/app/src/main/java/com/philliphsu/clock2/stopwatch/data/LapsTable.java b/app/src/main/java/com/philliphsu/clock2/stopwatch/data/LapsTable.java index 1fcee31..b04cdba 100644 --- a/app/src/main/java/com/philliphsu/clock2/stopwatch/data/LapsTable.java +++ b/app/src/main/java/com/philliphsu/clock2/stopwatch/data/LapsTable.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.stopwatch.data; import android.database.sqlite.SQLiteDatabase; diff --git a/app/src/main/java/com/philliphsu/clock2/stopwatch/data/LapsTableManager.java b/app/src/main/java/com/philliphsu/clock2/stopwatch/data/LapsTableManager.java index d490099..7b6af0e 100644 --- a/app/src/main/java/com/philliphsu/clock2/stopwatch/data/LapsTableManager.java +++ b/app/src/main/java/com/philliphsu/clock2/stopwatch/data/LapsTableManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.stopwatch.data; import android.content.ContentValues; diff --git a/app/src/main/java/com/philliphsu/clock2/stopwatch/ui/LapViewHolder.java b/app/src/main/java/com/philliphsu/clock2/stopwatch/ui/LapViewHolder.java index 4c8d256..5ba84fe 100644 --- a/app/src/main/java/com/philliphsu/clock2/stopwatch/ui/LapViewHolder.java +++ b/app/src/main/java/com/philliphsu/clock2/stopwatch/ui/LapViewHolder.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.stopwatch.ui; import android.view.View; diff --git a/app/src/main/java/com/philliphsu/clock2/stopwatch/ui/LapsAdapter.java b/app/src/main/java/com/philliphsu/clock2/stopwatch/ui/LapsAdapter.java index 3963947..a770963 100644 --- a/app/src/main/java/com/philliphsu/clock2/stopwatch/ui/LapsAdapter.java +++ b/app/src/main/java/com/philliphsu/clock2/stopwatch/ui/LapsAdapter.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.stopwatch.ui; import android.view.ViewGroup; diff --git a/app/src/main/java/com/philliphsu/clock2/stopwatch/ui/StopwatchFragment.java b/app/src/main/java/com/philliphsu/clock2/stopwatch/ui/StopwatchFragment.java index a9424b3..2cdec2c 100644 --- a/app/src/main/java/com/philliphsu/clock2/stopwatch/ui/StopwatchFragment.java +++ b/app/src/main/java/com/philliphsu/clock2/stopwatch/ui/StopwatchFragment.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.stopwatch.ui; import android.animation.Animator; diff --git a/app/src/main/java/com/philliphsu/clock2/timepickers/BaseTimePickerDialog.java b/app/src/main/java/com/philliphsu/clock2/timepickers/BaseTimePickerDialog.java index 054923b..1ccbb8a 100644 --- a/app/src/main/java/com/philliphsu/clock2/timepickers/BaseTimePickerDialog.java +++ b/app/src/main/java/com/philliphsu/clock2/timepickers/BaseTimePickerDialog.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.timepickers; import android.os.Bundle; diff --git a/app/src/main/java/com/philliphsu/clock2/timepickers/GridLayoutNumpad.java b/app/src/main/java/com/philliphsu/clock2/timepickers/GridLayoutNumpad.java index 19d3d90..3883d70 100644 --- a/app/src/main/java/com/philliphsu/clock2/timepickers/GridLayoutNumpad.java +++ b/app/src/main/java/com/philliphsu/clock2/timepickers/GridLayoutNumpad.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.timepickers; import android.content.Context; diff --git a/app/src/main/java/com/philliphsu/clock2/timepickers/HoursGrid.java b/app/src/main/java/com/philliphsu/clock2/timepickers/HoursGrid.java index bb26ae4..49fd939 100644 --- a/app/src/main/java/com/philliphsu/clock2/timepickers/HoursGrid.java +++ b/app/src/main/java/com/philliphsu/clock2/timepickers/HoursGrid.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.timepickers; import android.content.Context; diff --git a/app/src/main/java/com/philliphsu/clock2/timepickers/MinutesGrid.java b/app/src/main/java/com/philliphsu/clock2/timepickers/MinutesGrid.java index f250aad..1bd3324 100644 --- a/app/src/main/java/com/philliphsu/clock2/timepickers/MinutesGrid.java +++ b/app/src/main/java/com/philliphsu/clock2/timepickers/MinutesGrid.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.timepickers; import android.content.Context; diff --git a/app/src/main/java/com/philliphsu/clock2/timepickers/NumbersGrid.java b/app/src/main/java/com/philliphsu/clock2/timepickers/NumbersGrid.java index e576019..b395202 100644 --- a/app/src/main/java/com/philliphsu/clock2/timepickers/NumbersGrid.java +++ b/app/src/main/java/com/philliphsu/clock2/timepickers/NumbersGrid.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.timepickers; import android.content.Context; diff --git a/app/src/main/java/com/philliphsu/clock2/timepickers/NumpadTimePicker.java b/app/src/main/java/com/philliphsu/clock2/timepickers/NumpadTimePicker.java index 4f50022..04976a3 100644 --- a/app/src/main/java/com/philliphsu/clock2/timepickers/NumpadTimePicker.java +++ b/app/src/main/java/com/philliphsu/clock2/timepickers/NumpadTimePicker.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.timepickers; import android.animation.ObjectAnimator; diff --git a/app/src/main/java/com/philliphsu/clock2/timepickers/NumpadTimePickerDialog.java b/app/src/main/java/com/philliphsu/clock2/timepickers/NumpadTimePickerDialog.java index 5592618..28b0cdc 100644 --- a/app/src/main/java/com/philliphsu/clock2/timepickers/NumpadTimePickerDialog.java +++ b/app/src/main/java/com/philliphsu/clock2/timepickers/NumpadTimePickerDialog.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.timepickers; import android.os.Bundle; diff --git a/app/src/main/java/com/philliphsu/clock2/timepickers/TwentyFourHourGridItem.java b/app/src/main/java/com/philliphsu/clock2/timepickers/TwentyFourHourGridItem.java index fbda212..294f879 100644 --- a/app/src/main/java/com/philliphsu/clock2/timepickers/TwentyFourHourGridItem.java +++ b/app/src/main/java/com/philliphsu/clock2/timepickers/TwentyFourHourGridItem.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.timepickers; import android.content.Context; diff --git a/app/src/main/java/com/philliphsu/clock2/timepickers/TwentyFourHoursGrid.java b/app/src/main/java/com/philliphsu/clock2/timepickers/TwentyFourHoursGrid.java index b8c6662..d634cd3 100644 --- a/app/src/main/java/com/philliphsu/clock2/timepickers/TwentyFourHoursGrid.java +++ b/app/src/main/java/com/philliphsu/clock2/timepickers/TwentyFourHoursGrid.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.timepickers; import android.content.Context; diff --git a/app/src/main/java/com/philliphsu/clock2/timers/EditTimerActivity.java b/app/src/main/java/com/philliphsu/clock2/timers/EditTimerActivity.java index 36b34c5..7da9dc2 100644 --- a/app/src/main/java/com/philliphsu/clock2/timers/EditTimerActivity.java +++ b/app/src/main/java/com/philliphsu/clock2/timers/EditTimerActivity.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.timers; import android.content.Intent; diff --git a/app/src/main/java/com/philliphsu/clock2/timers/Timer.java b/app/src/main/java/com/philliphsu/clock2/timers/Timer.java index 4d87a0f..fe5cdbb 100644 --- a/app/src/main/java/com/philliphsu/clock2/timers/Timer.java +++ b/app/src/main/java/com/philliphsu/clock2/timers/Timer.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.timers; import android.os.Parcel; diff --git a/app/src/main/java/com/philliphsu/clock2/timers/TimerController.java b/app/src/main/java/com/philliphsu/clock2/timers/TimerController.java index 18983cc..017eabd 100644 --- a/app/src/main/java/com/philliphsu/clock2/timers/TimerController.java +++ b/app/src/main/java/com/philliphsu/clock2/timers/TimerController.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.timers; import android.util.Log; diff --git a/app/src/main/java/com/philliphsu/clock2/timers/TimerNotificationService.java b/app/src/main/java/com/philliphsu/clock2/timers/TimerNotificationService.java index afaf9b1..54a48f2 100644 --- a/app/src/main/java/com/philliphsu/clock2/timers/TimerNotificationService.java +++ b/app/src/main/java/com/philliphsu/clock2/timers/TimerNotificationService.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.timers; import android.app.PendingIntent; diff --git a/app/src/main/java/com/philliphsu/clock2/timers/data/AsyncTimersTableUpdateHandler.java b/app/src/main/java/com/philliphsu/clock2/timers/data/AsyncTimersTableUpdateHandler.java index 6ce4a1d..78602c8 100644 --- a/app/src/main/java/com/philliphsu/clock2/timers/data/AsyncTimersTableUpdateHandler.java +++ b/app/src/main/java/com/philliphsu/clock2/timers/data/AsyncTimersTableUpdateHandler.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.timers.data; import android.app.AlarmManager; diff --git a/app/src/main/java/com/philliphsu/clock2/timers/data/TimerCursor.java b/app/src/main/java/com/philliphsu/clock2/timers/data/TimerCursor.java index 05e7cb5..a1046cd 100644 --- a/app/src/main/java/com/philliphsu/clock2/timers/data/TimerCursor.java +++ b/app/src/main/java/com/philliphsu/clock2/timers/data/TimerCursor.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.timers.data; import android.database.Cursor; diff --git a/app/src/main/java/com/philliphsu/clock2/timers/data/TimersListCursorLoader.java b/app/src/main/java/com/philliphsu/clock2/timers/data/TimersListCursorLoader.java index e08cf65..4a99072 100644 --- a/app/src/main/java/com/philliphsu/clock2/timers/data/TimersListCursorLoader.java +++ b/app/src/main/java/com/philliphsu/clock2/timers/data/TimersListCursorLoader.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.timers.data; import android.content.Context; diff --git a/app/src/main/java/com/philliphsu/clock2/timers/data/TimersTable.java b/app/src/main/java/com/philliphsu/clock2/timers/data/TimersTable.java index ae6aa30..a1e5862 100644 --- a/app/src/main/java/com/philliphsu/clock2/timers/data/TimersTable.java +++ b/app/src/main/java/com/philliphsu/clock2/timers/data/TimersTable.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.timers.data; import android.database.sqlite.SQLiteDatabase; diff --git a/app/src/main/java/com/philliphsu/clock2/timers/data/TimersTableManager.java b/app/src/main/java/com/philliphsu/clock2/timers/data/TimersTableManager.java index 0b4ea3b..6d22a6c 100644 --- a/app/src/main/java/com/philliphsu/clock2/timers/data/TimersTableManager.java +++ b/app/src/main/java/com/philliphsu/clock2/timers/data/TimersTableManager.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.timers.data; import android.content.ContentValues; diff --git a/app/src/main/java/com/philliphsu/clock2/timers/ui/TimerViewHolder.java b/app/src/main/java/com/philliphsu/clock2/timers/ui/TimerViewHolder.java index c05de5f..69ff3b0 100644 --- a/app/src/main/java/com/philliphsu/clock2/timers/ui/TimerViewHolder.java +++ b/app/src/main/java/com/philliphsu/clock2/timers/ui/TimerViewHolder.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.timers.ui; import android.animation.ObjectAnimator; diff --git a/app/src/main/java/com/philliphsu/clock2/timers/ui/TimersCursorAdapter.java b/app/src/main/java/com/philliphsu/clock2/timers/ui/TimersCursorAdapter.java index 3a6dbc8..5f11885 100644 --- a/app/src/main/java/com/philliphsu/clock2/timers/ui/TimersCursorAdapter.java +++ b/app/src/main/java/com/philliphsu/clock2/timers/ui/TimersCursorAdapter.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.timers.ui; import android.view.ViewGroup; diff --git a/app/src/main/java/com/philliphsu/clock2/timers/ui/TimersFragment.java b/app/src/main/java/com/philliphsu/clock2/timers/ui/TimersFragment.java index 55c1252..b538ba3 100644 --- a/app/src/main/java/com/philliphsu/clock2/timers/ui/TimersFragment.java +++ b/app/src/main/java/com/philliphsu/clock2/timers/ui/TimersFragment.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.timers.ui; diff --git a/app/src/main/java/com/philliphsu/clock2/util/ConfigurationUtils.java b/app/src/main/java/com/philliphsu/clock2/util/ConfigurationUtils.java index d789b50..26f3aed 100644 --- a/app/src/main/java/com/philliphsu/clock2/util/ConfigurationUtils.java +++ b/app/src/main/java/com/philliphsu/clock2/util/ConfigurationUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.util; import android.content.res.Resources; diff --git a/app/src/main/java/com/philliphsu/clock2/util/ContentIntentUtils.java b/app/src/main/java/com/philliphsu/clock2/util/ContentIntentUtils.java index 4bca2de..3aad702 100644 --- a/app/src/main/java/com/philliphsu/clock2/util/ContentIntentUtils.java +++ b/app/src/main/java/com/philliphsu/clock2/util/ContentIntentUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.util; import android.app.PendingIntent; diff --git a/app/src/main/java/com/philliphsu/clock2/util/DelayedSnackbarHandler.java b/app/src/main/java/com/philliphsu/clock2/util/DelayedSnackbarHandler.java index 0b90d8f..9321748 100644 --- a/app/src/main/java/com/philliphsu/clock2/util/DelayedSnackbarHandler.java +++ b/app/src/main/java/com/philliphsu/clock2/util/DelayedSnackbarHandler.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.util; import android.support.design.widget.Snackbar; diff --git a/app/src/main/java/com/philliphsu/clock2/util/DurationUtils.java b/app/src/main/java/com/philliphsu/clock2/util/DurationUtils.java index 9e4f731..477683d 100644 --- a/app/src/main/java/com/philliphsu/clock2/util/DurationUtils.java +++ b/app/src/main/java/com/philliphsu/clock2/util/DurationUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.util; import android.content.Context; diff --git a/app/src/main/java/com/philliphsu/clock2/util/FragmentTagUtils.java b/app/src/main/java/com/philliphsu/clock2/util/FragmentTagUtils.java index 75cb8f8..a2ae4a2 100644 --- a/app/src/main/java/com/philliphsu/clock2/util/FragmentTagUtils.java +++ b/app/src/main/java/com/philliphsu/clock2/util/FragmentTagUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.util; import android.support.annotation.IdRes; diff --git a/app/src/main/java/com/philliphsu/clock2/util/KeyboardUtils.java b/app/src/main/java/com/philliphsu/clock2/util/KeyboardUtils.java index e5fedc2..71f2cec 100644 --- a/app/src/main/java/com/philliphsu/clock2/util/KeyboardUtils.java +++ b/app/src/main/java/com/philliphsu/clock2/util/KeyboardUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.util; import android.app.Activity; diff --git a/app/src/main/java/com/philliphsu/clock2/util/LocalBroadcastHelper.java b/app/src/main/java/com/philliphsu/clock2/util/LocalBroadcastHelper.java index 8a534b6..a528911 100644 --- a/app/src/main/java/com/philliphsu/clock2/util/LocalBroadcastHelper.java +++ b/app/src/main/java/com/philliphsu/clock2/util/LocalBroadcastHelper.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.util; import android.content.BroadcastReceiver; diff --git a/app/src/main/java/com/philliphsu/clock2/util/Preconditions.java b/app/src/main/java/com/philliphsu/clock2/util/Preconditions.java index 7dedac8..e1d8759 100644 --- a/app/src/main/java/com/philliphsu/clock2/util/Preconditions.java +++ b/app/src/main/java/com/philliphsu/clock2/util/Preconditions.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.util; /** diff --git a/app/src/main/java/com/philliphsu/clock2/util/ProgressBarUtils.java b/app/src/main/java/com/philliphsu/clock2/util/ProgressBarUtils.java index b8ec867..e3b0e00 100644 --- a/app/src/main/java/com/philliphsu/clock2/util/ProgressBarUtils.java +++ b/app/src/main/java/com/philliphsu/clock2/util/ProgressBarUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.util; import android.animation.ObjectAnimator; diff --git a/app/src/main/java/com/philliphsu/clock2/util/TimeFormatUtils.java b/app/src/main/java/com/philliphsu/clock2/util/TimeFormatUtils.java index 9a9f189..4edce29 100644 --- a/app/src/main/java/com/philliphsu/clock2/util/TimeFormatUtils.java +++ b/app/src/main/java/com/philliphsu/clock2/util/TimeFormatUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.util; import android.content.Context; diff --git a/app/src/main/java/com/philliphsu/clock2/util/TimeTextUtils.java b/app/src/main/java/com/philliphsu/clock2/util/TimeTextUtils.java index 4b98bb0..d537232 100644 --- a/app/src/main/java/com/philliphsu/clock2/util/TimeTextUtils.java +++ b/app/src/main/java/com/philliphsu/clock2/util/TimeTextUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Phillip Hsu + * + * 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.philliphsu.clock2.util; import android.text.SpannableString; diff --git a/app/src/main/res/color/fab_icon_color.xml b/app/src/main/res/color/fab_icon_color.xml index 32e32d4..fefc6bd 100644 --- a/app/src/main/res/color/fab_icon_color.xml +++ b/app/src/main/res/color/fab_icon_color.xml @@ -1,4 +1,20 @@ + + diff --git a/app/src/main/res/color/icon_color.xml b/app/src/main/res/color/icon_color.xml index 3ff0ce5..a4c7d70 100644 --- a/app/src/main/res/color/icon_color.xml +++ b/app/src/main/res/color/icon_color.xml @@ -1,4 +1,20 @@ + + diff --git a/app/src/main/res/color/icon_color_dark.xml b/app/src/main/res/color/icon_color_dark.xml index ce0656d..170ce71 100644 --- a/app/src/main/res/color/icon_color_dark.xml +++ b/app/src/main/res/color/icon_color_dark.xml @@ -1,4 +1,20 @@ + + diff --git a/app/src/main/res/color/numeric_keypad_button_text.xml b/app/src/main/res/color/numeric_keypad_button_text.xml index 280d18b..9a8eae4 100644 --- a/app/src/main/res/color/numeric_keypad_button_text.xml +++ b/app/src/main/res/color/numeric_keypad_button_text.xml @@ -1,4 +1,20 @@ + + diff --git a/app/src/main/res/color/numeric_keypad_button_text_dark.xml b/app/src/main/res/color/numeric_keypad_button_text_dark.xml index c82c02f..665a3e7 100644 --- a/app/src/main/res/color/numeric_keypad_button_text_dark.xml +++ b/app/src/main/res/color/numeric_keypad_button_text_dark.xml @@ -1,4 +1,20 @@ + + diff --git a/app/src/main/res/color/numeric_keypad_fab_color.xml b/app/src/main/res/color/numeric_keypad_fab_color.xml index 65fafd5..f98c236 100644 --- a/app/src/main/res/color/numeric_keypad_fab_color.xml +++ b/app/src/main/res/color/numeric_keypad_fab_color.xml @@ -1,4 +1,20 @@ + + diff --git a/app/src/main/res/color/numeric_keypad_fab_color_dark.xml b/app/src/main/res/color/numeric_keypad_fab_color_dark.xml index f4a65f0..4f8e920 100644 --- a/app/src/main/res/color/numeric_keypad_fab_color_dark.xml +++ b/app/src/main/res/color/numeric_keypad_fab_color_dark.xml @@ -1,4 +1,20 @@ + + diff --git a/app/src/main/res/color/on_enabled_change_fab.xml b/app/src/main/res/color/on_enabled_change_fab.xml index bbc8af3..50eb822 100644 --- a/app/src/main/res/color/on_enabled_change_fab.xml +++ b/app/src/main/res/color/on_enabled_change_fab.xml @@ -1,4 +1,20 @@ + + diff --git a/app/src/main/res/color/tab_icon_color.xml b/app/src/main/res/color/tab_icon_color.xml index e6cb1ee..9ee4a54 100644 --- a/app/src/main/res/color/tab_icon_color.xml +++ b/app/src/main/res/color/tab_icon_color.xml @@ -1,4 +1,20 @@ + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/ic_add_24dp.xml b/app/src/main/res/drawable/ic_add_24dp.xml index 6b6146e..6586958 100644 --- a/app/src/main/res/drawable/ic_add_24dp.xml +++ b/app/src/main/res/drawable/ic_add_24dp.xml @@ -1,3 +1,19 @@ + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/drawable/ic_half_day_1_24dp.xml b/app/src/main/res/drawable/ic_half_day_1_24dp.xml index cd45c7a..a17524b 100644 --- a/app/src/main/res/drawable/ic_half_day_1_24dp.xml +++ b/app/src/main/res/drawable/ic_half_day_1_24dp.xml @@ -1,3 +1,19 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/layout-land/dialog_time_picker_number_grid.xml b/app/src/main/res/layout-land/dialog_time_picker_number_grid.xml index 4204a75..37eae42 100644 --- a/app/src/main/res/layout-land/dialog_time_picker_number_grid.xml +++ b/app/src/main/res/layout-land/dialog_time_picker_number_grid.xml @@ -1,4 +1,20 @@ + + + + diff --git a/app/src/main/res/layout-land/fragment_stopwatch.xml b/app/src/main/res/layout-land/fragment_stopwatch.xml index 18cba34..f97874f 100644 --- a/app/src/main/res/layout-land/fragment_stopwatch.xml +++ b/app/src/main/res/layout-land/fragment_stopwatch.xml @@ -1,4 +1,20 @@ + + + + + + diff --git a/app/src/main/res/layout/activity_edit_timer.xml b/app/src/main/res/layout/activity_edit_timer.xml index 2a13f5b..5b01547 100644 --- a/app/src/main/res/layout/activity_edit_timer.xml +++ b/app/src/main/res/layout/activity_edit_timer.xml @@ -1,4 +1,20 @@ + + + + + + + + + + + + + diff --git a/app/src/main/res/layout/content_24h_number_grid.xml b/app/src/main/res/layout/content_24h_number_grid.xml index f76ff77..0de27c9 100644 --- a/app/src/main/res/layout/content_24h_number_grid.xml +++ b/app/src/main/res/layout/content_24h_number_grid.xml @@ -1,4 +1,20 @@ + + diff --git a/app/src/main/res/layout/content_grid_layout_numpad.xml b/app/src/main/res/layout/content_grid_layout_numpad.xml index 09506f2..30e631d 100644 --- a/app/src/main/res/layout/content_grid_layout_numpad.xml +++ b/app/src/main/res/layout/content_grid_layout_numpad.xml @@ -1,4 +1,20 @@ + +