Making some view properties exported.

These will be visible in hierarchy viewer

Change-Id: I940724a7f61d67b8502d77be203a94875bc92668
This commit is contained in:
Sunny Goyal
2016-02-09 11:28:52 -08:00
parent 4ed751e52b
commit 4ffec48dec
13 changed files with 51 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.view.ViewDebug;
import android.view.ViewGroup;
import android.widget.RemoteViews;
@@ -43,11 +44,13 @@ public class LauncherAppWidgetHostView extends AppWidgetHostView implements Touc
private CheckLongPressHelper mLongPressHelper;
private StylusEventHelper mStylusEventHelper;
private Context mContext;
@ViewDebug.ExportedProperty(category = "launcher")
private int mPreviousOrientation;
private DragLayer mDragLayer;
private float mSlop;
@ViewDebug.ExportedProperty(category = "launcher")
private boolean mChildrenFocused;
public LauncherAppWidgetHostView(Context context) {