text
stringlengths
3
1.18M
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.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.model; public enum ListQuery { all, inbox, nextTasks, dueToday, dueNextWeek, dueNextMonth, tickler, context, project, custom }
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.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 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; 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; 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 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 NewContextEvent { private String mName; public NewContextEvent(String name) { mName = name; } public String getName() { return mName; } }
package org.dodgybits.shuffle.android.list.event; public class ViewPreferencesEvent { public ViewPreferencesEvent() { } }
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 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 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 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; 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; public class EditNewContextEvent { }
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 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.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.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 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; 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.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.annotation.TargetApi; import android.graphics.drawable.GradientDrawable; import android.os.Build; import android.util.AttributeSet; import android.util.SparseIntArray; import android.view.LayoutInflater; import android.view.View; import android.vi...
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...
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...
/* * 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.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.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.support.v7.app.ActionBar; import android.util.Log; import android.widget.ArrayAdapter; import android.widget.SpinnerAdapter; import com.google.common.base.Function; import com.google.common.co...
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.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.os.Parcel; import android.os.Parcelable; import android.support.v7.app.ActionBar; import android.support.v7.app.ActionBarActivity; import org.dodgybits.android.shuffle.R; import org.dodgybits.shuffle.android.core.mode...
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.project; import android.util.SparseIntArray; import android.view.LayoutInflater; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.TextView; import com.google.inject.Inject; import org.dodgybits.andr...
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...
/* * 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.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; ...
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.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.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...
/* * 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.view.activity; import android.content.ContentUris; import android.content.Intent; import android.graphics.drawable.Drawable; import android.net.Uri; import android.os.Bundle; import android.text.TextUtils; import android.text.format.DateUtils; import android.util.Log; import andro...
package org.dodgybits.shuffle.android.view.activity; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import...
/* * 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.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...
package org.dodgybits.shuffle.android.preference.activity; import android.app.Dialog; import android.os.Bundle; import android.support.v4.app.FragmentTransaction; import android.view.View; import com.google.inject.Inject; import org.dodgybits.android.shuffle.R; import org.dodgybits.shuffle.android.preference.fragment....
/* * 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...
/* * 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.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...
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.fragment; import android.accounts.Account; import android.accounts.AccountManager; import android.app.AlertDialog; import android.app.Dialog; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android....
package org.dodgybits.shuffle.android.server; import android.content.Context; import android.content.res.AssetManager; import com.google.inject.Inject; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; import java.net.URL; import java.util.Properties; import roboguice.in...
package org.dodgybits.shuffle.android.server.gcm.event; import android.content.Context; public class RegisterGcmEvent { private Context context; public RegisterGcmEvent(Context context) { this.context = context; } public Context getContext() { return context; } public void s...
package org.dodgybits.shuffle.android.server.gcm; import android.app.Activity; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.support.v4.content.WakefulBroadcastReceiver; import android.util.Log; /** * This {@code WakefulBroadcastReceiver} takes c...
package org.dodgybits.shuffle.android.server.gcm; /* * Copyright 2012 Google Inc. * * 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 * *...
package org.dodgybits.shuffle.android.server.gcm; import android.app.Activity; import android.content.Context; import android.content.SharedPreferences; import android.os.AsyncTask; import android.util.Log; import com.google.android.gms.common.ConnectionResult; import com.google.android.gms.common.GooglePlayServicesU...
package org.dodgybits.shuffle.android.server.sync; import android.util.Log; import com.google.inject.Inject; import org.dodgybits.shuffle.android.core.model.Context; import org.dodgybits.shuffle.android.core.model.Project; import org.dodgybits.shuffle.android.core.model.protocol.EntityDirectory; import org.dodgybits.s...
package org.dodgybits.shuffle.android.server.sync; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.support.v4.content.WakefulBroadcastReceiver; import android.util.Log; import static org.dodgybits.shuffle.android.server.sync.SyncSchedulingService...
package org.dodgybits.shuffle.android.server.sync; import android.database.Cursor; import android.util.Log; import com.google.inject.Inject; import org.dodgybits.shuffle.android.core.model.Context; import org.dodgybits.shuffle.android.core.model.Project; import org.dodgybits.shuffle.android.core.model.persistence.Cont...
/* * Copyright (C) 2013 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) 2012 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.server.sync; import android.accounts.Account; import android.accounts.AccountManager; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.AsyncTask; import android.util.Log; import android.widget.Toast; import com.google.i...
package org.dodgybits.shuffle.android.server.sync.processor; import android.database.Cursor; import android.util.Log; import com.google.inject.Inject; import org.dodgybits.shuffle.android.core.model.Context; import org.dodgybits.shuffle.android.core.model.Id; import org.dodgybits.shuffle.android.core.model.persistence...
package org.dodgybits.shuffle.android.server.sync.processor; import android.util.Log; import com.google.inject.Inject; import org.dodgybits.shuffle.android.core.model.Context; import org.dodgybits.shuffle.android.core.model.Id; import org.dodgybits.shuffle.android.core.model.Project; import org.dodgybits.shuffle.andro...
package org.dodgybits.shuffle.android.server.sync.processor; import android.database.Cursor; import android.util.Log; import com.google.inject.Inject; import org.dodgybits.shuffle.android.core.model.Context; import org.dodgybits.shuffle.android.core.model.Id; import org.dodgybits.shuffle.android.core.model.Project; im...
package org.dodgybits.shuffle.android.server.sync; import android.content.Context; import org.dodgybits.shuffle.android.preference.model.Preferences; public class SyncUtils { public static boolean isSyncOn(Context context) { return Preferences.isSyncEnabled(context) && Preferences.getSyncAccount(contex...
package org.dodgybits.shuffle.android.server.sync.listener; import android.content.Context; import android.util.Log; import com.google.inject.Inject; import org.dodgybits.shuffle.android.core.model.persistence.ContextPersister; import org.dodgybits.shuffle.android.core.model.persistence.ProjectPersister; import org.do...
/* * Copyright (C) 2013 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.server.sync; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; public class SyncReceiver extends BroadcastReceiver { public static final String TAG = "SyncReceiver"; @Override public void...
package org.dodgybits.shuffle.android.server.sync; import android.content.Intent; import android.util.Log; import com.google.inject.Inject; import com.google.protobuf.InvalidProtocolBufferException; import com.textuality.aerc.AppEngineClient; import com.textuality.aerc.Response; import org.dodgybits.shuffle.android....
/* * 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....
/* * 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.AlertDialog; import android.app.Dialog; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.suppor...
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...
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.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.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.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; public enum Flag { yes, no, ignored }
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 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.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 ...
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.model.Project; import org.dodgybits.shuffle.android.core.model.Project.Builder; import o...
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; import android.content.ContentValues; import android.database.Cursor; import android.net.Uri; import com.google.inject.Inject; import org.dodgybits.shuffle.android.core.model.Context; import org.dodgybits.shuffle.android.core.model.Context.Builder; import o...