Skip to content

Commit

Permalink
Lines authored by rspencer
Browse files Browse the repository at this point in the history
This commit forms part of the blame-preserving initial commit suite.
  • Loading branch information
rspencer authored and Robert Spencer committed Mar 29, 2017
1 parent 36bd5f9 commit fbe5613
Show file tree
Hide file tree
Showing 19 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ android_library(
COMPONENTS_DEBUG_JAVA_TARGET,
COMPONENTS_JAVA_TARGET,
COMPONENTS_YOGAPREBUILT_TARGET,
COMPONENTS_ANDROIDSUPPORT_TARGET,
Binary file modified lib/stetho/stetho.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,5 @@ public interface ClassNames {
ClassName SYNCHRONIZED_POOL =
ClassName.bestGuess("android.support.v4.util.Pools.SynchronizedPool");

ClassName LAYOUT_SPEC = ClassName.bestGuess("com.facebook.litho.annotations.LayoutSpec");
ClassName MOUNT_SPEC = ClassName.bestGuess("com.facebook.litho.annotations.MountSpec");
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@
import com.facebook.litho.SizeSpec;
import com.facebook.infer.annotation.ThreadSafe;

import static com.facebook.litho.SizeSpec.EXACTLY;
import static com.facebook.litho.SizeSpec.UNSPECIFIED;
import static com.facebook.litho.ThreadUtils.assertDoesntHoldLock;
import static com.facebook.litho.ThreadUtils.assertMainThread;
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@
import static android.view.ViewGroup.LayoutParams.MATCH_PARENT;
import static android.view.ViewGroup.LayoutParams.WRAP_CONTENT;

import static com.facebook.litho.SizeSpec.getMode;
import static com.facebook.litho.SizeSpec.UNSPECIFIED;
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,4 @@ public static void provide(Systrace instance) {
}

public static void beginSection(String name) {
getInstance().beginSection(name);
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
import android.view.View;
import android.view.accessibility.AccessibilityEvent;

import com.facebook.litho.annotations.Event;
5 changes: 5 additions & 0 deletions src/main/java/com/facebook/components/LayoutState.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,8 @@
import android.view.View;
import android.view.accessibility.AccessibilityManager;

import com.facebook.litho.config.ComponentsConfiguration;
import com.facebook.litho.displaylist.DisplayList;
import com.facebook.litho.displaylist.DisplayListException;
import com.facebook.litho.reference.BorderColorDrawableReference;
import com.facebook.litho.reference.Reference;
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
import android.view.View;
import android.view.accessibility.AccessibilityEvent;

import com.facebook.litho.annotations.Event;
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
import android.support.v4.view.accessibility.AccessibilityNodeInfoCompat;
import android.view.View;

import com.facebook.litho.annotations.Event;
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
import android.view.View;
import android.view.accessibility.AccessibilityEvent;

import com.facebook.litho.annotations.Event;
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@
import android.view.ViewGroup;
import android.view.accessibility.AccessibilityEvent;

import com.facebook.litho.annotations.Event;
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
import android.support.v4.view.AccessibilityDelegateCompat;
import android.view.View;

import com.facebook.litho.annotations.Event;
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@
import android.support.v4.view.AccessibilityDelegateCompat;
import android.view.View;

import com.facebook.litho.annotations.Event;
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
import android.view.View;
import android.view.accessibility.AccessibilityEvent;

import com.facebook.litho.annotations.Event;
3 changes: 3 additions & 0 deletions src/test/java/com/facebook/components/ComponentHostTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@
import android.view.MotionEvent;
import android.view.View;

import com.facebook.litho.testing.testrunner.ComponentsTestRunner;
import com.facebook.litho.testing.TestDrawableComponent;
import com.facebook.litho.testing.TestViewComponent;
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,4 @@
import static android.support.v4.view.ViewCompat.IMPORTANT_FOR_ACCESSIBILITY_NO;
import static android.support.v4.view.ViewCompat.IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS;
import static android.support.v4.view.ViewCompat.IMPORTANT_FOR_ACCESSIBILITY_YES;
import static com.facebook.litho.NodeInfo.FOCUS_SET_TRUE;
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@

import android.content.Context;

import com.facebook.litho.testing.testrunner.ComponentsTestRunner;
import com.facebook.litho.testing.TestDrawableComponent;
import com.facebook.litho.testing.TestLayoutComponent;
import com.facebook.litho.testing.TestNullLayoutComponent;
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,9 @@
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;

import com.facebook.litho.Component;
import com.facebook.litho.ComponentContext;
import com.facebook.litho.ComponentTree;
import com.facebook.litho.config.ComponentsConfiguration;
import com.facebook.litho.testing.testrunner.ComponentsTestRunner;
import com.facebook.litho.testing.TestDrawableComponent;

0 comments on commit fbe5613

Please sign in to comment.