Searched refs:features (Results 1 - 25 of 30) sorted by relevance

12

/frameworks/base/core/java/android/content/pm/
H A DFeatureGroupInfo.java22 * A set of features that can be requested by an application. This corresponds
29 * The list of features that are required by this group.
33 public FeatureInfo[] features; field in class:FeatureGroupInfo
39 features = other.features;
49 dest.writeTypedArray(features, flags);
56 group.features = source.createTypedArray(FeatureInfo.CREATOR);
H A DPackageParser.java945 * of doing, so many valid features of a base APK have been carefully
1334 * When adding new features, carefully consider if they should also be
1535 ArrayList<FeatureInfo> features = null;
1549 features = ArrayUtils.add(features, featureInfo);
1558 if (features != null) {
1559 group.features = new FeatureInfo[features.size()];
1560 group.features = features
[all...]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DFeatureAssembly.java54 public boolean registerFeaturePair(String[] features) { argument
55 if (features.length != 2 ||
56 !mPossibleFeatures.contains(features[0]) ||
57 !mPossibleFeatures.contains(features[1])) {
60 mUseFeatures.add(features[0]);
61 mUseFeatures.add(features[1]);
62 mUsePairedFeatures.add(Pair.create(features[0], features[1]));
77 Map<String, String> features = mAggregatorManager.getDataMap(f);
80 if (features
[all...]
H A DTimeStatsAggregator.java80 HashMap<String, String> features =
82 if (features.containsKey(featureName)) {
83 feature.put(featureName, features.get(featureName));
135 HashMap<String, String> features = new HashMap<String, String>();
143 features.put(PERIOD_OF_DAY, DAYTIME);
145 features.put(PERIOD_OF_DAY, NIGHTTIME);
147 features.put(TIME_OF_DAY, mFakeTimeOfDay);
149 features.put(PERIOD_OF_DAY, getPeriodOfDay(time.hour));
150 features.put(TIME_OF_DAY, getTimeOfDay(time.hour));
154 features
[all...]
H A DPredictor.java84 * features such as time and location to create sampleFeatures. The sampleFeatures is then
118 Map<String, String> features = getSampleFeatures();
119 List<Map.Entry<String, Double> > topApps = mPredictor.findTopClasses(features, topK);
143 String[] features = value.split(FEATURE_SEPARATOR);
144 result = mFeatureAssembly.registerFeaturePair(features);
/frameworks/compile/libbcc/lib/Support/
H A DCompilerConfig.cpp103 llvm::StringMap<bool> features; local
104 llvm::sys::getHostCPUFeatures(features);
127 if (features.count("hwdiv-arm") && features["hwdiv-arm"])
130 if (features.count("hwdiv") && features["hwdiv"])
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DExtendedBitmapDrawable.java93 if ((mOpts.features & ExtendedOptions.FEATURE_STATE_CHANGES) != 0) {
566 * This class contains the features a client can specify, and arguments to those features.
665 * Non-changeable bit field describing the features you want the
671 * opts.features = FEATURE_ORDERED_DISPLAY | FEATURE_PARALLAX | FEATURE_STATE_CHANGES;
674 public final int features; field in class:ExtendedBitmapDrawable.ExtendedOptions
746 public ExtendedOptions(final int features) { argument
747 this(features, null, null);
753 public ExtendedOptions(final int features, final Drawable placeholder, argument
755 this.features
[all...]
/frameworks/base/core/java/android/accounts/
H A DIAccountAuthenticator.aidl64 * specified features
67 in String[] features);
H A DAbstractAccountAuthenticator.java119 String authTokenType, String[] features, Bundle options)
124 + ", features " + (features == null ? "[]" : Arrays.toString(features)));
130 accountType, authTokenType, features, options);
252 Account account, String[] features) throws RemoteException {
256 new AccountAuthenticatorResponse(response), account, features);
375 * @param requiredFeatures a String array of authenticator-specific features that the added
465 * Checks if the account supports all the specified authenticator specific features.
468 * @param features a
118 addAccount(IAccountAuthenticatorResponse response, String accountType, String authTokenType, String[] features, Bundle options) argument
251 hasFeatures(IAccountAuthenticatorResponse response, Account account, String[] features) argument
481 hasFeatures(AccountAuthenticatorResponse response, Account account, String[] features) argument
[all...]
H A DIAccountManager.aidl37 void hasFeatures(in IAccountManagerResponse response, in Account account, in String[] features);
38 void getAccountsByFeatures(in IAccountManagerResponse response, String accountType, in String[] features);
H A DAccountManager.java83 * identifies the authenticator. Account <em>features</em> are used to
85 * type and features are authenticator-specific strings, and must be known by
550 * Finds out whether a particular account has all the specified features.
551 * Account features are authenticator-specific string tokens identifying
552 * boolean account properties. For example, features are used to tell
564 * @param features An array of the account features to check
570 * true if the account exists and has all of the specified features.
573 final String[] features,
576 if (features
572 hasFeatures(final Account account, final String[] features, AccountManagerCallback<Boolean> callback, Handler handler) argument
617 getAccountsByTypeAndFeatures( final String type, final String[] features, AccountManagerCallback<Account[]> callback, Handler handler) argument
2029 GetAuthTokenByTypeAndFeaturesTask(final String accountType, final String authTokenType, final String[] features, Activity activityForPrompting, final Bundle addAccountOptions, final Bundle loginOptions, AccountManagerCallback<Bundle> callback, Handler handler) argument
2224 getAuthTokenByFeatures( final String accountType, final String authTokenType, final String[] features, final Activity activity, final Bundle addAccountOptions, final Bundle getAuthTokenOptions, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
[all...]
/frameworks/native/opengl/tools/glgen2/registry/
H A Dreg.py153 # features are unversioned and assigned version number 0.
173 # Core API features (those defined with a <feature> tag)
197 # regSortFeatures - default sort procedure for features.
338 # and tag generated features as having been done.
583 # which may be needed by other features later on.
655 # emitFeatures - True to actually emit features for a version / extension,
835 # required - boolean (to tag features as required or not)
854 # features - Element for <require> or <remove> tag
855 # required - boolean (to tag features as required or not)
856 def markRequired(self, features, require
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DVoice.java29 * Characteristics and features of a Text-To-Speech Voice. Each TTS Engine can expose
30 * multiple voices for each locale, with different set of features.
75 Set<String> features) {
81 this.mFeatures = features;
168 * Returns the set of features it supports for a given voice.
193 .append(", features: ").append(mFeatures.toString())
70 Voice(String name, Locale locale, int quality, int latency, boolean requiresNetworkConnection, Set<String> features) argument
H A DTextToSpeechService.java83 * features set. In order to fully take advantage of voices, an engine should implement
242 * Queries the service for a set of features supported for a given language.
249 * @return A list of features supported for the given language.
296 Set<String> features = onGetFeaturesForLanguage(locale.getISO3Language(),
299 Voice.LATENCY_NORMAL, false, features));
1231 Set<String> features = onGetFeaturesForLanguage(lang, country, variant);
1233 if (features != null) {
1234 featuresArray = new String[features.size()];
1235 features.toArray(featuresArray);
H A DTextToSpeech.java220 * engine behaviour. The engine can be queried for the set of features it supports
348 * languages or/and their features.
1266 * Queries the engine for the set of features it supports for a given locale.
1277 * @param locale The locale to query features for.
1279 * @deprecated As of API level 21, please use voices. In order to query features of the voice,
1281 * {@link Voice#getFeatures()} to retrieve the set of features.
1288 String[] features = null;
1290 features = service.getFeaturesForLanguage(
1298 if (features != null) {
1300 Collections.addAll(featureSet, features);
[all...]
/frameworks/base/core/java/android/provider/
H A DCallLog.java164 * Bit-mask describing features of the call (e.g. video).
168 public static final String FEATURES = "features";
377 * @param features features of the call (e.g. Video).
388 int presentation, int callType, int features, PhoneAccountHandle accountHandle,
390 return addCall(ci, context, number, presentation, callType, features, accountHandle,
406 * @param features features of the call (e.g. Video).
420 int presentation, int callType, int features, PhoneAccountHandle accountHandle,
458 values.put(FEATURES, features);
387 addCall(CallerInfo ci, Context context, String number, int presentation, int callType, int features, PhoneAccountHandle accountHandle, long start, int duration, Long dataUsage) argument
419 addCall(CallerInfo ci, Context context, String number, int presentation, int callType, int features, PhoneAccountHandle accountHandle, long start, int duration, Long dataUsage, boolean addForAllUsers) argument
[all...]
/frameworks/compile/mclinker/tools/mcld/lib/
H A DTripleOptions.cpp155 // Package up features to be passed to target/subtarget
158 llvm::SubtargetFeatures features; local
160 features.AddFeature(m_MAttrs[i]);
161 feature_str = features.getString();
/frameworks/ml/bordeaux/learning/predictor_histogram/java/android/bordeaux/learning/
H A DHistogramPredictor.java45 // 2. Different features could have different weights on prediction scores.
202 public List<Map.Entry<String, Double> > findTopClasses(Map<String, String> features, int topK) { argument
212 if (features.containsKey(featureName)) {
213 String featureValue = features.get(featureName);
272 * Add a new observation of given sample id and features to the histograms
274 public void addSample(String sampleId, Map<String, String> features) { argument
275 for (Map.Entry<String, String> entry : features.entrySet()) {
/frameworks/compile/slang/
H A Dslang.cpp174 std::vector<std::string> features; local
181 features.push_back("+long64");
182 mTargetOpts->FeaturesAsWritten = features;
/frameworks/minikin/libs/minikin/
H A DLayout.cpp631 static void addFeatures(const string &str, vector<hb_feature_t>* features) { argument
643 /* We do not allow setting features on ranges. As such, reject any
647 features->push_back(feature);
661 vector<hb_feature_t> features; local
662 // Disable default-on non-required ligature features if letter-spacing
671 features.push_back(no_liga);
672 features.push_back(no_clig);
674 addFeatures(ctx->paint.fontFeatureSettings, &features);
725 hb_shape(hbFont, buffer, features.empty() ? NULL : &features[
[all...]
/frameworks/base/tools/aapt/
H A DCommand.cpp488 * Explicit features defined in the group
490 KeyedVector<String8, bool> features; member in struct:FeatureGroup
517 const size_t numFeatures = grp.features.size();
519 const bool required = grp.features[i];
521 const String8& featureName = grp.features.keyAt(i);
530 if (grp.features.indexOfKey(impliedFeature.name) >= 0) {
557 grp->features.add(String8("android.hardware.camera"), true);
560 grp->features.add(String8("android.hardware.location"), true);
562 grp->features.add(String8("android.hardware.touchscreen"), true);
564 grp->features
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindow.java304 final int features = getFeatures();
305 final int newFeatures = features | (1 << featureId);
311 "You cannot combine custom titles with other title features");
313 if ((features & (1 << FEATURE_NO_TITLE)) != 0 && featureId == FEATURE_ACTION_BAR) {
316 if ((features & (1 << FEATURE_ACTION_BAR)) != 0 && featureId == FEATURE_NO_TITLE) {
321 if ((features & (1 << FEATURE_ACTION_BAR)) != 0 && featureId == FEATURE_SWIPE_TO_DISMISS) {
325 if ((features & (1 << FEATURE_SWIPE_TO_DISMISS)) != 0 && featureId == FEATURE_ACTION_BAR) {
1435 // XXX Should do more management (as with drawable features) to
1524 final int features = getLocalFeatures();
1526 if ((features
[all...]
/frameworks/base/core/java/android/view/
H A DWindow.java66 /** Flag for custom title. You cannot combine this feature with other title features. */
162 * The default features enabled.
940 * Enable extended screen features. This must be called before
942 * is before setContentView(). If not called, no extended features
944 * You canot use other title features with {@link #FEATURE_CUSTOM_TITLE}.
946 * @param featureId The desired features, defined as constants by Window.
947 * @return The features that are now set.
957 * @hide Used internally to help resolve conflicting features.
1023 * features that have been requested with {@link #requestFeature(int)},
1284 * Return the feature bits that are enabled. This is the set of features
[all...]
/frameworks/base/test-runner/src/android/test/
H A DIsolatedContext.java138 final String type, final String[] features,
137 getAccountsByTypeAndFeatures( final String type, final String[] features, AccountManagerCallback<Account[]> callback, Handler handler) argument
/frameworks/base/services/core/java/com/android/server/accounts/
H A DAccountManagerService.java860 Account account, String[] features) {
864 + ", features " + stringArrayToString(features)
870 if (features == null) throw new IllegalArgumentException("features is null");
875 new TestFeaturesSession(accounts, response, account, features).bind();
886 Account account, String[] features) {
889 mFeatures = features;
2072 IAccountManagerResponse response, String type, String[] features, int callingUid) {
2076 mFeatures = features;
859 hasFeatures(IAccountManagerResponse response, Account account, String[] features) argument
885 TestFeaturesSession(UserAccounts accounts, IAccountManagerResponse response, Account account, String[] features) argument
2071 GetAccountsByTypeAndFeatureSession(UserAccounts accounts, IAccountManagerResponse response, String type, String[] features, int callingUid) argument
2374 getAccountsByFeatures(IAccountManagerResponse response, String type, String[] features) argument
[all...]

Completed in 8975 milliseconds

12