Home
last modified time | relevance | path

Searched refs:keep (Results 1 – 25 of 67) sorted by relevance

123

/frameworks/base/core/java/android/text/
DInputFilter.java84 int keep = mMax - (dest.length() - (dend - dstart)); in filter() local
86 if (keep <= 0) { in filter()
88 } else if (keep >= end - start) { in filter()
91 return source.subSequence(start, start + keep); in filter()
/frameworks/base/packages/TtsService/
Dproguard.flags1 -keep class android.tts.SynthProxy {
3 # keep all declarations for native methods
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
DAsmAnalyzerTest.java185 TreeMap<String, ClassReader> keep = new TreeMap<String, ClassReader>(); in testDependencyVisitor() local
190 ClassReader cr = mAa.findClass("mock_android.widget.TableLayout", zipClasses, keep); in testDependencyVisitor()
191 DependencyVisitor visitor = mAa.getVisitor(zipClasses, keep, new_keep, in_deps, out_deps); in testDependencyVisitor()
/frameworks/base/core/java/android/os/
DMessageQueue.java162 boolean keep = false; in next()
164 keep = idler.queueIdle(); in next()
169 if (!keep) { in next()
/frameworks/base/docs/html/resources/articles/
Davoiding-memory-leaks.jd10 applications Android can keep in memory, the faster it will be for the
38 ("leak" meaning you keep a reference to it thus preventing the GC from
46 that you don't want to load on every rotation. The easiest way to keep
47 it around and not having to reload it on every rotation is to keep in a
99 <li>Do not keep long-lived references to a context-activity (a reference
Dlayout-tricks-stubs.jd15 to keep in a view hierarchy. A <code>ViewStub</code> can be best described as a
75 <em>removed</em> from the view hierarchy. As such, it is unnecessary to keep a
Dtouch-mode.jd125 example, instead of trying to make <code>ListView</code> always keep its
138 <ul><li>Do not try to keep the focus or selection in touch mode</li></ul>
Dfuture-proofing.jd65 For more information on this, keep on eye on this blog as we'll be
Dwikinotes-linkify.jd96 added. You could define more Linkify actions and keep applying them to
Dtimed-ui-updates.jd146 to keep such tasks small and light to avoid slowing down the user
Dfaster-screen-orientation-change.jd127 data that is expensive to load. Otherwise, keep it simple and let Android
/frameworks/base/tools/layoutlib/create/
DREADME.txt62 with their dependencies and then only keep the ones we want.
64 To do that, the analyzer is created with a list of base classes to keep -- everything
68 The analyzer is also given a list of class names to keep in the output.
105 not transformed and keep referencing the original name.
168 Calls from other classes are not modified -- they keep referencing the original
/frameworks/base/docs/html/guide/topics/processes/
Dprocess-lifecycle.jd62 reached a memory paging state, so this action is required in order to keep the user
72 required to keep all foreground processes running.
80 network data upload or download), so the system will always keep such processes
97 components. The only reason to keep such a process around is as a cache to
/frameworks/base/tools/aapt/
DResource.cpp1873 addProguardKeepRule(ProguardKeepSet* keep, const String8& inClassName, in addProguardKeepRule() argument
1903 keep->add(rule, location); in addProguardKeepRule()
1907 writeProguardForAndroidManifest(ProguardKeepSet* keep, const sp<AaptAssets>& assets) in writeProguardForAndroidManifest() argument
1971 addProguardKeepRule(keep, agent, pkg.string(), in writeProguardForAndroidManifest()
1991 addProguardKeepRule(keep, name, pkg.string(), in writeProguardForAndroidManifest()
2009 writeProguardForXml(ProguardKeepSet* keep, const sp<AaptFile>& layoutFile, in writeProguardForXml() argument
2049 addProguardKeepRule(keep, tag, NULL, in writeProguardForXml()
2062 addProguardKeepRule(keep, in writeProguardForXml()
2079 writeProguardForLayouts(ProguardKeepSet* keep, const sp<AaptAssets>& assets) in writeProguardForLayouts() argument
2116 err = writeProguardForXml(keep, files.valueAt(j), startTag, tagAttrPairs); in writeProguardForLayouts()
[all …]
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DAsmGenerator.java175 public void setKeep(Map<String, ClassReader> keep) {
176 mKeep = keep;
/frameworks/base/docs/html/guide/market/billing/
Dbilling_best_practices.jd44 …ontent feed. Delivering content through a real-time service allows you to keep your content fresh.…
60 <p><code>-keep class com.android.vending.billing.**</code></p>
78 <p>To keep your public key safe from malicious users and hackers, do not embed it in any code as a …
/frameworks/base/docs/html/guide/developing/tools/
Dproguard.jd134 <p>You can fix errors when ProGuard strips away your code by adding a <code>-keep</code> line in
137 -keep public class &lt;MyClass&gt;
140 <p>There are many options and considerations when using the <code>-keep</code> option, so it is
/frameworks/base/services/java/com/android/server/
DAppWidgetService.java1174 HashSet<String> keep = new HashSet<String>(); in updateProvidersForPackageLocked() local
1193 keep.add(ai.name); in updateProvidersForPackageLocked()
1198 keep.add(ai.name); in updateProvidersForPackageLocked()
1238 && !keep.contains(p.info.provider.getClassName())) { in updateProvidersForPackageLocked()
/frameworks/base/tools/localize/
DXLIFFFile.cpp234 bool keep = func(file.filename, tu, cookie); in Filter() local
235 if (!keep) { in Filter()
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dicon_design.jd129 it's important keep in mind that your application may be installed on any of
348 of the same icon. To help keep the multiple copies of files safe and easier to
434 <p>To help keep each image asset as small as possible, make sure to remove any
/frameworks/base/docs/html/guide/basics/
Dbuilding-blocks.jd58 probably still intends for her music to keep playing. A Service keeps the
/frameworks/base/docs/html/guide/tutorials/views/
Dhello-tabwidget.jd52 …The FrameLayout is where we keep the content that will change with each tab. Each child in the Fra…
/frameworks/base/docs/html/guide/practices/
Dcompatibility.jd94 “browser detection”, because it’s very difficult to keep up as new browsers and
98 it’s impossible to keep up with all the Android devices being released, you
/frameworks/base/docs/html/guide/practices/design/
Dseamlessness.jd69 <p>Always keep in mind that Android is a mobile platform. It may seem obvious to
224 When building your applications, keep that in mind. Don't make assumptions
/frameworks/base/docs/html/resources/faq/
Dsecurity.jd54 users are at risk. In return, we will make sure to keep the researcher informed

123