text stringlengths 3 1.18M |
|---|
package eu.lighthouselabs.obd.reader.drawable;
import eu.lighthouselabs.obd.reader.R;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Typeface;
import android.graphics.drawable.D... |
package eu.lighthouselabs.obd.reader.drawable;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.ShapeDrawable;
import android.graphics.drawable.shapes.RectShape;
import android.util.AttributeSet;
i... |
package eu.lighthouselabs.obd.reader.network;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URLEncoder;
import java.util.Iterator;
import java.util.Map;
import org.apache.http.client.HttpClient;
import org.apache.http.... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.reader;
import eu.lighthouselabs.obd.reader.io.ObdCommandJob;
/**
* TODO put description
*/
public interface IPostMonitor {
void setListener(IPostListener callback);
boolean isRunning();
void executeQueue();
void addJobToQueue(ObdCommandJob job);
} |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.reader.config;
import java.util.ArrayList;
import eu.lighthouselabs.obd.commands.ObdCommand;
import eu.lighthouselabs.obd.commands.SpeedObdCommand;
import eu.lighthouselabs.obd.commands.control.CommandEquivRatioObdCommand;
import eu.lighthouselabs.obd.commands.c... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.reader;
import eu.lighthouselabs.obd.reader.io.ObdCommandJob;
/**
* TODO put description
*/
public interface IPostListener {
void stateUpdate(ObdCommandJob job);
} |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.enums;
/**
* All OBD protocols.
*/
public enum ObdProtocols {
/**
* Auto select protocol and save.
*/
AUTO('0'),
/**
* 41.6 kbaud
*/
SAE_J1850_PWM('1'),
/**
* 10.4 kbaud
*/
SAE_J1850_VPW('2'),
/**
* 5 baud init
*/
ISO_9141_2('3'),
... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.enums;
/**
* TODO put description
*/
public enum AvailableCommandNames {
AIR_INTAKE_TEMP("Air Intake Temperature"),
AMBIENT_AIR_TEMP("Ambient Air Temperature"),
ENGINE_COOLANT_TEMP("Engine Coolant Temperature"),
BAROMETRIC_PRESSURE("Barometric Pressure"),
... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.enums;
/**
* Select one of the Fuel Trim percentage banks to access.
*/
public enum FuelTrim {
SHORT_TERM_BANK_1(0x06),
LONG_TERM_BANK_1(0x07),
SHORT_TERM_BANK_2(0x08),
LONG_TERM_BANK_2(0x09);
private final int value;
/**
*
* @param value
*/
pr... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.enums;
import eu.lighthouselabs.obd.commands.utils.ObdUtils;
/**
* MODE 1 PID 0x51 will return one of the following values to identify the fuel
* type of the vehicle.
*/
public enum FuelType {
GASOLINE(0x01),
METHANOL(0x02),
ETHANOL(0x03),
DIESEL(0x04),
... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.commands;
/**
* This interface will define methods for converting to/from imperial units and
* from/to metric units.
*/
public interface SystemOfUnits {
float getImperialUnit();
} |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.commands;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.ArrayList;
/**
* TODO put description
*/
public abstract class ObdCommand {
protected ArrayList<Integer> buffer = null;
protected String cmd = n... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.commands.protocol;
import eu.lighthouselabs.obd.commands.ObdCommand;
import eu.lighthouselabs.obd.enums.ObdProtocols;
/**
* Select the protocol to use.
*/
public class SelectProtocolObdCommand extends ObdCommand {
private final ObdProtocols _protocol;
/**... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.commands.protocol;
import java.io.IOException;
import java.io.InputStream;
import eu.lighthouselabs.obd.commands.ObdCommand;
/**
* This method will reset the OBD connection.
*/
public class ObdResetCommand extends ObdCommand {
/**
* @param command
*/
... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.commands.protocol;
import eu.lighthouselabs.obd.commands.ObdCommand;
/**
* This command will turn-off echo.
*/
public class EchoOffObdCommand extends ObdCommand {
/**
* @param command
*/
public EchoOffObdCommand() {
super("AT E0");
}
/**
* @param... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.commands.protocol;
import eu.lighthouselabs.obd.commands.ObdCommand;
/**
* Turns off line-feed.
*/
public class LineFeedOffObdCommand extends ObdCommand {
/**
* @param command
*/
public LineFeedOffObdCommand() {
super("AT L0");
}
/**
* @param oth... |
/*
* TODO put description
*/
package eu.lighthouselabs.obd.commands.protocol;
import eu.lighthouselabs.obd.commands.ObdCommand;
/**
* This will set the value of time in milliseconds (ms) that the OBD interface
* will wait for a response from the ECU. If exceeds, the response is "NO DATA".
*/
public class Timeout... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.commands.fuel;
import eu.lighthouselabs.obd.commands.ObdCommand;
import eu.lighthouselabs.obd.enums.AvailableCommandNames;
/**
* Get fuel level in percentage
*/
public class FuelLevelObdCommand extends ObdCommand {
private float fuelLevel = 0f;
/**
* @p... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.commands.fuel;
import eu.lighthouselabs.obd.commands.ObdCommand;
import eu.lighthouselabs.obd.enums.AvailableCommandNames;
/**
* TODO put description
*/
public class FuelConsumptionObdCommand extends ObdCommand {
private float fuelRate = -1.0f;
public Fue... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.commands.fuel;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import eu.lighthouselabs.obd.commands.ObdCommand;
import eu.lighthouselabs.obd.commands.SpeedObdCommand;
import eu.lighthouselabs.obd.enums.AvailableCommandNames;... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.commands.fuel;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import eu.lighthouselabs.obd.commands.ObdCommand;
import eu.lighthouselabs.obd.commands.SpeedObdCommand;
import eu.lighthouselabs.obd.commands.control.CommandEqu... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.commands.fuel;
import eu.lighthouselabs.obd.enums.AvailableCommandNames;
import eu.lighthouselabs.obd.enums.FuelType;
/**
* TODO put description
*/
public class FuelEconomyWithMAFObdCommand {
private int speed = 1;
private double maf = 1;
private float lt... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.commands.fuel;
import eu.lighthouselabs.obd.commands.ObdCommand;
import eu.lighthouselabs.obd.commands.utils.ObdUtils;
import eu.lighthouselabs.obd.enums.AvailableCommandNames;
/**
* This command is intended to determine the vehicle fuel type.
*/
public class... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.commands.fuel;
import eu.lighthouselabs.obd.commands.ObdCommand;
import eu.lighthouselabs.obd.enums.FuelTrim;
/**
* Get Fuel Trim.
*
*/
public class FuelTrimObdCommand extends ObdCommand {
private float fuelTrimValue = 0.0f;
private final FuelTrim bank;
... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.commands.temperature;
import eu.lighthouselabs.obd.commands.ObdCommand;
import eu.lighthouselabs.obd.commands.SystemOfUnits;
/**
* TODO
*
* put description
*/
public abstract class TemperatureObdCommand extends ObdCommand implements SystemOfUnits {
priva... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.commands.temperature;
import eu.lighthouselabs.obd.enums.AvailableCommandNames;
/**
* Ambient Air Temperature.
*/
public class AmbientAirTemperatureObdCommand extends TemperatureObdCommand {
/**
* @param cmd
*/
public AmbientAirTemperatureObdCommand() ... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.commands.temperature;
import eu.lighthouselabs.obd.enums.AvailableCommandNames;
/**
* Engine Coolant Temperature.
*/
public class EngineCoolantTemperatureObdCommand extends TemperatureObdCommand {
/**
*
*/
public EngineCoolantTemperatureObdCommand() {
... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.commands.temperature;
import eu.lighthouselabs.obd.enums.AvailableCommandNames;
/**
* TODO
*
* put description
*/
public class AirIntakeTemperatureObdCommand extends TemperatureObdCommand {
public AirIntakeTemperatureObdCommand() {
super("01 0F");
}
... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.commands.engine;
import eu.lighthouselabs.obd.commands.PercentageObdCommand;
import eu.lighthouselabs.obd.enums.AvailableCommandNames;
/**
* Read the throttle position in percentage.
*/
public class ThrottlePositionObdCommand extends PercentageObdCommand {
/... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.commands.engine;
import eu.lighthouselabs.obd.commands.ObdCommand;
import eu.lighthouselabs.obd.enums.AvailableCommandNames;
/**
* TODO put description
*/
public class EngineRuntimeObdCommand extends ObdCommand {
/**
* Default ctor.
*/
public EngineRunt... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.commands.engine;
import eu.lighthouselabs.obd.commands.ObdCommand;
import eu.lighthouselabs.obd.commands.PercentageObdCommand;
import eu.lighthouselabs.obd.enums.AvailableCommandNames;
/**
* Calculated Engine Load value.
*/
public class EngineLoadObdCommand ex... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.commands.engine;
import eu.lighthouselabs.obd.commands.ObdCommand;
import eu.lighthouselabs.obd.enums.AvailableCommandNames;
/**
* Displays the current engine revolutions per minute (RPM).
*/
public class EngineRPMObdCommand extends ObdCommand {
private int... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.commands.engine;
import eu.lighthouselabs.obd.commands.ObdCommand;
import eu.lighthouselabs.obd.enums.AvailableCommandNames;
/**
* TODO put description
*
* Mass Air Flow
*/
public class MassAirFlowObdCommand extends ObdCommand {
private float _maf = -1.0f... |
package eu.lighthouselabs.obd.commands.pressure;
import eu.lighthouselabs.obd.enums.AvailableCommandNames;
public class FuelPressureObdCommand extends PressureObdCommand {
public FuelPressureObdCommand() {
super("010A");
}
public FuelPressureObdCommand(FuelPressureObdCommand other) {
super(other);
}
/**
... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.commands.pressure;
import eu.lighthouselabs.obd.enums.AvailableCommandNames;
/**
* Intake Manifold Pressure
*/
public class IntakeManifoldPressureObdCommand extends PressureObdCommand {
/**
* Default ctor.
*/
public IntakeManifoldPressureObdCommand() {... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.commands.pressure;
import eu.lighthouselabs.obd.commands.ObdCommand;
import eu.lighthouselabs.obd.commands.SystemOfUnits;
/**
* TODO put description
*/
public abstract class PressureObdCommand extends ObdCommand implements
SystemOfUnits {
protected int te... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.commands.utils;
/**
* Misc utilities
*/
public final class ObdUtils {
/**
* @param an integer value
* @return the equivalent FuelType name.
*/
public final static String getFuelTypeName(int value) {
String name = null;
switch (value) {
case 1:
... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.commands;
import eu.lighthouselabs.obd.enums.AvailableCommandNames;
/**
* TODO put description
*
* Current speed.
*/
public class SpeedObdCommand extends ObdCommand implements SystemOfUnits {
private int metricSpeed = 0;
/**
* Default ctor.
*/
publ... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.commands.control;
import eu.lighthouselabs.obd.commands.ObdCommand;
import eu.lighthouselabs.obd.enums.AvailableCommandNames;
/**
* Fuel systems that use conventional oxygen sensor display the commanded open
* loop equivalence ratio while the system is in open... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.commands.control;
import eu.lighthouselabs.obd.commands.ObdCommand;
import eu.lighthouselabs.obd.enums.AvailableCommandNames;
/**
* This command will for now read MIL (check engine light) state and number of
* diagnostic trouble codes currently flagged in the ... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.commands.control;
import eu.lighthouselabs.obd.commands.PercentageObdCommand;
import eu.lighthouselabs.obd.enums.AvailableCommandNames;
/**
* TODO put description
*
* Timing Advance
*/
public class TimingAdvanceObdCommand extends PercentageObdCommand {
pu... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.commands.control;
import eu.lighthouselabs.obd.commands.ObdCommand;
import eu.lighthouselabs.obd.enums.AvailableCommandNames;
/**
* In order to get ECU Trouble Codes, one must first send a DtcNumberObdCommand
* and by so, determining the number of error codes ... |
/*
* TODO put header
*/
package eu.lighthouselabs.obd.commands;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.ArrayList;
/**
* TODO put description
*/
public class ObdMultiCommand {
private ArrayList<ObdCommand> commands;
/**
* Default ctor.
*/
pu... |
/*
* 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 java.util.*;
import com.google.web.bindery.requestfactory.shared.Request;
import com.google.web.bindery.requestfactory.shared.RequestContext;
import com.google.web.bindery.requestfactory.shared.ServiceName;
@ServiceName(value = "org.dodgybits.shuffle.server.service.TaskSe... |
package org.dodgybits.shuffle.shared;
public enum Flag {
yes, no, ignored
}
|
package org.dodgybits.shuffle.shared;
public enum PredefinedQuery {
nextTasks, dueToday, dueNextWeek, dueNextMonth, inbox, tickler
}
|
/*
* 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 java.util.Date;
import com.google.web.bindery.requestfactory.shared.EntityProxy;
import com.google.web.bindery.requestfactory.shared.ProxyForName;
@ProxyForName(value = "org.dodgybits.shuffle.server.model.Task", locator="org.dodgybits.shuffle.server.locator.ObjectifyLocat... |
/*
* 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.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.ProxyForName;
import com.google.web.bindery.requestfactory.shared.ValueProxy;
@ProxyForName("org.dodgybits.shuffle.server.model.TaskQuery")
public interface TaskQueryProxy extends ValueProxy {
Flag getActive();
void set... |
/*
* 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.synchronisation.tracks.service;
import org.dodgybits.android.shuffle.R;
import org.dodgybits.shuffle.android.core.activity.flurry.Analytics;
import org.dodgybits.shuffle.android.preference.model.Preferences;
import org.dodgybits.shuffle.android.preference.view.Progress;
import org... |
package org.dodgybits.shuffle.android.synchronisation.tracks.ssl;
import java.io.IOException;
import java.net.Socket;
import java.net.UnknownHostException;
import java.security.KeyManagementException;
import java.security.KeyStore;
import java.security.KeyStoreException;
import java.security.NoSuchAlgorithmException;
... |
/*
* ====================================================================
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
... |
/*
* ====================================================================
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
... |
/*
* ====================================================================
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
... |
package org.dodgybits.shuffle.android.synchronisation.tracks;
import org.apache.http.StatusLine;
public class WebResult {
private String mContent;
private StatusLine mStatus;
public WebResult(StatusLine status, String content) {
mStatus = status;
mContent = content;
}
public String getCo... |
package org.dodgybits.shuffle.android.synchronisation.tracks;
import java.io.IOException;
import java.io.StringReader;
import java.io.StringWriter;
import java.util.LinkedList;
import java.util.Map;
import org.apache.http.HttpStatus;
import org.dodgybits.android.shuffle.R;
import org.dodgybits.shuffle.android.core.ac... |
package org.dodgybits.shuffle.android.synchronisation.tracks;
import org.dodgybits.shuffle.android.preference.view.Progress;
/**
* Items that can receive updates about synchronization progress
*
* @author Morten Nielsen
*/
public interface SyncProgressListener {
void progressUpdate(Progress progress);
}
|
package org.dodgybits.shuffle.android.synchronisation.tracks;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
import java.net.URI;
import org.apache.http.Header;
import org.apache.http.HttpEntity;
import org.apache.http.HttpHos... |
package org.dodgybits.shuffle.android.synchronisation.tracks;
import java.util.Map;
import org.dodgybits.shuffle.android.core.model.Id;
import org.dodgybits.shuffle.android.synchronisation.tracks.model.TracksEntity;
public class TracksEntities<E extends TracksEntity> {
private Map<Id, E> mEntities;
... |
package org.dodgybits.shuffle.android.synchronisation.tracks;
import java.io.IOException;
import java.io.StringWriter;
import java.util.Map;
import org.dodgybits.android.shuffle.R;
import org.dodgybits.shuffle.android.core.activity.flurry.Analytics;
import org.dodgybits.shuffle.android.core.model.EntityBuilder;
impor... |
package org.dodgybits.shuffle.android.synchronisation.tracks;
import java.io.IOException;
import java.io.StringWriter;
import java.util.Map;
import org.dodgybits.android.shuffle.R;
import org.dodgybits.shuffle.android.core.activity.flurry.Analytics;
import org.dodgybits.shuffle.android.core.model.Context;
import org.... |
package org.dodgybits.shuffle.android.synchronisation.tracks;
@SuppressWarnings("serial")
public class ApiException extends Exception {
public ApiException(String reason) {
super(reason);
}
public ApiException(String reason, Exception e) {
super(reason, e);
}
}
|
package org.dodgybits.shuffle.android.synchronisation.tracks;
import static org.dodgybits.shuffle.android.core.util.Constants.cFlurryTracksSyncCompletedEvent;
import static org.dodgybits.shuffle.android.core.util.Constants.cFlurryTracksSyncError;
import static org.dodgybits.shuffle.android.core.util.Constants.cFlurryT... |
package org.dodgybits.shuffle.android.synchronisation.tracks;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import org.apache.http.HttpStatus;
import org.apache.http.StatusLine;
import org.dodgybits.shuffle.android.core.model.EntityBuilder;
import org.dodgybits.shuffle.android.core.mode... |
package org.dodgybits.shuffle.android.synchronisation.tracks.parsing;
public class ParseResult<T> {
private boolean mSuccess;
private T mResult;
public ParseResult(T result, boolean success) {
mSuccess = success;
mResult = result;
}
public ParseResult() {
mSuccess = false;
mResult = null;... |
package org.dodgybits.shuffle.android.synchronisation.tracks.parsing;
public interface Applier {
boolean apply(String value);
}
|
package org.dodgybits.shuffle.android.synchronisation.tracks.parsing;
import java.text.ParseException;
import org.dodgybits.shuffle.android.core.activity.flurry.Analytics;
import org.dodgybits.shuffle.android.core.model.EntityBuilder;
import org.dodgybits.shuffle.android.core.model.Id;
import org.dodgybits.shu... |
package org.dodgybits.shuffle.android.synchronisation.tracks.parsing;
import java.text.ParseException;
import org.dodgybits.shuffle.android.core.activity.flurry.Analytics;
import org.dodgybits.shuffle.android.core.model.EntityBuilder;
import org.dodgybits.shuffle.android.core.model.Id;
import org.dodgybits.s... |
package org.dodgybits.shuffle.android.synchronisation.tracks.parsing;
import java.text.ParseException;
import org.dodgybits.shuffle.android.core.activity.flurry.Analytics;
import org.dodgybits.shuffle.android.core.model.Context;
import org.dodgybits.shuffle.android.core.model.EntityBuilder;
import org.dodgybit... |
package org.dodgybits.shuffle.android.synchronisation.tracks.parsing;
import org.dodgybits.shuffle.android.core.model.Id;
public interface IProjectLookup {
Id findProjectIdByTracksId(Id tracksId);
}
|
package org.dodgybits.shuffle.android.synchronisation.tracks.parsing;
import org.dodgybits.shuffle.android.core.model.Id;
public interface IContextLookup {
Id findContextIdByTracksId(Id tracksId);
}
|
package org.dodgybits.shuffle.android.synchronisation.tracks.parsing;
import static org.dodgybits.shuffle.android.core.util.Constants.cFlurryTracksSyncError;
import java.io.IOException;
import java.io.StringReader;
import java.util.HashMap;
import java.util.Map;
import org.dodgybits.shuffle.android.core.act... |
package org.dodgybits.shuffle.android.synchronisation.tracks.model;
import org.dodgybits.shuffle.android.core.model.Entity;
import org.dodgybits.shuffle.android.core.model.Id;
public interface TracksEntity extends Entity {
Id getTracksId();
}
|
package org.dodgybits.shuffle.android.synchronisation.tracks.activity;
import javax.annotation.Nullable;
import org.dodgybits.android.shuffle.R;
import org.dodgybits.shuffle.android.core.activity.flurry.Analytics;
import org.dodgybits.shuffle.android.core.activity.flurry.FlurryEnabledActivity;
import org.dodgybits.sh... |
/*
* 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 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... |
/*
* 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 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... |
/*
* 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... |
/*
* 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... |
/*
* 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... |
/*
* 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 (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 org.dodgybits.shuffle.android.core.activity.flurry.FlurryEnabledActivity;
import roboguice.util.Ln;
import android.os.Bundle;
public class TaskEditorSchedulingActivity extends FlurryEnabledActivity {
// private boolean mShowStart;
// private Time m... |
/*
* 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... |
/*
* 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.core.view;
import android.content.res.Resources;
import android.text.TextUtils;
public class ContextIcon {
private static final String cPackage = "org.dodgybits.android.shuffle";
private static final String cType = "drawable";
public static final ContextIcon NON... |
/*
* 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.view;
import org.dodgybits.android.shuffle.R;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
public class IconArrayAdapter extends ArrayAdapter<CharSequence> {
pr... |
/*
* 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.