/frameworks/base/core/java/android/hardware/location/ |
H A D | ActivityRecognitionHardware.java | 64 public int type; field in class:ActivityRecognitionHardware.Event 173 new ActivityRecognitionEvent(activityName, event.type, event.timestamp);
|
/frameworks/base/core/java/android/net/ |
H A D | RouteInfo.java | 76 * The type of this route; one of the RTN_xxx constants above. 102 public RouteInfo(IpPrefix destination, InetAddress gateway, String iface, int type) { argument 103 switch (type) { 119 throw new IllegalArgumentException("Unknown route type " + type); 156 mType = type; 237 public RouteInfo(IpPrefix destination, int type) { argument 238 this(destination, null, null, type); 305 * Retrieves the type of this route. 307 * @return The type o [all...] |
/frameworks/base/core/java/android/net/metrics/ |
H A D | DhcpErrorEvent.java | 58 // byte 0: error type 106 private static int makeErrorCode(int type, int subtype) { argument 107 return (type << 24) | ((0xFF & subtype) << 16);
|
/frameworks/base/core/java/android/view/ |
H A D | ActionMode.java | 179 * Set a type for this action mode. This will affect how the system renders the action mode if 182 * @param type One of {@link #TYPE_PRIMARY} or {@link #TYPE_FLOATING}. 184 public void setType(int type) { argument 185 mType = type; 189 * Returns the type for this action mode. 343 * required for ActionModes with dynamic positioning such as the ones with type
|
H A D | WindowManagerInternal.java | 229 * Adds a window token for a given window type. 232 * @param type The window type. 234 public abstract void addWindowToken(android.os.IBinder token, int type); argument
|
/frameworks/base/core/java/android/view/animation/ |
H A D | ScaleAnimation.java | 74 if (tv.type == TypedValue.TYPE_FLOAT) { 78 mFromXType = tv.type; 86 if (tv.type == TypedValue.TYPE_FLOAT) { 90 mToXType = tv.type; 99 if (tv.type == TypedValue.TYPE_FLOAT) { 103 mFromYType = tv.type; 111 if (tv.type == TypedValue.TYPE_FLOAT) { 115 mToYType = tv.type; 122 mPivotXType = d.type; 127 mPivotYType = d.type; 260 resolveScale(float scale, int type, int data, int size, int psize) argument [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | MediaRouteChooserDialog.java | 260 public void onRouteSelected(MediaRouter router, int type, RouteInfo info) { argument
|
H A D | MediaRouteControllerDialog.java | 291 public void onRouteUnselected(MediaRouter router, int type, RouteInfo info) { argument
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | TypedProperties.java | 46 * - type names: [a-zS] 104 * Converts a string to an internal type constant. 106 * @param typeName the type name to convert 107 * @return the type constant that corresponds to {@code typeName}, 108 * or {@code TYPE_ERROR} if the type is unknown 155 // Read the next token, which is either the type or EOF. 161 throw new ParseException(st, "type name"); 163 final int type = interpretType(st.sval); 164 if (type == TYPE_ERROR) { 165 throw new ParseException(st, "valid type nam 233 parseValue(StreamTokenizer st, final int type) argument [all...] |
/frameworks/base/core/java/com/android/internal/view/ |
H A D | BaseSurfaceHolder.java | 137 public void setType(int type) { argument 138 switch (type) { 142 type = SURFACE_TYPE_NORMAL; 145 switch (type) { 148 if (mRequestedType != type) { 149 mRequestedType = type; 167 "Surface type is SURFACE_TYPE_PUSH_BUFFERS");
|
/frameworks/base/core/jni/android/graphics/ |
H A D | CreateJavaOutputStreamAdaptor.cpp | 262 const char methodname[], const char type[]) { 263 jmethodID id = env->GetMethodID(clazz, methodname, type); 261 getMethodIDCheck(JNIEnv* env, jclass clazz, const char methodname[], const char type[]) argument
|
/frameworks/base/core/jni/ |
H A D | android_database_CursorWindow.cpp | 58 static void throwUnknownTypeException(JNIEnv * env, jint type) { argument 60 msg.appendFormat("UNKNOWN type %d", type); 158 LOG_WINDOW("returning column type affinity for %d,%d from %p", row, column, window); 181 int32_t type = window->getFieldSlotType(fieldSlot); local 182 if (type == CursorWindow::FIELD_TYPE_BLOB || type == CursorWindow::FIELD_TYPE_STRING) { 193 } else if (type == CursorWindow::FIELD_TYPE_INTEGER) { 195 } else if (type == CursorWindow::FIELD_TYPE_FLOAT) { 197 } else if (type 216 int32_t type = window->getFieldSlotType(fieldSlot); local 308 int32_t type = window->getFieldSlotType(fieldSlot); local 347 int32_t type = window->getFieldSlotType(fieldSlot); local 378 int32_t type = window->getFieldSlotType(fieldSlot); local [all...] |
H A D | android_net_TrafficStats.cpp | 58 static uint64_t getStatsType(struct Stats* stats, StatsType type) { argument 59 switch (type) { 153 static jlong getTotalStat(JNIEnv* env, jclass clazz, jint type) { argument 157 return getStatsType(&stats, (StatsType) type); 163 static jlong getIfaceStat(JNIEnv* env, jclass clazz, jstring iface, jint type) { argument 172 return getStatsType(&stats, (StatsType) type); 178 static jlong getUidStat(JNIEnv* env, jclass clazz, jint uid, jint type) { argument 182 return getStatsType(&stats, (StatsType) type);
|
H A D | android_os_SELinux.cpp | 337 static int log_callback(int type, const char *fmt, ...) { argument 341 switch (type) {
|
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | TextUtilsTest.java | 500 public <T> T[] getSpans(int start, int end, Class<T> type) { argument 520 public int nextSpanTransition(int start, int limit, Class type) { argument
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
H A D | BatteryStatsTimerTest.java | 43 TestTimer(Clocks clocks, int type, TimeBase timeBase, Parcel in) { argument 44 super(clocks, type, timeBase, in); 47 TestTimer(Clocks clocks, int type, TimeBase timeBase) { argument 48 super(clocks, type, timeBase);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Atlas.java | 43 * Each type defines a different packing algorithm that can 77 * @param type The algorithm to use to pack rectangles in the atlas 83 public Atlas(Type type, int width, int height) { argument 84 this(type, width, height, FLAG_DEFAULTS); 92 * @param type The algorithm to use to pack rectangles in the atlas 100 public Atlas(Type type, int width, int height, int flags) { argument 101 mPolicy = findPolicy(type, width, height, flags); 137 private static Policy findPolicy(Type type, int width, int height, int flags) { argument 138 switch (type) {
|
/frameworks/base/include/androidfw/ |
H A D | AssetManager.h | 199 * Get the type of a file in the asset hierarchy. They will either 241 asset_path() : path(""), type(kFileTypeRegular), idmap(""), 244 FileType type; member in struct:android::AssetManager::asset_path
|
H A D | CursorWindow.h | 46 * FieldSlot per column, which has the size, offset, and type of the data for that field. 65 /* Opaque type that describes a field slot. */ 68 int32_t type; member in struct:android::CursorWindow::FieldSlot 117 return fieldSlot->type; 188 const void* value, size_t size, int32_t type);
|
/frameworks/base/keystore/java/android/security/ |
H A D | Credentials.java | 78 /** Data type for public keys. */ 81 /** Data type for private keys. */ 162 throw new IllegalArgumentException("Unknown type " + o.getType()); 209 public void install(Context context, String type, byte[] value) { argument 212 intent.putExtra(type, value); 235 * Make sure every type is deleted. There can be all three types, so 246 * Returns {@code true} if the alias no longer contains either type. 255 * Returns {@code true} if the alias no longer contains either type. 259 * Make sure every certificate type is deleted. There can be two types,
|
/frameworks/base/libs/androidfw/ |
H A D | BackupData.cpp | 119 header.type = tolel(BACKUP_HEADER_ENTITY_V1); 224 BackupDataReader::ReadNextHeader(bool* done, int* type) argument 248 if (type) { 249 *type = m_header.type; 253 m_header.type = fromlel(m_header.type); 254 switch (m_header.type) 284 ALOGD("Chunk header at %d has invalid type: 0x%08x", 285 (int)(m_pos - sizeof(m_header)), (int)m_header.type); [all...] |
H A D | CursorWindow.cpp | 283 const void* value, size_t size, int32_t type) { 300 fieldSlot->type = type; 316 fieldSlot->type = FIELD_TYPE_INTEGER; 331 fieldSlot->type = FIELD_TYPE_FLOAT; 346 fieldSlot->type = FIELD_TYPE_NULL; 282 putBlobOrString(uint32_t row, uint32_t column, const void* value, size_t size, int32_t type) argument
|
/frameworks/base/libs/common_time/ |
H A D | common_time_server_packets.h | 44 // type of the packet 57 void initHeader(TimeServicePacketType type, argument 62 packetType = type;
|
/frameworks/base/libs/hwui/ |
H A D | DamageAccumulator.cpp | 35 TransformType type; member in struct:android::uirenderer::DirtyStack 52 mHead->type = TransformNone; 59 switch (currentFrame->type) { 70 LOG_ALWAYS_FATAL("Tried to compute transform with an invalid type: %d", currentFrame->type); 92 mHead->type = TransformRenderNode; 98 mHead->type = TransformMatrix4; 106 switch (dirtyFrame->type) { 117 LOG_ALWAYS_FATAL("Tried to pop an invalid type: %d", dirtyFrame->type); [all...] |
H A D | TessellationCache.h | 61 Type type; member in struct:android::uirenderer::TessellationCache::Description 78 Description(Type type, const Matrix4& transform, const SkPaint& paint);
|