Commit Graph

11 Commits

Author SHA1 Message Date
Elliott Hughes
68279ecebc Add missing includes.
Change-Id: I0abe45677d9a5f43aa1db754102701093ff19204
2015-01-29 22:45:19 -08:00
Ben Cheng
f9e0f5b7cf Add "Force a Double Free" button to stress test the tools.
Change-Id: I52bf2f42c9a6040ac345248473d7184b7266f511
2013-09-16 12:12:51 -07:00
Ben Cheng
73644dd2c8 Add a new example/unittest for GDB's reverse debugging feature.
Change-Id: Ic55343957cd35dc41d2dcf9f436d1940cd454084
2013-06-24 14:48:19 -07:00
Ben Cheng
50172ca00d New tutorial app for DDMS native heap tracker.
Change-Id: Ia8d35bc1ee44c6aaffe6fa10c6339edfa053aba4
2013-05-29 15:03:12 -07:00
Scott Main
6409710828 update notepad tutorial to change activity title in NoteEdit class
Change-Id: I58e8919dab1b82696d11e5e578419f30b47b0737
2010-06-17 10:04:10 -07:00
Romain Guy
74192eafec Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
2010-01-08 15:11:18 -08:00
Tom O'Neill
1c66b17d88 Match the tutorial documentation more closely
Just undoing some white space changes that my previous CL introduced, in
order to keep the formatting the same between the tutorial documentation
and the actual code.
2009-12-17 11:20:00 -08:00
Tom O'Neill
77560fc704 Finish adding Makefiles for the Notepad tutorial.
Add the missing makefiles for the non-solution versions of the tutorial
code.  Required providing missing imports in Notepadv2.  Also standardized
white spaces using Source > Correct Indentation in Eclipse and a few
manual changes.  This was done to minimize differences such as:

diff -r Notepadv1 Notepadv1Solution
diff -r Notepadv1Solution/src/com/android/demo/notepad1/ Notepadv2/src/com/android/demo/notepad2/

Change-Id: Ie8b10efd61f2200b3c741ea500a6924710ab54ed
2009-12-16 09:54:24 -08:00
Tom O'Neill
7c21d1cd40 Fix Notepadv3Solution orientation changes during NoteEdit
The current NoteEdit.java in Notepadv3Solution crashes on NPE when the
screen orientation changes.  This happens because a null Long is
auto-unboxed to a long when used as an input to
Bundle.putLong(String, long).  The easiest solution is to use
Bundle.putSerializable() instead.

In addition duplicate notepad entries could result because mRowId was not
necessarily defined when onSaveInstanceState(Bundle) was called.  The
solution to that is to call saveState() in that method.

Fixes these buganizer bugs:

Change-Id: Ice325f3b089867e4716deb48aefe8ec03f30ad55
http://b/issue?id=2266994
http://b/issue?id=2266962
2009-12-11 16:03:52 -08:00
Tom O'Neill
f2519b444f Add Android.mk files for the Notepad tutorial's solutions
Now the tutorial is built as part of the standard build, but not installed
as part of the system image.  Required localizing an android:text field
that was already localized in Notepadv1 but for some odd reason was no
longer localized in v2 and v3.

Change-Id: I0e1b41a4efa454a503b788b0698593136662a014
2009-12-11 11:25:36 -08:00
Tom O'Neill
94b6d06899 Extract and check in NotepadCodeLab.zip for change tracking
The 3-part Notepad tutorial is currently only available in the zip archive
frameworks/base/docs/html/guide/tutorials/notepad/codelab/NotepadCodeLab.zip.
This CL adds the uncompressed code to the repository so that there is a
paper trail of future changes to the code.
2009-12-10 11:02:57 -08:00