text stringlengths 3 1.18M |
|---|
package org.dodgybits.shuffle.server.service;
import com.google.common.collect.Lists;
import org.dodgybits.shuffle.server.model.TaskQuery;
import org.dodgybits.shuffle.server.model.WatchedContext;
import org.dodgybits.shuffle.server.model.WatchedProject;
import org.dodgybits.shuffle.server.model.WatchedTask;
import j... |
package org.dodgybits.shuffle.server.service;
import com.googlecode.objectify.Key;
import com.googlecode.objectify.Query;
import org.dodgybits.shuffle.server.model.*;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
public class ProjectService {
private static final Logger ... |
/*
* Copyright 2011 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 i... |
/*
* Copyright 2011 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 i... |
/*
* Copyright 2011 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 i... |
package org.dodgybits.shuffle.server.locator;
public class TaskLocator extends ObjectifyLocator {
}
|
package org.dodgybits.shuffle.server.locator;
import com.google.web.bindery.requestfactory.shared.Locator;
import com.googlecode.objectify.util.DAOBase;
import org.dodgybits.shuffle.server.model.DatastoreObject;
/**
* Generic @Locator for objects that extend DatastoreObject
*/
public class ObjectifyLocator extends ... |
package org.dodgybits.shuffle.server.locator;
import com.google.web.bindery.requestfactory.shared.ServiceLocator;
/**
* Generic locator service that can be referenced in the @Service annotation
* for any RequestFactory service stub
*/
public class DaoServiceLocator implements ServiceLocator {
@Override
public ... |
package org.dodgybits.shuffle.server.servlet;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.googlecode.objectify.Key;
import org.apache.commons.fileupload.FileItemIterator;
import org.apache.commons.fileupload.FileItemStream;
import org.apache.commons.fileupload.FileUploadEx... |
/*
* Copyright 2010 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 i... |
package org.dodgybits.shuffle.server.servlet;
import com.google.web.bindery.requestfactory.server.ExceptionHandler;
import com.google.web.bindery.requestfactory.server.RequestFactoryServlet;
import com.google.web.bindery.requestfactory.shared.ServerFailure;
import java.util.logging.Level;
import java.util.logging.Log... |
/*
* Copyright 2011 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 i... |
/*
* Copyright 2011 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 i... |
package org.dodgybits.shuffle.shared;
import com.google.web.bindery.requestfactory.shared.EntityProxy;
import com.google.web.bindery.requestfactory.shared.EntityProxyId;
import com.google.web.bindery.requestfactory.shared.ProxyForName;
import java.util.Date;
@ProxyForName(value = "org.dodgybits.shuffle.server.model.... |
package org.dodgybits.shuffle.shared;
import com.google.web.bindery.requestfactory.shared.ProxyForName;
import com.google.web.bindery.requestfactory.shared.ValueProxy;
import java.util.List;
@ProxyForName("org.dodgybits.shuffle.server.model.TaskQueryResult")
public interface TaskQueryResultProxy extends ValueProxy {... |
package org.dodgybits.shuffle.shared;
import com.google.web.bindery.requestfactory.shared.EntityProxy;
import com.google.web.bindery.requestfactory.shared.EntityProxyId;
import com.google.web.bindery.requestfactory.shared.ProxyForName;
import java.util.Date;
@ProxyForName(value = "org.dodgybits.shuffle.server.model.... |
/*
* Copyright 2011 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 i... |
package org.dodgybits.shuffle.shared;
import com.google.web.bindery.requestfactory.shared.EntityProxy;
import com.google.web.bindery.requestfactory.shared.ProxyForName;
@ProxyForName(value = "org.dodgybits.shuffle.server.model.AppUser", locator="org.dodgybits.shuffle.server.locator.ObjectifyLocator" )
public interfa... |
package org.dodgybits.shuffle.shared;
import com.google.web.bindery.requestfactory.shared.Request;
import com.google.web.bindery.requestfactory.shared.RequestContext;
import com.google.web.bindery.requestfactory.shared.ServiceName;
import java.util.List;
@ServiceName(value = "org.dodgybits.shuffle.server.service.Ent... |
package org.dodgybits.shuffle.shared;
import com.google.web.bindery.requestfactory.shared.Request;
import com.google.web.bindery.requestfactory.shared.RequestContext;
import com.google.web.bindery.requestfactory.shared.ServiceName;
import java.util.List;
@ServiceName(value = "org.dodgybits.shuffle.server.service.Glo... |
package org.dodgybits.shuffle.shared;
import com.google.web.bindery.requestfactory.shared.EntityProxy;
import com.google.web.bindery.requestfactory.shared.EntityProxyId;
import com.google.web.bindery.requestfactory.shared.ProxyForName;
import java.util.Date;
import java.util.List;
@ProxyForName(value = "org.dodgybit... |
package org.dodgybits.shuffle.shared;
import com.google.web.bindery.requestfactory.shared.EntityProxy;
import com.google.web.bindery.requestfactory.shared.EntityProxyId;
import com.google.web.bindery.requestfactory.shared.ProxyForName;
import com.google.web.bindery.requestfactory.shared.ValueProxy;
import java.util.D... |
package org.dodgybits.shuffle.shared;
public enum PredefinedQuery {
all, nextTasks, inbox
}
|
package org.dodgybits.shuffle.shared;
public enum Flag {
yes, no, ignored
}
|
/*
* Copyright 2011 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 i... |
/*
* Copyright 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... |
/*
* Copyright 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... |
/*
* Copyright 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... |
/*
* Copyright 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... |
/*
* Copyright 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... |
/*
* Copyright 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... |
/*
* Copyright 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... |
package org.dodgybits.shuffle.android.actionbarcompat;
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apac... |
package org.dodgybits.shuffle.android.editor.activity;
import com.google.inject.Inject;
import org.dodgybits.shuffle.android.editor.fragment.AbstractEditFragment;
import org.dodgybits.shuffle.android.editor.fragment.EditContextFragment;
public class EditContextActivity extends AbstractEditActivity {
private stati... |
package org.dodgybits.shuffle.android.editor.activity;
import android.os.Bundle;
import android.support.v4.app.FragmentTransaction;
import android.util.Log;
import org.dodgybits.android.shuffle.R;
import org.dodgybits.shuffle.android.actionbarcompat.ActionBarFragmentActivity;
import org.dodgybits.shuffle.android.actio... |
/*
* 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.editor.activity;
import android.app.Dialog;
import android.os.Bundle;
import com.google.inject.Inject;
import org.dodgybits.shuffle.android.core.model.Id;
import org.dodgybits.shuffle.android.core.view.EntityPickerDialogHelper;
import org.dodgybits.shuffle.android.editor.fragment.... |
package org.dodgybits.shuffle.android.editor.activity;
import com.google.inject.Inject;
import org.dodgybits.shuffle.android.editor.fragment.AbstractEditFragment;
import org.dodgybits.shuffle.android.editor.fragment.EditProjectFragment;
public class EditProjectActivity extends AbstractEditActivity {
private stati... |
/*
* 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.editor.fragment;
import android.app.Activity;
import android.content.Intent;
import android.database.Cursor;
import android.net.Uri;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
impo... |
package org.dodgybits.shuffle.android.editor.fragment;
import android.app.Activity;
import android.app.DatePickerDialog;
import android.app.TimePickerDialog;
import android.content.ContentResolver;
import android.content.ContentUris;
import android.content.ContentValues;
import android.content.Intent;
import android.d... |
package org.dodgybits.shuffle.android.editor.fragment;
import android.app.Activity;
import android.content.Intent;
import android.graphics.drawable.GradientDrawable;
import android.os.Bundle;
import android.text.Editable;
import android.text.TextUtils;
import android.text.TextWatcher;
import android.util.Log;
import a... |
package org.dodgybits.shuffle.android.editor.fragment;
import android.database.Cursor;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.View;
import android.widget.*;
import org.dodgybits.android.shuffle.R;
import org.dodgybits.shuffle.android.core.model.Id;
import org.dodgybits.shuffle.and... |
package org.dodgybits.shuffle.android.persistence.provider;
import android.app.SearchManager;
import android.content.*;
import android.database.Cursor;
import android.database.SQLException;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteQueryBuilder;
import android.net.Uri;... |
package org.dodgybits.shuffle.android.persistence.provider;
import android.content.ContentUris;
import android.content.ContentValues;
import android.database.SQLException;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteQueryBuilder;
import android.net.Uri;
import android.pr... |
package org.dodgybits.shuffle.android.persistence.provider;
import android.net.Uri;
public class ReminderProvider extends AbstractCollectionProvider {
private static final String AUTHORITY = Shuffle.PACKAGE+".reminderprovider";
public static final String cUpdateIntent = "org.dodgybits.shuffle.android.REM... |
package org.dodgybits.shuffle.android.persistence.provider;
import android.net.Uri;
import android.provider.BaseColumns;
public class ProjectProvider extends AbstractCollectionProvider {
public static final String PROJECT_TABLE_NAME = "project";
public static final String UPDATE_INTENT = "org.dodg... |
/**
*
*/
package org.dodgybits.shuffle.android.persistence.provider;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;
import org.dodgybits.shuffle.android.persistence.migrations.*;
import java.util.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.persistence.provider;
import android.net.Uri;
import android.provider.BaseColumns;
public class ContextProvider extends AbstractCollectionProvider {
public static final String CONTEXT_TABLE_NAME = "context";
public static final String UPDATE_INTENT = "org.dodgybits... |
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
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 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 org.dodgybits.shuffle.android.persistence.provider.AbstractCollectionProvider;
import org.dodgybits.shuffle.android.persistence.provider.ProjectProvider;
import org.dodgybits.shuffle.android.persistence.provider.TaskProvider;
import android.da... |
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 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... |
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.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.ProjectProvider;
import android.database.sqlite.SQLiteDatabase;
public class V13Migration implements Migration {
@Override
public void migrate(SQLiteDatabase db) {
// Shuffle v1.4... |
package org.dodgybits.shuffle.android.persistence.migrations;
import android.content.ContentValues;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.util.Log;
import com.google.common.collect.Sets;
import org.dodgybits.shuffle.android.persistence.provider.TaskProvide... |
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 org.dodgybits.shuffle.android.persistence.provider.TaskProvider;
import android.database.sqlite.SQLiteDatabase;
public class V10Migration implements Migration {
@Override
public void migrate(SQLiteDatabase db) {
// Shuffle v1.1 (1st ... |
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.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.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.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;
public class StartSynchEvent {
public StartSynchEvent() {
}
}
|
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.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.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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.