Searched defs:entity (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/core/java/android/view/textclassifier/
H A DEntityConfidence.java32 * Helper object for setting and getting entity scores for classified text.
34 * @param <T> the entity type.
61 * Sets an entity type for the classified text and assigns a confidence score.
64 * 0 implies the entity does not exist for the classified text.
90 * Returns the confidence score for the specified entity. The value ranges from
91 * 0 (low confidence) to 1 (high confidence). 0 indicates that the entity was not found for the
95 public float getConfidenceScore(T entity) { argument
96 if (mEntityConfidence.containsKey(entity)) {
97 return mEntityConfidence.get(entity);
H A DTextSelection.java74 * Returns the entity at the specified index. Entities are ordered from high confidence
86 * Returns the confidence score for the specified entity. The value ranges from
87 * 0 (low confidence) to 1 (high confidence). 0 indicates that the entity was not found for the
91 public float getConfidenceScore(@EntityType String entity) { argument
92 return mEntityConfidence.getConfidenceScore(entity);
145 * Sets an entity type for the classified text and assigns a confidence score.
148 * 0 implies the entity does not exist for the classified text.
H A DTextClassification.java90 * Returns the entity at the specified index. Entities are ordered from high confidence
102 * Returns the confidence score for the specified entity. The value ranges from
103 * 0 (low confidence) to 1 (high confidence). 0 indicates that the entity was not found for the
107 public float getConfidenceScore(@EntityType String entity) { argument
108 return mEntityConfidence.getConfidenceScore(entity);
205 * Sets an entity type for the classification result and assigns a confidence score.
208 * 0 implies the entity does not exist for the classified text.
/frameworks/support/room/common/src/main/java/android/arch/persistence/room/
H A DForeignKey.java29 * index in the parent entity that covers the referenced columns (Room will verify this at compile
53 Class entity(); method in interface:ForeignKey
79 * @return The action to take when the referenced entity is deleted from the database.
88 * @return The action to take when the referenced entity is updated in the database.
153 * entity that was associated with the deleted parent row is also deleted. For an
/frameworks/support/room/runtime/src/main/java/android/arch/persistence/room/
H A DEntityDeletionOrUpdateAdapter.java23 * Implementations of this class knows how to delete or update a particular entity.
27 * @param <T> The type parameter of the entity to be deleted
34 * Creates a DeletionOrUpdateAdapter that can delete or update the entity type T on the given
51 * Binds the entity into the given statement.
55 * @param entity The entity of type T.
57 protected abstract void bind(SupportSQLiteStatement statement, T entity); argument
62 * @param entity The entity to delete or update
65 public final int handle(T entity) { argument
[all...]
H A DEntityInsertionAdapter.java27 * Implementations of this class knows how to insert a particular entity.
31 * @param <T> The type parameter of the entity to be inserted
38 * Creates an InsertionAdapter that can insert the entity type T into the given database.
47 * Binds the entity into the given statement.
51 * @param entity The entity of type T.
53 protected abstract void bind(SupportSQLiteStatement statement, T entity); argument
56 * Inserts the entity into the database.
58 * @param entity The entity t
60 insert(T entity) argument
110 insertAndReturnId(T entity) argument
[all...]
/frameworks/support/room/compiler/src/test/data/daoWriter/input/
H A DDeletionDao.java38 int multiPKey(MultiPKeyEntity entity); argument
H A DUpdateDao.java38 int multiPKey(MultiPKeyEntity entity); argument
/frameworks/base/core/java/android/app/backup/
H A DBackupDataInput.java31 * onBackup()} implementation. An entity is composed of a descriptive header plus a
34 * The agent must consume every entity in the data stream, otherwise the
51 * data.readEntityData(buffer, 0, dataSize); // reads the entire entity at once
95 * Extract the next entity header from the restore stream. After this method
97 * be used to inspect the entity that is now available for processing.
99 * @return <code>true</code> when there is an entity ready for consumption from the
121 * Report the key associated with the current entity in the restore stream
122 * @return the current entity's key string
134 * Report the size in bytes of the data associated with the current entity in the
152 * must be read in a single call. Once all of the raw data for the current entity
195 readNextHeader_native(long mBackupReader, EntityHeader entity) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_backup_BackupDataInput.cpp52 readNextHeader_native(JNIEnv* env, jobject clazz, jlong r, jobject entity) argument
78 // TODO: Set the fields in the entity object
80 env->SetObjectField(entity, s_keyField, keyStr);
81 env->SetIntField(entity, s_dataSizeField, dataSize);
/frameworks/support/room/compiler/src/test/data/daoWriter/output/
H A DDeletionDao.java163 public int multiPKey(MultiPKeyEntity entity) { argument
167 _total +=__deletionAdapterOfMultiPKeyEntity.handle(entity);
H A DUpdateDao.java185 public int multiPKey(MultiPKeyEntity entity) { argument
189 _total +=__updateAdapterOfMultiPKeyEntity.handle(entity);
/frameworks/base/libs/androidfw/include/androidfw/
H A DBackupHelpers.h79 * entity-structured. If the implementation here is changed, either this
131 entity_header_v1 entity; member in union:android::BackupDataReader::__anon1122
/frameworks/support/room/testing/src/main/java/android/arch/persistence/room/testing/
H A DMigrationTestHelper.java305 private static Map<String, TableInfo.Column> toColumnMap(EntityBundle entity) { argument
307 for (FieldBundle bundle : entity.getFields()) {
308 TableInfo.Column column = toColumn(entity, bundle);
314 private static TableInfo.Column toColumn(EntityBundle entity, FieldBundle field) { argument
316 field.isNonNull(), findPrimaryKeyPosition(entity, field));
319 private static int findPrimaryKeyPosition(EntityBundle entity, FieldBundle field) { argument
320 List<String> columnNames = entity.getPrimaryKey().getColumnNames();
348 for (EntityBundle entity : tables.values()) {
349 final TableInfo expected = toTableInfo(entity);
350 final TableInfo found = TableInfo.read(db, entity
[all...]
/frameworks/opt/setupwizard/tools/docs/
H A Ddoclava.jar ... .SAXException char[] buff int offset int length public void entity (char[], int, int) throws org.xml.sax. ...
H A Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ...

Completed in 611 milliseconds