History log of /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/MockView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
67ac03043c86bf8b1ee77a5b9911940c0961b727 21-Feb-2017 Diego Perez <diegoperez@google.com> Set MockView.setGravity to public

The method is used from Studio so it needs to be public.

Test: N/A
Change-Id: I603de9ae0c8b719f5173eff152cc2558f734017e
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/MockView.java
62253b6c60b8176edf6af2f0c342fd0668e70dc2 03-Feb-2017 Diego Perez <diegoperez@google.com> A bit of warning cleanup

Test: Covered by existing tests
Change-Id: I3f27540efdb47e3c1db02f85c67c81e36d159a79
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/MockView.java
d30c141a2dee881fd83e1415a50161def1acf227 21-Oct-2015 Deepanshu Gupta <deepanshu@google.com> Improve error reporting on Exceptions in fw views.

When there's an exception during the inflation of a framework view (for
example invalid attributes), report the exception correctly. The earlier
behaviour assumed the exception to be a ClassNotFoundException and tried
to load it from the user's project. This is not longer the case.

Also, update the MockView class to a FrameLayout with a single TextView.
This means that the MockView is a ViewGroup and will not choke when
someone attempts to add a View to it (although, the view will be
silently dropped).

Change-Id: Ice003817ceb627ebfbbbb245ab6be10f9141e728
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/MockView.java
9bf4b6f8c0a0d28402894b7a9660e8aced47545b 30-Jul-2015 Deepanshu Gupta <deepanshu@google.com> Add MockView constructor used by LayoutInflater.

Change-Id: I0aede28866c1b87fb66c8a416c5026a9b2cb04fe
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/MockView.java
367a0ce902edbdbea7d63aedd9c98820c00909ae 21-Jun-2014 Deepanshu Gupta <deepanshu@google.com> Fix SurfaceView in LayoutLib.

Added missing constructor.

Change-Id: I3dc8eb510bf4210568d4bb71ad551446d6835ae2
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/MockView.java
282e181b58cf72b6ca770dc7ca5f91f135444502 24-Jan-2014 Adam Lesinski <adamlesinski@google.com> Revert "Move frameworks/base/tools/ to frameworks/tools/"

This reverts commit 9f6a119c8aa276432ece4fe2118bd8a3c9b1067e.
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/MockView.java
9f6a119c8aa276432ece4fe2118bd8a3c9b1067e 28-Aug-2013 Mike Lockwood <lockwood@google.com> Move frameworks/base/tools/ to frameworks/tools/

Change-Id: I3ffafdab27cc4aca256c3a5806b630795b75d5c8
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/MockView.java
05b7b69c6c5d418e18db644feed1ec2ca83291cc 17-May-2011 Xavier Ducrohet <xav@android.com> LayoutLib: support the new baseline/margin query API.

Change-Id: I856489df655960820b8eaa4c6179515a5c069b00
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/MockView.java
ee592fe4e60e940599fc1ccf43a98eb80961feb8 13-Jan-2011 Xavier Ducrohet <xav@android.com> LayoutLib: move MockView back into its original package.

This is used by Eclipse when the custom view is not found.
It couldn't find the view in the new package either.

We should probably move this logic of creating a mock view
into the layout library instead.

Change-Id: Ifa1a717cddf7004a7719bb4d0798cd53b43273ea
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/MockView.java
c2e9651bf386a1f7bf7fc706cf5424950570470c 10-Nov-2010 Xavier Ducrohet <xav@android.com> Layoutlib: New bridge implementation using the new API 5.

Since the new API prepare for stateful layoutlib, major
reorganization of the code.

New "android" sub-package for all extended android classes.
Also moved BridgeInflater in here so that all extended classes
are in this package. Only delegates and classes replacing
renamed classes are in their original android.* packages.
Also created full file for the empty implementations of
IWindow and IWindowSession.
New "impl" for the dirty work implementation.
Main package contains the basic implementation of the API.

Most of the code that was in Bridge is now in .impl.LayoutSceneImpl,
with the main init/inflate/render code split into the contrustrutor,
inflate() and render().

Change-Id: Ie15b15e5a1b2388cd6ef82e518345b1fc02ec981
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/MockView.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/MockView.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/MockView.java
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/MockView.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/MockView.java