index int64 0 0 | repo_id stringlengths 26 205 | file_path stringlengths 51 246 | content stringlengths 8 433k | __index_level_0__ int64 0 10k |
|---|---|---|---|---|
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/ControllerHelper.java | package com.airbnb.epoxy;
import java.util.List;
/**
* A helper class for {@link EpoxyController} to handle {@link
* com.airbnb.epoxy.AutoModel} models. This is only implemented by the generated classes created the
* annotation processor.
*/
public abstract class ControllerHelper<T extends EpoxyController> {
pu... | 8,900 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/OnModelVisibilityStateChangedListener.java | package com.airbnb.epoxy;
import com.airbnb.epoxy.VisibilityState.Visibility;
/** Used to register an onVisibilityChanged callback with a generated model. */
public interface OnModelVisibilityStateChangedListener<T extends EpoxyModel<V>, V> {
/**
* This will be called once the visibility changed.
* <p>
* ... | 8,901 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/ControllerHelperLookup.java | package com.airbnb.epoxy;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.util.LinkedHashMap;
import java.util.Map;
import androidx.annotation.Nullable;
/**
* Looks up a generated {@link ControllerHelper} implementation for a given adapter.
* If the adapter has... | 8,902 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/MainThreadExecutor.java | package com.airbnb.epoxy;
import static com.airbnb.epoxy.EpoxyAsyncUtil.AYSNC_MAIN_THREAD_HANDLER;
import static com.airbnb.epoxy.EpoxyAsyncUtil.MAIN_THREAD_HANDLER;
class MainThreadExecutor extends HandlerExecutor {
static final MainThreadExecutor INSTANCE = new MainThreadExecutor(false);
static final MainThread... | 8,903 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/OnModelBoundListener.java | package com.airbnb.epoxy;
/** Used to register an onBind callback with a generated model. */
public interface OnModelBoundListener<T extends EpoxyModel<?>, V> {
/**
* This will be called immediately after a model was bound, with the model and view that were
* bound together.
*
* @param model The model... | 8,904 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/EpoxyTouchHelper.java | package com.airbnb.epoxy;
import android.graphics.Canvas;
import android.view.View;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import androidx.recyclerview.widget.ItemTouchHelper;
import androidx.recyclerview.widget.RecyclerView;
import static androidx.recyclerview.widget.ItemTouchH... | 8,905 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/NoOpControllerHelper.java | package com.airbnb.epoxy;
/**
* A {@link ControllerHelper} implementation for adapters with no {@link
* com.airbnb.epoxy.AutoModel} usage.
*/
class NoOpControllerHelper extends ControllerHelper<EpoxyController> {
@Override
public void resetAutoModels() {
// No - Op
}
}
| 8,906 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/ViewHolderState.java |
package com.airbnb.epoxy;
import android.os.Parcel;
import android.os.Parcelable;
import android.util.SparseArray;
import android.view.View;
import com.airbnb.epoxy.ViewHolderState.ViewState;
import com.airbnb.viewmodeladapter.R;
import java.util.Collection;
import androidx.collection.LongSparseArray;
/**
* Help... | 8,907 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/OnModelLongClickListener.java | package com.airbnb.epoxy;
import android.view.View;
public interface OnModelLongClickListener<T extends EpoxyModel<?>, V> {
/**
* Called when the view bound to the model is clicked.
*
* @param model The model that the view is bound to.
* @param parentView The view bound to the model which receive... | 8,908 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/QuantityStringResAttribute.java | package com.airbnb.epoxy;
import android.content.Context;
import java.util.Arrays;
import androidx.annotation.Nullable;
import androidx.annotation.PluralsRes;
public class QuantityStringResAttribute {
@PluralsRes private final int id;
private final int quantity;
@Nullable private final Object[] formatArgs;
... | 8,909 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/IllegalEpoxyUsage.java | package com.airbnb.epoxy;
public class IllegalEpoxyUsage extends RuntimeException {
public IllegalEpoxyUsage(String message) {
super(message);
}
}
| 8,910 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/IdUtils.java | package com.airbnb.epoxy;
import androidx.annotation.Nullable;
/**
* Utilities for generating 64-bit long IDs from types such as {@link CharSequence}.
*/
public final class IdUtils {
private IdUtils() {
}
/**
* Hash a long into 64 bits instead of the normal 32. This uses a xor shift implementation to
*... | 8,911 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/ModelState.java | package com.airbnb.epoxy;
/** Helper to store relevant information about a model that we need to determine if it changed. */
class ModelState {
long id;
int hashCode;
int position;
EpoxyModel<?> model;
/**
* A link to the item with the same id in the other list when diffing two lists. This will be null
... | 8,912 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/GeneratedModel.java | package com.airbnb.epoxy;
/** Interface applied to generated models to allow the base adapter to interact with them. */
public interface GeneratedModel<T> {
/**
* Called on the generated model immediately before the main model onBind method has been called.
* This let's the generated model handle binding setup... | 8,913 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/Typed2EpoxyController.java | package com.airbnb.epoxy;
import android.os.Handler;
/**
* This is a wrapper around {@link com.airbnb.epoxy.EpoxyController} to simplify how data is
* accessed. Use this if the data required to build your models is represented by two objects.
* <p>
* To use this, create a subclass typed with your data object. The... | 8,914 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener.java | package com.airbnb.epoxy;
import android.widget.CompoundButton;
import android.widget.CompoundButton.OnCheckedChangeListener;
import androidx.recyclerview.widget.RecyclerView;
/**
* Used in the generated models to transform normal checked change listener to model
* checked change.
*/
public class WrappedEpoxyMode... | 8,915 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/UpdateOp.java |
package com.airbnb.epoxy;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.util.ArrayList;
import androidx.annotation.IntDef;
import androidx.annotation.Nullable;
/** Defines an operation that makes a change to the epoxy model list. */
class UpdateOp {
@IntDef({ADD,... | 8,916 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/Typed3EpoxyController.java | package com.airbnb.epoxy;
import android.os.Handler;
/**
* This is a wrapper around {@link com.airbnb.epoxy.EpoxyController} to simplify how data is
* accessed. Use this if the data required to build your models is represented by three objects.
* <p>
* To use this, create a subclass typed with your data object. T... | 8,917 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/OnModelBuildFinishedListener.java | package com.airbnb.epoxy;
import androidx.annotation.NonNull;
/**
* Used with {@link EpoxyController#addModelBuildListener(OnModelBuildFinishedListener)} to be
* alerted to new model changes.
*/
public interface OnModelBuildFinishedListener {
/**
* Called after {@link EpoxyController#buildModels()} has run an... | 8,918 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/HandlerExecutor.java | package com.airbnb.epoxy;
import android.os.Handler;
import android.os.Looper;
import java.util.concurrent.Executor;
import androidx.annotation.NonNull;
/**
* An executor that does it's work via posting to a Handler.
* <p>
* A key feature of this is the runnable is executed synchronously if the current thread is... | 8,919 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/AsyncEpoxyController.java | package com.airbnb.epoxy;
import android.os.Handler;
import static com.airbnb.epoxy.EpoxyAsyncUtil.MAIN_THREAD_HANDLER;
import static com.airbnb.epoxy.EpoxyAsyncUtil.getAsyncBackgroundHandler;
/**
* A subclass of {@link EpoxyController} that makes it easy to do model building and diffing in
* the background.
* <p... | 8,920 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/EpoxyAsyncUtil.java | package com.airbnb.epoxy;
import android.os.Build;
import android.os.Handler;
import android.os.Handler.Callback;
import android.os.HandlerThread;
import android.os.Looper;
import android.os.Message;
import androidx.annotation.MainThread;
/**
* Various helpers for running Epoxy operations off the main thread.
*/
p... | 8,921 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/ViewTypeManager.java | package com.airbnb.epoxy;
import java.util.HashMap;
import java.util.Map;
import androidx.annotation.Nullable;
import androidx.annotation.VisibleForTesting;
class ViewTypeManager {
private static final Map<Class, Integer> VIEW_TYPE_MAP = new HashMap<>();
/**
* The last model that had its view type looked up. ... | 8,922 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/VisibilityState.java | package com.airbnb.epoxy;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import androidx.annotation.IntDef;
public final class VisibilityState {
@Retention(RetentionPolicy.SOURCE)
@IntDef({VISIBLE,
INVISIBLE,
FOCUSED_VISIBLE,
UNFOCUSED_VISIBL... | 8,923 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/SimpleEpoxyModel.java | package com.airbnb.epoxy;
import android.view.View;
import androidx.annotation.CallSuper;
import androidx.annotation.LayoutRes;
import androidx.annotation.NonNull;
/**
* Helper class for cases where you don't need to do anything special when binding the view. This
* allows you to just provide the layout instead of... | 8,924 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/Carousel.java | package com.airbnb.epoxy;
import android.content.Context;
import android.util.AttributeSet;
import android.util.DisplayMetrics;
import android.view.View;
import android.view.ViewGroup;
import com.airbnb.epoxy.ModelView.Size;
import com.airbnb.viewmodeladapter.R;
import java.util.List;
import androidx.annotation.Dim... | 8,925 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/BaseEpoxyTouchCallback.java | package com.airbnb.epoxy;
import android.view.View;
interface BaseEpoxyTouchCallback<T extends EpoxyModel> {
/**
* Should return a composite flag which defines the enabled move directions in each state
* (idle, swiping, dragging) for the given model.
* <p>
* Return 0 to disable movement for the model.
... | 8,926 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/EpoxyModelWithView.java | package com.airbnb.epoxy;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.LayoutRes;
import androidx.annotation.NonNull;
/**
* A model that allows its view to be built programmatically instead of by inflating a layout
* resource. Just implement {@link #buildView} so the adapter ... | 8,927 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/DiffHelper.java |
package com.airbnb.epoxy;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import androidx.annotation.Nullable;
import androidx.recyclerview.widget.RecyclerView;
/**
* Helper to track changes in the models list.
*/
class DiffHelper {
p... | 8,928 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/SimpleEpoxyAdapter.java | package com.airbnb.epoxy;
import java.util.Collection;
import java.util.List;
/**
* A non-abstract version of {@link com.airbnb.epoxy.EpoxyAdapter} that exposes all methods and
* models as public. Use this if you don't want to create your own adapter subclass and instead want
* to modify the adapter from elsewhere... | 8,929 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/OnModelUnboundListener.java | package com.airbnb.epoxy;
/** Used to register an onUnbind callback with a generated model. */
public interface OnModelUnboundListener<T extends EpoxyModel<?>, V> {
/**
* This will be called immediately after a model is unbound from a view, with the view and model
* that were unbound.
*/
void onModelUnbou... | 8,930 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/OnModelVisibilityChangedListener.java | package com.airbnb.epoxy;
import androidx.annotation.FloatRange;
import androidx.annotation.Px;
/** Used to register an onVisibilityChanged callback with a generated model. */
public interface OnModelVisibilityChangedListener<T extends EpoxyModel<V>, V> {
/**
* This will be called once the view visible part cha... | 8,931 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/EpoxyViewHolder.java | package com.airbnb.epoxy;
import android.view.View;
import android.view.ViewParent;
import com.airbnb.epoxy.ViewHolderState.ViewState;
import com.airbnb.epoxy.VisibilityState.Visibility;
import java.util.List;
import androidx.annotation.FloatRange;
import androidx.annotation.NonNull;
import androidx.annotation.Null... | 8,932 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/Typed4EpoxyController.java | package com.airbnb.epoxy;
import android.os.Handler;
/**
* This is a wrapper around {@link com.airbnb.epoxy.EpoxyController} to simplify how data is
* accessed. Use this if the data required to build your models is represented by four objects.
* <p>
* To use this, create a subclass typed with your data object. Th... | 8,933 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/EpoxyDragCallback.java | package com.airbnb.epoxy;
import android.view.View;
/**
* For use with {@link EpoxyModelTouchCallback}
*/
public interface EpoxyDragCallback<T extends EpoxyModel> extends BaseEpoxyTouchCallback<T> {
/**
* Called when the view switches from an idle state to a dragged state, as the user begins a drag
* inter... | 8,934 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/NoOpTimer.java | package com.airbnb.epoxy;
class NoOpTimer implements Timer {
@Override
public void start(String sectionName) {
}
@Override
public void stop() {
}
}
| 8,935 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/EpoxyModelTouchCallback.java | package com.airbnb.epoxy;
import android.graphics.Canvas;
import android.view.View;
import com.airbnb.viewmodeladapter.R;
import androidx.annotation.Nullable;
import androidx.recyclerview.widget.ItemTouchHelper;
import androidx.recyclerview.widget.RecyclerView;
/**
* A wrapper around {@link androidx.recyclerview.w... | 8,936 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/Timer.java | package com.airbnb.epoxy;
interface Timer {
void start(String sectionName);
void stop();
}
| 8,937 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/EpoxyController.java | package com.airbnb.epoxy;
import android.os.Bundle;
import android.os.Handler;
import android.view.View;
import com.airbnb.epoxy.stickyheader.StickyHeaderCallbacks;
import org.jetbrains.annotations.NotNull;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.util.ArrayLis... | 8,938 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/DiffResult.java | package com.airbnb.epoxy;
import java.util.Collections;
import java.util.List;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.recyclerview.widget.AdapterListUpdateCallback;
import androidx.recyclerview.widget.DiffUtil;
import androidx.recyclerview.widget.ListUpdateCallback;
i... | 8,939 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/EpoxyHolder.java | package com.airbnb.epoxy;
import android.view.View;
import android.view.ViewParent;
import androidx.annotation.NonNull;
/**
* Used in conjunction with {@link com.airbnb.epoxy.EpoxyModelWithHolder} to provide a view holder
* pattern when binding to a model.
*/
public abstract class EpoxyHolder {
public EpoxyHol... | 8,940 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/ControllerModelList.java | package com.airbnb.epoxy;
/**
* This ArrayList subclass enforces that no changes are made to the list after {@link #freeze()} is
* called. This prevents model interceptors from storing the list and trying to change it later. We
* could copy the list before diffing, but that would waste memory to make the copy for e... | 8,941 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/ListenersUtils.java | package com.airbnb.epoxy;
import android.view.View;
import android.view.ViewParent;
import androidx.annotation.Nullable;
import androidx.recyclerview.widget.RecyclerView;
import androidx.recyclerview.widget.RecyclerView.ViewHolder;
public class ListenersUtils {
@Nullable
static EpoxyViewHolder getEpoxyHolderFor... | 8,942 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/TypedEpoxyController.java | package com.airbnb.epoxy;
import android.os.Handler;
import androidx.annotation.Nullable;
/**
* This is a wrapper around {@link com.airbnb.epoxy.EpoxyController} to simplify how data is
* accessed. Use this if the data required to build your models is represented by a single object.
* <p>
* To use this, create a ... | 8,943 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/EpoxyModel.java | package com.airbnb.epoxy;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.airbnb.epoxy.EpoxyController.ModelInterceptorCallback;
import com.airbnb.epoxy.VisibilityState.Visibility;
import java.util.List;
import androidx.annotation.FloatRange;
import androidx.a... | 8,944 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/BoundViewHolders.java |
package com.airbnb.epoxy;
import java.util.Iterator;
import java.util.NoSuchElementException;
import androidx.annotation.Nullable;
import androidx.collection.LongSparseArray;
/** Helper class for keeping track of {@link EpoxyViewHolder}s that are currently bound. */
@SuppressWarnings("WeakerAccess")
public class Bo... | 8,945 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/EpoxyModelWithHolder.java | package com.airbnb.epoxy;
import android.view.ViewParent;
import com.airbnb.epoxy.VisibilityState.Visibility;
import java.util.List;
import androidx.annotation.FloatRange;
import androidx.annotation.NonNull;
import androidx.annotation.Px;
/**
* A version of {@link com.airbnb.epoxy.EpoxyModel} that allows you to u... | 8,946 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/ImmutableModelException.java | package com.airbnb.epoxy;
import androidx.annotation.NonNull;
/**
* Thrown if a model is changed after it is added to an {@link com.airbnb.epoxy.EpoxyController}.
*/
class ImmutableModelException extends RuntimeException {
private static final String MODEL_CANNOT_BE_CHANGED_MESSAGE =
"Epoxy attribute fields... | 8,947 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/EpoxyAdapter.java |
package com.airbnb.epoxy;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import androidx.annotation.Nullable;
/**
* Allows you to easily combine different view types in the same adapter, and handles view holder
* creation, binding, and ids for you. Subcl... | 8,948 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/BaseEpoxyAdapter.java | package com.airbnb.epoxy;
import android.os.Bundle;
import android.view.View;
import android.view.ViewGroup;
import com.airbnb.epoxy.stickyheader.StickyHeaderCallbacks;
import org.jetbrains.annotations.NotNull;
import java.util.Collections;
import java.util.List;
import androidx.annotation.CallSuper;
import androi... | 8,949 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/DiffPayload.java | package com.airbnb.epoxy;
import java.util.Collections;
import java.util.List;
import androidx.annotation.Nullable;
import androidx.annotation.VisibleForTesting;
import androidx.collection.LongSparseArray;
/**
* A helper class for tracking changed models found by the {@link com.airbnb.epoxy.DiffHelper} to
* be inc... | 8,950 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/StringAttributeData.java | package com.airbnb.epoxy;
import android.content.Context;
import java.util.Arrays;
import androidx.annotation.Nullable;
import androidx.annotation.PluralsRes;
import androidx.annotation.StringRes;
public class StringAttributeData {
private final boolean hasDefault;
@Nullable private final CharSequence defaultSt... | 8,951 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/ModelList.java | package com.airbnb.epoxy;
import java.util.AbstractList;
import java.util.ArrayList;
import java.util.Collection;
import java.util.ConcurrentModificationException;
import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;
import java.util.NoSuchElementException;
import androidx.annotation.NonNu... | 8,952 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/OnModelCheckedChangeListener.java | package com.airbnb.epoxy;
import android.widget.CompoundButton;
public interface OnModelCheckedChangeListener<T extends EpoxyModel<?>, V> {
/**
* Called when the view bound to the model is checked.
*
* @param model The model that the view is bound to.
* @param parentView The view bound to the mod... | 8,953 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/EpoxyControllerAdapter.java | package com.airbnb.epoxy;
import android.os.Handler;
import android.view.View;
import com.airbnb.epoxy.AsyncEpoxyDiffer.ResultCallback;
import org.jetbrains.annotations.NotNull;
import java.util.ArrayList;
import java.util.List;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androi... | 8,954 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/SimpleEpoxyController.java | package com.airbnb.epoxy;
import java.util.List;
/**
* A small wrapper around {@link com.airbnb.epoxy.EpoxyController} that lets you set a list of
* models directly.
*/
public class SimpleEpoxyController extends EpoxyController {
private List<? extends EpoxyModel<?>> currentModels;
private boolean insideSetMod... | 8,955 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/NotifyBlocker.java | package com.airbnb.epoxy;
import androidx.recyclerview.widget.RecyclerView.AdapterDataObserver;
/**
* We don't allow any data change notifications except the ones done though diffing. Forcing
* changes to happen through diffing reduces the chance for developer error when implementing an
* adapter.
* <p>
* This o... | 8,956 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/EpoxyModelGroup.java | package com.airbnb.epoxy;
import android.view.View;
import android.view.ViewParent;
import android.view.ViewStub;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import androidx.annotation.CallSuper;
import androidx.annotation.Lay... | 8,957 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/EpoxyItemSpacingDecorator.java | package com.airbnb.epoxy;
import android.graphics.Rect;
import android.view.View;
import androidx.annotation.Px;
import androidx.core.view.ViewCompat;
import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widget.GridLayoutManager.SpanSizeLookup;
import androidx.recyclerview.widget.Linear... | 8,958 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/EpoxySwipeCallback.java | package com.airbnb.epoxy;
import android.graphics.Canvas;
import android.view.View;
import androidx.recyclerview.widget.ItemTouchHelper;
/**
* For use with {@link EpoxyModelTouchCallback}
*/
public interface EpoxySwipeCallback<T extends EpoxyModel> extends BaseEpoxyTouchCallback<T> {
/**
* Called when the vi... | 8,959 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/DebugTimer.java | package com.airbnb.epoxy;
import android.util.Log;
class DebugTimer implements Timer {
private final String tag;
private long startTime;
private String sectionName;
DebugTimer(String tag) {
this.tag = tag;
reset();
}
private void reset() {
startTime = -1;
sectionName = null;
}
@Ove... | 8,960 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/UpdateOpHelper.java | package com.airbnb.epoxy;
import com.airbnb.epoxy.UpdateOp.Type;
import java.util.ArrayList;
import java.util.List;
import androidx.annotation.Nullable;
import static com.airbnb.epoxy.UpdateOp.ADD;
import static com.airbnb.epoxy.UpdateOp.MOVE;
import static com.airbnb.epoxy.UpdateOp.REMOVE;
import static com.airbnb... | 8,961 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/OnModelClickListener.java | package com.airbnb.epoxy;
import android.view.View;
/** Used to register a click listener on a generated model. */
public interface OnModelClickListener<T extends EpoxyModel<?>, V> {
/**
* Called when the view bound to the model is clicked.
*
* @param model The model that the view is bound to.
* @... | 8,962 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/AsyncEpoxyDiffer.java | package com.airbnb.epoxy;
import android.os.Handler;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.Executor;
import androidx.annotation.AnyThread;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.recyclerview.widget.DiffUtil;
import androidx.... | 8,963 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/HiddenEpoxyModel.java |
package com.airbnb.epoxy;
import android.widget.Space;
import com.airbnb.viewmodeladapter.R;
/**
* Used by the {@link EpoxyAdapter} as a placeholder for when {@link EpoxyModel#isShown()} is false.
* Using a zero height and width {@link Space} view, as well as 0 span size, to exclude itself from
* view.
*/
class... | 8,964 |
0 | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-adapter/src/main/java/com/airbnb/epoxy/StyleBuilderCallback.java | package com.airbnb.epoxy;
/**
* Used for specifying dynamic styling for a view when creating a model. This is only used if the
* view is set up to be styled with the Paris library.
*/
public interface StyleBuilderCallback<T> {
void buildStyle(T builder);
}
| 8,965 |
0 | Create_ds/epoxy/epoxy-modelfactory/src/main/java/com/airbnb | Create_ds/epoxy/epoxy-modelfactory/src/main/java/com/airbnb/epoxy/ModelProperties.java | package com.airbnb.epoxy;
import android.view.View.OnClickListener;
import androidx.annotation.DrawableRes;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.RawRes;
import com.airbnb.paris.styles.Style;
import java.util.List;
public interface ModelProperties {
@... | 8,966 |
0 | Create_ds/epoxy/epoxy-processortest2/src/main/java/com/airbnb/epoxy | Create_ds/epoxy/epoxy-processortest2/src/main/java/com/airbnb/epoxy/processortest2/ProcessorTest2Model.java | package com.airbnb.epoxy.processortest2;
import android.view.View;
import com.airbnb.epoxy.EpoxyAttribute;
import com.airbnb.epoxy.EpoxyModel;
public class ProcessorTest2Model<T extends View> extends EpoxyModel<T> {
@EpoxyAttribute protected int processorTest2ValueProtected;
@EpoxyAttribute public int processor... | 8,967 |
0 | Create_ds/epoxy/epoxy-sample/src/main/java/com/airbnb/epoxy | Create_ds/epoxy/epoxy-sample/src/main/java/com/airbnb/epoxy/sample/EpoxyConfig.java | package com.airbnb.epoxy.sample;
import com.airbnb.epoxy.EpoxyDataBindingLayouts;
import com.airbnb.epoxy.PackageModelViewConfig;
@PackageModelViewConfig(rClass = R.class)
@EpoxyDataBindingLayouts(R.layout.button)
interface EpoxyConfig {}
| 8,968 |
0 | Create_ds/epoxy/epoxy-sample/src/main/java/com/airbnb/epoxy | Create_ds/epoxy/epoxy-sample/src/main/java/com/airbnb/epoxy/sample/ColorData.java | package com.airbnb.epoxy.sample;
import android.os.Parcel;
import android.os.Parcelable;
import androidx.annotation.ColorInt;
public class ColorData implements Parcelable {
private final long id;
@ColorInt private int colorInt;
private boolean playAnimation;
public ColorData(int colorInt, long id) {
thi... | 8,969 |
0 | Create_ds/epoxy/epoxy-sample/src/main/java/com/airbnb/epoxy | Create_ds/epoxy/epoxy-sample/src/main/java/com/airbnb/epoxy/sample/MainActivity.java | package com.airbnb.epoxy.sample;
import android.animation.ArgbEvaluator;
import android.animation.ValueAnimator;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.os.Bundle;
import android.os.Parcelable;
import android.view.View;
import com.airbnb.epoxy.EpoxyRecyclerView;
i... | 8,970 |
0 | Create_ds/epoxy/epoxy-sample/src/main/java/com/airbnb/epoxy | Create_ds/epoxy/epoxy-sample/src/main/java/com/airbnb/epoxy/sample/CarouselData.java | package com.airbnb.epoxy.sample;
import android.os.Parcel;
import android.os.Parcelable;
import java.util.List;
public class CarouselData implements Parcelable {
private final long id;
private final List<ColorData> colors;
public CarouselData(long id, List<ColorData> colors) {
this.id = id;
this.color... | 8,971 |
0 | Create_ds/epoxy/epoxy-sample/src/main/java/com/airbnb/epoxy/sample | Create_ds/epoxy/epoxy-sample/src/main/java/com/airbnb/epoxy/sample/models/BaseView.java | package com.airbnb.epoxy.sample.models;
import android.content.Context;
import com.airbnb.epoxy.ModelProp;
import com.airbnb.epoxy.ModelView;
import androidx.appcompat.widget.AppCompatTextView;
@ModelView
public abstract class BaseView extends AppCompatTextView {
public BaseView(Context context) {
super(cont... | 8,972 |
0 | Create_ds/epoxy/epoxy-sample/src/main/java/com/airbnb/epoxy/sample | Create_ds/epoxy/epoxy-sample/src/main/java/com/airbnb/epoxy/sample/models/CarouselModelGroup.java | package com.airbnb.epoxy.sample.models;
import com.airbnb.epoxy.EpoxyModel;
import com.airbnb.epoxy.EpoxyModelGroup;
import com.airbnb.epoxy.sample.CarouselData;
import com.airbnb.epoxy.sample.ColorData;
import com.airbnb.epoxy.sample.R;
import com.airbnb.epoxy.sample.SampleController.AdapterCallbacks;
import com.airb... | 8,973 |
0 | Create_ds/epoxy/epoxy-sample/src/main/java/com/airbnb/epoxy/sample | Create_ds/epoxy/epoxy-sample/src/main/java/com/airbnb/epoxy/sample/models/SimpleAnimatorListener.java | package com.airbnb.epoxy.sample.models;
import android.animation.Animator;
import android.animation.Animator.AnimatorListener;
public class SimpleAnimatorListener implements AnimatorListener {
@Override
public void onAnimationStart(Animator animation) {
}
@Override
public void onAnimationEnd(Animator anim... | 8,974 |
0 | Create_ds/epoxy/epoxy-sample/src/main/java/com/airbnb/epoxy/sample | Create_ds/epoxy/epoxy-sample/src/main/java/com/airbnb/epoxy/sample/views/HeaderView.java | package com.airbnb.epoxy.sample.views;
import android.content.Context;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.airbnb.epoxy.ModelProp;
import com.airbnb.epoxy.ModelProp.Option;
import com.airbnb.epoxy.ModelView;
import com.airbnb.epoxy.TextProp;
im... | 8,975 |
0 | Create_ds/epoxy/epoxy-sample/src/main/java/com/airbnb/epoxy/sample | Create_ds/epoxy/epoxy-sample/src/main/java/com/airbnb/epoxy/sample/views/GridCarousel.java | package com.airbnb.epoxy.sample.views;
import android.content.Context;
import com.airbnb.epoxy.Carousel;
import com.airbnb.epoxy.ModelView;
import com.airbnb.epoxy.ModelView.Size;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widget.LinearLayo... | 8,976 |
0 | Create_ds/epoxy/epoxy-processor/src/main/java/com/airbnb/epoxy | Create_ds/epoxy/epoxy-processor/src/main/java/com/airbnb/epoxy/processor/ImportScanner.java | package com.airbnb.epoxy.processor;
import java.util.HashSet;
import java.util.Set;
import javax.lang.model.element.ExecutableElement;
import javax.lang.model.element.TypeElement;
import javax.lang.model.element.TypeParameterElement;
import javax.lang.model.element.VariableElement;
import javax.lang.model.type.TypeKi... | 8,977 |
0 | Create_ds/TaBERT/contrib/wiki_extractor/src/main | Create_ds/TaBERT/contrib/wiki_extractor/src/main/java/MediaWikiToHtml.java | // Copyright (c) Facebook, Inc. and its affiliates.
// All rights reserved.
//
// This source code is licensed under the license found in the
// LICENSE file in the root directory of this source tree.
import info.bliki.wiki.model.WikiModel;
public class MediaWikiToHtml {
public static String convert(String media... | 8,978 |
0 | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/androidTest/java/software/amazon/freertos | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/androidTest/java/software/amazon/freertos/amazonfreertossdk/ExampleInstrumentedTest.java | package software.amazon.freertos.amazonfreertossdk;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will ex... | 8,979 |
0 | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/test/java/software/amazon/freertos | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/test/java/software/amazon/freertos/amazonfreertossdk/ExampleUnitTest.java | package software.amazon.freertos.amazonfreertossdk;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@... | 8,980 |
0 | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos/amazonfreertossdk/DeviceInfoCallback.java | /*
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | 8,981 |
0 | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos/amazonfreertossdk/AmazonFreeRTOSConstants.java | /*
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | 8,982 |
0 | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos/amazonfreertossdk/BleCommand.java | /*
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | 8,983 |
0 | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos/amazonfreertossdk/NetworkConfigCallback.java | /*
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | 8,984 |
0 | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos/amazonfreertossdk/AmazonFreeRTOSDevice.java | /*
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | 8,985 |
0 | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos/amazonfreertossdk/BleConnectionStatusCallback.java | /*
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | 8,986 |
0 | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos/amazonfreertossdk/MessageType.java | /*
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | 8,987 |
0 | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos/amazonfreertossdk/BleScanResultCallback.java | /*
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | 8,988 |
0 | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos/amazonfreertossdk/AmazonFreeRTOSManager.java | /*
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | 8,989 |
0 | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos/amazonfreertossdk | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos/amazonfreertossdk/mqttproxy/Unsubscribe.java | /*
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | 8,990 |
0 | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos/amazonfreertossdk | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos/amazonfreertossdk/mqttproxy/Publish.java | /*
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | 8,991 |
0 | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos/amazonfreertossdk | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos/amazonfreertossdk/mqttproxy/Suback.java | /*
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | 8,992 |
0 | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos/amazonfreertossdk | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos/amazonfreertossdk/mqttproxy/Subscribe.java | /*
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | 8,993 |
0 | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos/amazonfreertossdk | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos/amazonfreertossdk/mqttproxy/MqttProxyControl.java | /*
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | 8,994 |
0 | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos/amazonfreertossdk | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos/amazonfreertossdk/mqttproxy/Puback.java | /*
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | 8,995 |
0 | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos/amazonfreertossdk | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos/amazonfreertossdk/mqttproxy/Connack.java | /*
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | 8,996 |
0 | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos/amazonfreertossdk | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos/amazonfreertossdk/mqttproxy/PingResp.java | package software.amazon.freertos.amazonfreertossdk.mqttproxy;
import android.util.Log;
import java.io.ByteArrayOutputStream;
import co.nstant.in.cbor.CborBuilder;
import co.nstant.in.cbor.CborEncoder;
import co.nstant.in.cbor.CborException;
import static software.amazon.freertos.amazonfreertossdk.AmazonFreeRTOSCons... | 8,997 |
0 | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos/amazonfreertossdk | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos/amazonfreertossdk/mqttproxy/PingReq.java | package software.amazon.freertos.amazonfreertossdk.mqttproxy;
public class PingReq {
}
| 8,998 |
0 | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos/amazonfreertossdk | Create_ds/amazon-freertos-ble-android-sdk/amazonfreertossdk/src/main/java/software/amazon/freertos/amazonfreertossdk/mqttproxy/Connect.java | /*
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | 8,999 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.