Searched defs:split (Results 1 - 25 of 44) sorted by path

12

/frameworks/base/core/java/android/hardware/
H A DCamera.java2947 for (String s : split(str)) {
3032 for (String s : split(str)) {
3248 return split(str);
3289 return split(str);
3326 return split(str);
3380 return split(str);
3417 return split(str);
3457 return split(str);
4055 private ArrayList<String> split(String str) { method in class:Camera.Parameters
/frameworks/base/core/java/android/text/
H A DTextUtils.java334 * String.split() returns [''] when the string to be split is empty. This returns []. This does
335 * not remove any empty strings from the result. For example split("a,", "," ) returns {"a", ""}.
337 * @param text the string to split
343 public static String[] split(String text, String expression) { method in class:TextUtils
347 return text.split(expression, -1);
352 * Splits a string on a pattern. String.split() returns [''] when the string to be
353 * split is empty. This returns []. This does not remove any empty strings from the result.
354 * @param text the string to split
360 public static String[] split(Strin method in class:TextUtils
[all...]
/frameworks/base/core/java/android/view/
H A DMotionEvent.java2933 public final MotionEvent split(int idBits) { method in class:MotionEvent
H A DViewGroup.java345 * When set, this ViewGroup will split MotionEvents to multiple child Views when appropriate.
1982 final boolean split = (mGroupFlags & FLAG_SPLIT_MOTION_EVENTS) != 0;
1996 || (split && actionMasked == MotionEvent.ACTION_POINTER_DOWN)
1999 final int idBitsToAssign = split ? 1 << ev.getPointerId(actionIndex)
2131 } else if (split && actionMasked == MotionEvent.ACTION_POINTER_UP) {
2413 transformedEvent = event.split(newPointerIdBits);
2440 * <p>When this option is enabled MotionEvents may be split and dispatched to different child
2445 * @param split <code>true</code> to allow MotionEvents to be split and dispatched to multiple
2450 public void setMotionEventSplittingEnabled(boolean split) { argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DAbsActionBarView.java101 * Sets whether the bar should be split right now, no questions asked.
102 * @param split true if the bar should split
104 public void setSplitToolbar(boolean split) { argument
105 mSplitActionBar = split;
109 * Sets whether the bar should split if we enter a narrow screen configuration.
110 * @param splitWhenNarrow true if the bar should check to split after a config change
H A DActionBarContextView.java120 public void setSplitToolbar(boolean split) { argument
121 if (mSplitActionBar != split) {
126 if (!split) {
133 // Allow full screen width in split mode.
148 super.setSplitToolbar(split);
247 // Allow full screen width in split mode.
H A DDecorToolbar.java57 void setSplitToolbar(boolean split); argument
H A DToolbarWidgetWrapper.java298 public void setSplitToolbar(boolean split) { argument
299 if (split) {
300 throw new UnsupportedOperationException("Cannot split an android.widget.Toolbar");
/frameworks/base/libs/hwui/
H A DGradientCache.cpp250 ChannelSplitter split = gSplitters[mUseFloatTexture]; local
259 (this->*split)(colors[0], start);
262 (this->*split)(colors[1], end);
277 (this->*split)(colors[currentPos], end);
/frameworks/base/tests/Split/src/java/com/android/example/split/
H A DActivityMain.java17 package com.android.example.split;
/frameworks/base/tools/aapt/
H A DAaptUtil.cpp24 Vector<String8> split(const String8& str, const char sep) { function in namespace:AaptUtil
H A DCommand.cpp1038 String8 splitName = AaptXml::getAttribute(tree, NULL, "split");
1040 printf(" split='%s'", ResTable::normalizeForOutput(
2243 static String8 buildApkName(const String8& original, const sp<ApkSplit>& split) { argument
2244 if (split->isBase()) {
2252 split->getDirectorySafeName().string(),
2257 split->getDirectorySafeName().string());
2336 // If we are generating a Split APK, find out which configurations to split on.
2343 fprintf(stderr, "ERROR: failed to parse split configuration '%s'\n", splitStrs[i].string());
2456 const sp<ApkSplit>& split = splits[i]; local
2457 String8 outputPath = buildApkName(String8(outputAPKFile), split);
[all...]
H A DResource.cpp907 // Generate split name if feature is present.
912 status_t err = root->addAttribute(String16(), String16("split"), splitName);
914 ALOGE("Failed to insert split name into AndroidManifest.xml");
1060 const sp<ApkSplit>& split, sp<AaptFile>& outFile, ResourceTable* table) {
1091 // Add the 'split' attribute which describes the configurations included.
1093 splitName.append(split->getPackageSafeName());
1094 manifest->addAttribute(String16(), String16("split"), String16(splitName));
1591 sp<ApkSplit>& split = splits.editItemAt(i); local
1594 err = table.flatten(bundle, split->getResourceFilter(),
1595 flattenedTable, split
1059 generateAndroidManifestForSplit(Bundle* bundle, const sp<AaptAssets>& assets, const sp<ApkSplit>& split, sp<AaptFile>& outFile, ResourceTable* table) argument
[all...]
/frameworks/base/tools/split-select/
H A DAbi.cpp21 namespace split { namespace
99 } // namespace split
H A DAbi.h22 namespace split { namespace
48 } // namespace split
H A DGrouper.cpp28 namespace split { namespace
40 const SplitDescription& split = splits[i]; local
41 if (split.config.density != 0) {
42 SplitDescription key(split);
45 appendValue(densityGroups, key, split);
46 } else if (split.abi != abi::Variant_none) {
47 SplitDescription key(split);
49 appendValue(abiGroups, key, split);
50 } else if (split.config.locale != 0) {
51 SplitDescription key(split);
[all...]
H A DGrouper.h25 namespace split { namespace
30 } // namespace split
H A DGrouper_test.cpp27 namespace split { namespace
185 } // namespace split
H A DMain.cpp35 namespace split { namespace
39 "split-select --help\n"
40 "split-select --target <config> --base <path/to/apk> [--split <path/to/apk> [...]]\n"
41 "split-select --generate --base <path/to/apk> [--split <path/to/apk> [...]]\n"
47 " --split <path/to/apk> Includes a Split APK in the selection process.\n"
260 } else if (arg == "--split") {
264 fprintf(stderr, "error: missing parameter for --split.\n");
339 fprintf(stderr, "error: invalid --split pat
[all...]
H A DRule.cpp23 namespace split { namespace
206 } // namespace split
H A DRule.h27 namespace split { namespace
77 } // namespace split
H A DRuleGenerator.cpp27 namespace split { namespace
163 } // namespace split
H A DRuleGenerator.h27 namespace split { namespace
37 } // namespace split
H A DRuleGenerator_test.cpp26 using namespace split::test;
28 namespace split { namespace
110 } // namespace split
H A DRule_test.cpp28 using namespace split::test;
30 namespace split { namespace
100 } // namespace split

Completed in 2155 milliseconds

12