code string | repo_name string | path string | language string | license string | size int64 |
|---|---|---|---|---|---|
package org.dodgybits.shuffle.android.core.model.encoding;
import android.os.Bundle;
import com.google.inject.Singleton;
import org.dodgybits.shuffle.android.core.model.Project;
import org.dodgybits.shuffle.android.core.model.Project.Builder;
import org.dodgybits.shuffle.android.core.util.BundleUtils;
import static a... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/core/model/encoding/ProjectEncoder.java | Java | asf20 | 1,780 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/core/model/encoding/TaskEncoder.java | Java | asf20 | 3,150 |
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> setActive(boolean value);
EntityBuilder<E> setDeleted(boolean value);
E build()... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/core/model/EntityBuilder.java | Java | asf20 | 329 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/core/model/Id.java | Java | asf20 | 907 |
/*
* 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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/core/model/Context.java | Java | asf20 | 5,161 |
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 ... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/core/model/persistence/EntityPersister.java | Java | asf20 | 1,620 |
/*
* 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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/core/model/persistence/InitialDataGenerator.java | Java | asf20 | 12,213 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/core/model/persistence/ContextPersister.java | Java | asf20 | 3,764 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/core/model/persistence/DefaultEntityCache.java | Java | asf20 | 1,798 |
package org.dodgybits.shuffle.android.core.model.persistence.selector;
public enum Flag {
yes, no, ignored
}
| zy340823-android-shuffle | src/org/dodgybits/shuffle/android/core/model/persistence/selector/Flag.java | Java | asf20 | 114 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/core/model/persistence/selector/TaskSelector.java | Java | asf20 | 13,256 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/core/model/persistence/selector/EntitySelector.java | Java | asf20 | 946 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/core/model/persistence/selector/ContextSelector.java | Java | asf20 | 1,820 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/core/model/persistence/selector/ProjectSelector.java | Java | asf20 | 1,780 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/core/model/persistence/selector/AbstractEntitySelector.java | Java | asf20 | 3,895 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/core/model/persistence/TaskPersister.java | Java | asf20 | 20,716 |
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.model.En... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/core/model/persistence/AbstractEntityPersister.java | Java | asf20 | 7,099 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/core/model/persistence/ProjectPersister.java | Java | asf20 | 3,228 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/core/model/persistence/EntityCache.java | Java | asf20 | 558 |
/*
* 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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/core/model/Task.java | Java | asf20 | 9,277 |
package org.dodgybits.shuffle.android.core.model;
public interface Entity {
/**
* @return primary key for entity in local sqlite DB.
*/
Id getLocalId();
/**
* @return primary key for entity in google app engine datastore.
*/
Id getGaeId();
/**
* @return ms since epoch e... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/core/model/Entity.java | Java | asf20 | 503 |
/*
* 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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/core/activity/HelpActivity.java | Java | asf20 | 5,698 |
/*
* 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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/core/activity/BootstrapActivity.java | Java | asf20 | 1,621 |
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.... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/core/activity/LauncherShortcutActivity.java | Java | asf20 | 4,071 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/core/activity/HomeActivity.java | Java | asf20 | 4,655 |
/*
* 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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/core/activity/WelcomeActivity.java | Java | asf20 | 3,342 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/listener/EntityUpdateListener.java | Java | asf20 | 6,592 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/listener/NavigationListener.java | Java | asf20 | 4,066 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/content/ProjectCursorLoader.java | Java | asf20 | 1,428 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/content/ContextCursorLoader.java | Java | asf20 | 1,428 |
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;
... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/view/StatusView.java | Java | asf20 | 3,796 |
/*
* 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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/view/State.java | Java | asf20 | 919 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/view/QuickAddController.java | Java | asf20 | 2,697 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/view/project/ProjectListItem.java | Java | asf20 | 2,668 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/view/project/ProjectListAdaptor.java | Java | asf20 | 1,700 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/view/project/ProjectListFragment.java | Java | asf20 | 12,259 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/view/task/TaskListContext.java | Java | asf20 | 8,138 |
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 ... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/view/task/TaskListItem.java | Java | asf20 | 26,720 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/view/task/TaskListFragment.java | Java | asf20 | 23,510 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/view/task/TaskListItemCoordinates.java | Java | asf20 | 7,399 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/view/task/TaskListAdaptor.java | Java | asf20 | 7,948 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/view/task/MultiTaskListContext.java | Java | asf20 | 3,283 |
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.... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/view/task/MultiTaskListFragment.java | Java | asf20 | 5,230 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/view/context/ContextListItem.java | Java | asf20 | 3,665 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/view/context/ContextListAdaptor.java | Java | asf20 | 1,684 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/view/context/ContextListFragment.java | Java | asf20 | 12,241 |
/*
* 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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/view/LabelView.java | Java | asf20 | 2,834 |
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;
}
}
| zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/event/EditProjectEvent.java | Java | asf20 | 319 |
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;
}
}
| zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/event/EditContextEvent.java | Java | asf20 | 314 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/event/UpdateTasksCompletedEvent.java | Java | asf20 | 656 |
package org.dodgybits.shuffle.android.list.event;
public class EditNewProjectEvent {
}
| zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/event/EditNewProjectEvent.java | Java | asf20 | 88 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/event/UpdateProjectDeletedEvent.java | Java | asf20 | 563 |
package org.dodgybits.shuffle.android.list.event;
public class QuickAddEvent {
private String mValue;
public QuickAddEvent(String value) {
mValue = value;
}
public String getValue() {
return mValue;
}
}
| zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/event/QuickAddEvent.java | Java | asf20 | 242 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/event/ViewContextEvent.java | Java | asf20 | 528 |
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(... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/event/EditNewTaskEvent.java | Java | asf20 | 719 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/event/UpdateContextDeletedEvent.java | Java | asf20 | 570 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/event/ViewProjectEvent.java | Java | asf20 | 528 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/event/EditListSettingsEvent.java | Java | asf20 | 692 |
package org.dodgybits.shuffle.android.list.event;
public class NewProjectEvent {
private String mName;
public NewProjectEvent(String name) {
mName = name;
}
public String getName() {
return mName;
}
}
| zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/event/NewProjectEvent.java | Java | asf20 | 245 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/event/ViewHelpEvent.java | Java | asf20 | 364 |
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;
}
}
| zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/event/EditTaskEvent.java | Java | asf20 | 290 |
package org.dodgybits.shuffle.android.list.event;
public class NewContextEvent {
private String mName;
public NewContextEvent(String name) {
mName = name;
}
public String getName() {
return mName;
}
}
| zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/event/NewContextEvent.java | Java | asf20 | 241 |
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) {
... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/event/NewTaskEvent.java | Java | asf20 | 626 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/event/MoveTasksEvent.java | Java | asf20 | 805 |
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() ... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/event/ListSettingsUpdatedEvent.java | Java | asf20 | 357 |
package org.dodgybits.shuffle.android.list.event;
public class EditNewContextEvent {
}
| zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/event/EditNewContextEvent.java | Java | asf20 | 88 |
package org.dodgybits.shuffle.android.list.event;
public class ViewPreferencesEvent {
public ViewPreferencesEvent() {
}
}
| zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/event/ViewPreferencesEvent.java | Java | asf20 | 133 |
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;
... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/event/UpdateTasksDeletedEvent.java | Java | asf20 | 632 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/model/ListSettingsCache.java | Java | asf20 | 3,241 |
package org.dodgybits.shuffle.android.list.model;
public enum ListQuery {
all, inbox, nextTasks, dueToday, dueNextWeek, dueNextMonth, tickler, context, project, custom
} | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/model/ListQuery.java | Java | asf20 | 174 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/model/ListTitles.java | Java | asf20 | 1,098 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/activity/ListSettingsEditorActivity.java | Java | asf20 | 9,556 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/activity/EntityListsActivity.java | Java | asf20 | 7,078 |
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.... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/activity/ContextTaskListsActivity.java | Java | asf20 | 6,569 |
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.... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/list/activity/ProjectTaskListsActivity.java | Java | asf20 | 6,604 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/server/sync/listener/SyncListener.java | Java | asf20 | 1,373 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/server/sync/SyncResponseProcessor.java | Java | asf20 | 2,868 |
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.pr... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/server/sync/GaeSyncService.java | Java | asf20 | 2,402 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/server/sync/SyncRequestBuilder.java | Java | asf20 | 6,587 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/server/sync/processor/ContextSyncProcessor.java | Java | asf20 | 5,974 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/server/sync/processor/ProjectSyncProcessor.java | Java | asf20 | 5,994 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/server/sync/processor/TaskSyncProcessor.java | Java | asf20 | 3,300 |
/*
* 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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/server/sync/event/ResetSyncSettingsEvent.java | Java | asf20 | 722 |
package org.dodgybits.shuffle.android.server.sync;
import android.accounts.Account;
import android.app.Activity;
import android.content.Intent;
import android.os.AsyncTask;
import android.widget.Toast;
import com.textuality.aerc.Authenticator;
import org.dodgybits.shuffle.android.preference.model.Preferences;
import ... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/server/sync/ObtainAuthTokenTask.java | Java | asf20 | 1,565 |
/*
* 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
*
* Unless required by applicable law or agreed to in... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/server/gcm/ServerUtilities.java | Java | asf20 | 6,426 |
/*
* 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
*
* Unless required by applicable law or agreed to in... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/server/gcm/CommonUtilities.java | Java | asf20 | 1,901 |
package org.dodgybits.shuffle.android.server.gcm;
import android.content.Context;
import android.os.AsyncTask;
import android.util.Log;
import com.google.android.gcm.GCMRegistrar;
import com.google.inject.Inject;
import org.dodgybits.shuffle.android.preference.model.Preferences;
public class GCMInitializer {
priv... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/server/gcm/GCMInitializer.java | Java | asf20 | 3,018 |
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
*
*... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/server/gcm/GCMIntentService.java | Java | asf20 | 3,943 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/preference/view/Progress.java | Java | asf20 | 1,181 |
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.... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/preference/fragment/PreferencesAppEngineSynchronizationFragment.java | Java | asf20 | 7,698 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/preference/model/ListSettings.java | Java | asf20 | 9,870 |
/*
* 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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/preference/model/Preferences.java | Java | asf20 | 6,087 |
package org.dodgybits.shuffle.android.preference.activity;
import android.app.Dialog;
import android.content.Intent;
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.shuff... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/preference/activity/PreferencesAppEngineSynchronizationActivity.java | Java | asf20 | 2,112 |
/*
* 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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/preference/activity/PreferencesDeleteCompletedActivity.java | Java | asf20 | 1,680 |
/*
* 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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/preference/activity/PreferencesPermanentlyDeleteActivity.java | Java | asf20 | 2,603 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/preference/activity/PreferencesCreateBackupActivity.java | Java | asf20 | 14,142 |
/*
* 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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/preference/activity/PreferencesDeleteAllActivity.java | Java | asf20 | 1,663 |
/*
* 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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/preference/activity/PreferencesDeleteActivity.java | Java | asf20 | 1,891 |
/*
* 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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/preference/activity/PreferencesActivity.java | Java | asf20 | 3,501 |
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... | zy340823-android-shuffle | src/org/dodgybits/shuffle/android/preference/activity/PreferencesRestoreBackupActivity.java | Java | asf20 | 18,493 |