text
stringlengths
3
1.18M
package org.dodgybits.shuffle.android.core.model.encoding; import android.os.Bundle; import com.google.inject.Singleton; import org.dodgybits.shuffle.android.core.model.Task; import org.dodgybits.shuffle.android.core.model.Task.Builder; import org.dodgybits.shuffle.android.core.util.BundleUtils; import static android...
package org.dodgybits.shuffle.android.core.model; public interface EntityBuilder<E> { EntityBuilder<E> mergeFrom(E e); EntityBuilder<E> setLocalId(Id id); EntityBuilder<E> setModifiedDate(long ms); EntityBuilder<E> setTracksId(Id id); EntityBuilder<E> setActive(boolean value); EntityBuilder<E>...
package org.dodgybits.shuffle.android.core.model; public final class Id { private final long mId; public static final Id NONE = new Id(0L); private Id(long id) { mId = id; } public long getId() { return mId; } public boolean isInitialised() { ret...
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
package org.dodgybits.shuffle.android.core.model.persistence; import android.database.Cursor; import android.net.Uri; import org.dodgybits.shuffle.android.core.model.Entity; import org.dodgybits.shuffle.android.core.model.Id; import java.util.Collection; public interface EntityPersister<E extends Entity> { Uri ...
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
package org.dodgybits.shuffle.android.core.model.persistence; import android.content.ContentValues; import android.database.Cursor; import android.net.Uri; import com.google.inject.Inject; import org.dodgybits.shuffle.android.core.activity.flurry.Analytics; import org.dodgybits.shuffle.android.core.model.Context; impo...
package org.dodgybits.shuffle.android.core.model.persistence; import android.util.Log; import com.google.common.collect.Lists; import com.google.inject.Inject; import org.dodgybits.shuffle.android.core.model.Entity; import org.dodgybits.shuffle.android.core.model.Id; import org.dodgybits.shuffle.android.core.util.Item...
package org.dodgybits.shuffle.android.core.model.persistence.selector; public enum Flag { yes, no, ignored }
package org.dodgybits.shuffle.android.core.model.persistence.selector; import android.net.Uri; import android.os.Parcel; import android.os.Parcelable; import android.text.format.DateUtils; import android.util.Log; import org.dodgybits.shuffle.android.core.model.Id; import org.dodgybits.shuffle.android.list.model.ListQ...
package org.dodgybits.shuffle.android.core.model.persistence.selector; import android.content.Context; import android.net.Uri; import org.dodgybits.shuffle.android.preference.model.ListSettings; public interface EntitySelector<E extends EntitySelector<E>> { Uri getContentUri(); Flag getActive(); Flag ge...
package org.dodgybits.shuffle.android.core.model.persistence.selector; import android.net.Uri; import org.dodgybits.shuffle.android.persistence.provider.AbstractCollectionProvider; import org.dodgybits.shuffle.android.persistence.provider.ContextProvider; import java.util.List; public class ContextSelector extends A...
package org.dodgybits.shuffle.android.core.model.persistence.selector; import android.net.Uri; import org.dodgybits.shuffle.android.persistence.provider.AbstractCollectionProvider; import org.dodgybits.shuffle.android.persistence.provider.ProjectProvider; import java.util.List; public class ProjectSelector extends A...
package org.dodgybits.shuffle.android.core.model.persistence.selector; import android.util.Log; import org.dodgybits.shuffle.android.core.model.Id; import org.dodgybits.shuffle.android.core.util.StringUtils; import org.dodgybits.shuffle.android.preference.model.ListSettings; import java.util.ArrayList; import java.ut...
package org.dodgybits.shuffle.android.core.model.persistence; import android.content.ContentUris; import android.content.ContentValues; import android.database.Cursor; import android.net.Uri; import android.provider.BaseColumns; import android.text.TextUtils; import android.text.format.Time; import android.util.Log; i...
package org.dodgybits.shuffle.android.core.model.persistence; import android.content.ContentResolver; import android.content.ContentUris; import android.content.ContentValues; import android.database.Cursor; import android.net.Uri; import android.provider.BaseColumns; import org.dodgybits.shuffle.android.core.activity...
package org.dodgybits.shuffle.android.core.model.persistence; import static org.dodgybits.shuffle.android.persistence.provider.AbstractCollectionProvider.ShuffleTable.ACTIVE; import static org.dodgybits.shuffle.android.persistence.provider.AbstractCollectionProvider.ShuffleTable.DELETED; import static org.dodgybits.sh...
package org.dodgybits.shuffle.android.core.model.persistence; import org.dodgybits.shuffle.android.core.model.Entity; import org.dodgybits.shuffle.android.core.model.Id; import java.util.List; public interface EntityCache<E extends Entity> { E findById(Id localId); /** * Any ids that don't match are igno...
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
package org.dodgybits.shuffle.android.core.model; public class Reminder { public Integer id; public final int minutes; public final Method method; public Reminder(Integer id, int minutes, Method method) { this.id = id; this.minutes = minutes; this.method = method; } public Reminder(int minutes, Method me...
package org.dodgybits.shuffle.android.core.model; public interface Entity { /** * @return primary key for entity in local sqlite DB. 0L indicates an unsaved entity. */ Id getLocalId(); /** * @return ms since epoch entity was last modified. */ long getModifiedDate(); ...
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
package org.dodgybits.shuffle.android.core.activity; import android.app.Activity; import android.app.Dialog; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.FragmentTransaction; import com.google.inject.Inject; import org.dodgybits.android.shuffle.R; import org.dodgybits.shuffle....
package org.dodgybits.shuffle.android.core.activity; import android.app.AlertDialog; import android.app.Dialog; import android.content.SharedPreferences; import android.content.pm.PackageInfo; import android.os.Bundle; import android.support.v4.app.FragmentTransaction; import android.util.AndroidException; import andr...
package org.dodgybits.shuffle.android.core.activity.flurry; import android.content.Intent; import com.google.inject.Inject; import roboguice.service.RoboService; public abstract class FlurryEnabledService extends RoboService { @Inject protected Analytics mAnalytics; @Override public void onStart(In...
package org.dodgybits.shuffle.android.core.activity.flurry; import static org.dodgybits.shuffle.android.core.util.Constants.cFlurryApiKey; import java.util.Map; import org.dodgybits.shuffle.android.preference.model.Preferences; import android.content.Context; import com.flurry.android.FlurryAgent; import com.googl...
package org.dodgybits.shuffle.android.core.activity.flurry; import com.google.inject.Inject; import roboguice.activity.RoboExpandableListActivity; public abstract class FlurryEnabledExpandableListActivity extends RoboExpandableListActivity { @Inject protected Analytics mAnalytics; @Override public v...
package org.dodgybits.shuffle.android.core.activity.flurry; import com.google.inject.Inject; import roboguice.activity.RoboActivity; public abstract class FlurryEnabledActivity extends RoboActivity { @Inject protected Analytics mAnalytics; @Override public void onStart() { super.onStart()...
package org.dodgybits.shuffle.android.core.activity.flurry; import com.google.inject.Inject; import roboguice.activity.RoboPreferenceActivity; public abstract class FlurryEnabledPreferenceActivity extends RoboPreferenceActivity { @Inject protected Analytics mAnalytics; @Override public void onStart(...
package org.dodgybits.shuffle.android.core.activity.flurry; import com.google.inject.Inject; import roboguice.activity.RoboListActivity; public abstract class FlurryEnabledListActivity extends RoboListActivity { @Inject protected Analytics mAnalytics; @Override public void onStart() { sup...
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
package org.dodgybits.shuffle.android.list.listener; import android.app.Activity; import android.text.TextUtils; import android.util.Log; import android.widget.Toast; import com.google.common.collect.Lists; import com.google.inject.Inject; import org.dodgybits.android.shuffle.R; import org.dodgybits.shuffle.android.co...
package org.dodgybits.shuffle.android.list.listener; import android.app.Activity; import android.content.ContentUris; import android.content.Intent; import android.net.Uri; import com.google.inject.Inject; import org.dodgybits.shuffle.android.core.activity.HelpActivity; import org.dodgybits.shuffle.android.core.util.I...
package org.dodgybits.shuffle.android.list.content; import android.content.Context; import android.database.Cursor; import android.support.v4.content.CursorLoader; import org.dodgybits.shuffle.android.core.model.persistence.selector.ProjectSelector; import org.dodgybits.shuffle.android.list.model.ListQuery; import org...
package org.dodgybits.shuffle.android.list.content; import android.content.Context; import android.database.Cursor; import android.support.v4.content.CursorLoader; import org.dodgybits.shuffle.android.core.model.persistence.selector.ContextSelector; import org.dodgybits.shuffle.android.list.model.ListQuery; import org...
package org.dodgybits.shuffle.android.list.view; import android.text.SpannableString; import android.text.SpannableStringBuilder; import android.util.AttributeSet; import android.view.View; import android.widget.TextView; import org.dodgybits.android.shuffle.R; import org.dodgybits.shuffle.android.core.model.Context; ...
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
package org.dodgybits.shuffle.android.list.view; import android.app.Activity; import android.text.TextUtils; import android.view.KeyEvent; import android.view.View; import android.view.inputmethod.EditorInfo; import android.widget.EditText; import android.widget.ImageView; import android.widget.TextView; import com.go...
package org.dodgybits.shuffle.android.list.view.project; import android.util.SparseIntArray; import android.view.LayoutInflater; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.TextView; import com.google.inject.Inject; import org.dodgybits.android.shuffle.R; import org.dodgy...
package org.dodgybits.shuffle.android.list.view.project; import android.content.Context; import android.database.Cursor; import android.support.v4.widget.CursorAdapter; import android.util.SparseIntArray; import android.view.View; import android.view.ViewGroup; import com.google.inject.Inject; import org.dodgybits.shu...
package org.dodgybits.shuffle.android.list.view.project; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.os.Bundle; import android.os.Parcelable; import android.support.v4.app.LoaderManager; import android.support.v4.content.CursorLoader; import android.sup...
package org.dodgybits.shuffle.android.list.view.task; import android.content.Context; import android.os.Parcel; import android.os.Parcelable; import org.dodgybits.android.shuffle.R; import org.dodgybits.shuffle.android.core.model.Id; import org.dodgybits.shuffle.android.core.model.Project; import org.dodgybits.shuffle...
package org.dodgybits.shuffle.android.list.view.task; import android.content.res.Configuration; import android.content.res.Resources; import android.graphics.*; import android.graphics.drawable.Drawable; import android.text.*; import android.text.format.DateUtils; import android.text.style.ForegroundColorSpan; import ...
package org.dodgybits.shuffle.android.list.view.task; import android.app.Activity; import android.content.ContentUris; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.os.Parcelable; import android.support.v4.app.LoaderManager; import andro...
package org.dodgybits.shuffle.android.list.view.task; import android.content.Context; import android.util.SparseArray; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import org.dodgybits.android.shuffle.R; import org.dodgybits.shuffle.androi...
package org.dodgybits.shuffle.android.list.view.task; import android.content.Context; import android.database.Cursor; import android.os.Bundle; import android.support.v4.content.CursorLoader; import android.support.v4.content.Loader; import android.support.v4.widget.CursorAdapter; import android.util.Log; import andro...
package org.dodgybits.shuffle.android.list.view.task; import android.os.Parcel; import com.google.common.base.Function; import com.google.common.collect.Lists; import org.dodgybits.shuffle.android.core.model.persistence.selector.TaskSelector; import org.dodgybits.shuffle.android.list.model.ListQuery; import org.dodgyb...
package org.dodgybits.shuffle.android.list.view.task; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.widget.ArrayAdapter; import android.widget.SpinnerAdapter; import com.google.common.base.Function; import com.google.common.collect.Lists; import org.dodgybits.shuffle....
package org.dodgybits.shuffle.android.list.view.context; import android.graphics.drawable.GradientDrawable; import android.util.AttributeSet; import android.util.SparseIntArray; import android.view.LayoutInflater; import android.view.View; import android.widget.ImageView; import android.widget.LinearLayout; import and...
package org.dodgybits.shuffle.android.list.view.context; import android.content.Context; import android.database.Cursor; import android.support.v4.widget.CursorAdapter; import android.util.SparseIntArray; import android.view.View; import android.view.ViewGroup; import com.google.inject.Inject; import org.dodgybits.shu...
package org.dodgybits.shuffle.android.list.view.context; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.os.Bundle; import android.os.Parcelable; import android.support.v4.app.LoaderManager; import android.support.v4.content.CursorLoader; import android.sup...
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
package org.dodgybits.shuffle.android.list.event; import org.dodgybits.shuffle.android.core.model.Id; public class EditProjectEvent { private Id mProjectId; public EditProjectEvent(Id projectId) { this.mProjectId = projectId; } public Id getProjectId() { return mProjectId; } }
package org.dodgybits.shuffle.android.list.event; import org.dodgybits.shuffle.android.core.model.Id; public class EditContextEvent { private Id mContextId; public EditContextEvent(Id contextId) { mContextId = contextId; } public Id getContextId() { return mContextId; } }
package org.dodgybits.shuffle.android.list.event; import com.google.common.collect.Sets; import java.util.Set; public class UpdateTasksCompletedEvent { private Set<Long> mTaskIds; private boolean mCompleted; public UpdateTasksCompletedEvent(Set<Long> taskIds, boolean completed) { mTaskIds = task...
package org.dodgybits.shuffle.android.list.event; public class EditNewProjectEvent { }
package org.dodgybits.shuffle.android.list.event; import org.dodgybits.shuffle.android.core.model.Id; public class UpdateProjectDeletedEvent { private Id mProjectId; private Boolean mDeleted; public UpdateProjectDeletedEvent(Id projectId) { mProjectId = projectId; } public UpdateProjectD...
package org.dodgybits.shuffle.android.list.event; public class QuickAddEvent { private String mValue; public QuickAddEvent(String value) { mValue = value; } public String getValue() { return mValue; } }
package org.dodgybits.shuffle.android.list.event; import org.dodgybits.shuffle.android.core.model.Id; public class ViewContextEvent { private Id mContextId; private int mPosition; public ViewContextEvent(Id contextId) { this(contextId, -1); } public ViewContextEvent(Id contextId, int pos...
package org.dodgybits.shuffle.android.list.event; import org.dodgybits.shuffle.android.core.model.Id; public class EditNewTaskEvent { private Id mContextId; private Id mProjectId; private String mDescription; public EditNewTaskEvent(Id contextId, Id projectId, String description) { this(...
package org.dodgybits.shuffle.android.list.event; import org.dodgybits.shuffle.android.core.model.Id; public class UpdateContextDeletedEvent { private Id mContextId; private Boolean mDeleted = null; public UpdateContextDeletedEvent(Id contextId) { mContextId = contextId; } public UpdateC...
package org.dodgybits.shuffle.android.list.event; import org.dodgybits.shuffle.android.core.model.Id; public class ViewProjectEvent { private Id mProjectId; private int mPosition; public ViewProjectEvent(Id projectId) { this(projectId, -1); } public ViewProjectEvent(Id projectId, int pos...
package org.dodgybits.shuffle.android.list.event; import android.support.v4.app.Fragment; import org.dodgybits.shuffle.android.list.model.ListQuery; public class EditListSettingsEvent { private ListQuery mListQuery; private final Fragment mFragment; private int mRequestCode; public EditListSettingsEv...
package org.dodgybits.shuffle.android.list.event; public class NewProjectEvent { private String mName; public NewProjectEvent(String name) { mName = name; } public String getName() { return mName; } }
package org.dodgybits.shuffle.android.list.event; import org.dodgybits.shuffle.android.list.model.ListQuery; public class ViewHelpEvent { private ListQuery mListQuery; public ViewHelpEvent() { } public ViewHelpEvent(ListQuery query) { mListQuery = query; } public ListQuery getListQ...
package org.dodgybits.shuffle.android.list.event; import org.dodgybits.shuffle.android.core.model.Id; public class EditTaskEvent { private Id mTaskId; public EditTaskEvent(Id taskId) { mTaskId = taskId; } public Id getTaskId() { return mTaskId; } }
package org.dodgybits.shuffle.android.list.event; public class NewContextEvent { private String mName; public NewContextEvent(String name) { mName = name; } public String getName() { return mName; } }
package org.dodgybits.shuffle.android.list.event; import org.dodgybits.shuffle.android.core.model.Id; public class NewTaskEvent { private Id mContextId = Id.NONE; private Id mProjectId = Id.NONE; private String mDescription; public NewTaskEvent(String description, Id contextId, Id projectId) { ...
package org.dodgybits.shuffle.android.list.event; import android.database.Cursor; import com.google.common.collect.Sets; import java.util.Set; public class MoveTasksEvent { private Set<Long> mTaskIds; private boolean mMoveUp; private Cursor mCursor; public MoveTasksEvent(Set<Long> taskIds, boole...
package org.dodgybits.shuffle.android.list.event; import org.dodgybits.shuffle.android.list.model.ListQuery; public class ListSettingsUpdatedEvent { private ListQuery mListQuery; public ListSettingsUpdatedEvent(ListQuery listQuery) { mListQuery = listQuery; } public ListQuery getListQuery() ...
package org.dodgybits.shuffle.android.list.event; public class EditNewContextEvent { }
package org.dodgybits.shuffle.android.list.event; public class ViewPreferencesEvent { public ViewPreferencesEvent() { } }
package org.dodgybits.shuffle.android.list.event; public class StartSynchEvent { public StartSynchEvent() { } }
package org.dodgybits.shuffle.android.list.event; import com.google.common.collect.Sets; import java.util.Set; public class UpdateTasksDeletedEvent { private Set<Long> mTaskIds; private boolean mDeleted; public UpdateTasksDeletedEvent(Set<Long> taskIds, boolean deleted) { mTaskIds = taskIds; ...
package org.dodgybits.shuffle.android.list.model; import android.content.Context; import android.content.Intent; import org.dodgybits.shuffle.android.core.model.persistence.selector.Flag; import org.dodgybits.shuffle.android.list.activity.ListSettingsEditorActivity; import org.dodgybits.shuffle.android.preference.mode...
package org.dodgybits.shuffle.android.list.model; public enum ListQuery { all, inbox, nextTasks, dueToday, dueNextWeek, dueNextMonth, tickler, context, project, custom }
package org.dodgybits.shuffle.android.list.model; import org.dodgybits.android.shuffle.R; import java.util.HashMap; public class ListTitles { private static final HashMap<ListQuery,Integer> TITLE_ID_MAP = new HashMap<ListQuery,Integer>(); static { TITLE_ID_MAP.put(ListQuery.all, R.strin...
package org.dodgybits.shuffle.android.list.activity; import android.content.Intent; import android.database.Cursor; import android.os.Bundle; import android.preference.*; import android.util.Log; import org.dodgybits.android.shuffle.R; import org.dodgybits.shuffle.android.core.util.Constants; import org.dodgybits.shuf...
package org.dodgybits.shuffle.android.list.activity; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import android.support.v4.view.ViewPager; import android.util.Log; imp...
package org.dodgybits.shuffle.android.list.activity; import android.content.ContentUris; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app....
package org.dodgybits.shuffle.android.list.activity; import android.content.ContentUris; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app....
package org.dodgybits.shuffle.android.preference.view; public class Progress { private int mProgressPercent; private String mDetails; private boolean mIsError; private Runnable mErrorUIAction; public static Progress createProgress(int progressPercent, String details) { return new Progress(progressPercent, det...
package org.dodgybits.shuffle.android.preference.model; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.util.Log; import org.dodgybits.shuffle.android.core.model.Id; import org...
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
package org.dodgybits.shuffle.android.preference.activity; import org.dodgybits.shuffle.android.core.activity.flurry.FlurryEnabledActivity; import org.dodgybits.shuffle.android.synchronisation.gae.AccountsActivity; import android.content.Intent; import android.os.Bundle; public class PreferencesAppEngineSynchronizat...
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
package org.dodgybits.shuffle.android.preference.activity; import android.content.SharedPreferences; import android.graphics.Color; import android.os.AsyncTask; import android.os.Bundle; import android.view.KeyEvent; import android.view.View; import android.widget.*; import org.apache.http.HttpStatus; import org.dodgy...
package org.dodgybits.shuffle.android.preference.activity; import android.content.DialogInterface; import android.content.DialogInterface.OnCancelListener; import android.content.DialogInterface.OnClickListener; import android.database.Cursor; import android.os.AsyncTask; import android.os.Bundle; import android.os.En...
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
package org.dodgybits.shuffle.android.preference.activity; import android.database.Cursor; import android.os.AsyncTask; import android.os.Bundle; import android.os.Environment; import android.text.TextUtils; import android.util.Log; import android.view.View; import android.widget.*; import com.google.common.collect.Se...
package org.dodgybits.shuffle.android.persistence.migrations; import org.dodgybits.shuffle.android.persistence.provider.ContextProvider; import org.dodgybits.shuffle.android.persistence.provider.ProjectProvider; import org.dodgybits.shuffle.android.persistence.provider.TaskProvider; import android.database.sqli...
package org.dodgybits.shuffle.android.persistence.migrations; import android.database.sqlite.SQLiteDatabase; public interface Migration { public void migrate(SQLiteDatabase db); }
package org.dodgybits.shuffle.android.persistence.migrations; import org.dodgybits.shuffle.android.persistence.provider.ReminderProvider; import org.dodgybits.shuffle.android.persistence.provider.TaskProvider; import android.database.sqlite.SQLiteDatabase; public class V11Migration implements Migration { ...
package org.dodgybits.shuffle.android.persistence.migrations; import static org.dodgybits.shuffle.android.persistence.provider.ContextProvider.CONTEXT_TABLE_NAME; import android.database.sqlite.SQLiteDatabase; public class V9Migration implements Migration { @Override public void migrate(SQLiteDatabase db) ...
package org.dodgybits.shuffle.android.persistence.migrations; import android.content.ContentValues; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.provider.BaseColumns; import android.util.Log; import java.util.HashMap; import java.util.Map; import java.util.Se...
package org.dodgybits.shuffle.android.persistence.migrations; import org.dodgybits.shuffle.android.persistence.provider.ContextProvider; import org.dodgybits.shuffle.android.persistence.provider.ProjectProvider; import org.dodgybits.shuffle.android.persistence.provider.TaskProvider; import android.database.sq...