/frameworks/support/v4/ics/android/support/v4/view/accessibility/ |
D | AccessibilityNodeInfoCompatIcs.java | 38 public static Object obtain(Object info) { in obtain() argument 39 return AccessibilityNodeInfo.obtain((AccessibilityNodeInfo) info); in obtain() 42 public static void addAction(Object info, int action) { in addAction() argument 43 ((AccessibilityNodeInfo) info).addAction(action); in addAction() 46 public static void addChild(Object info, View child) { in addChild() argument 47 ((AccessibilityNodeInfo) info).addChild(child); in addChild() 51 public static List<Object> findAccessibilityNodeInfosByText(Object info, String text) { in findAccessibilityNodeInfosByText() argument 52 Object result = ((AccessibilityNodeInfo) info).findAccessibilityNodeInfosByText(text); in findAccessibilityNodeInfosByText() 56 public static int getActions(Object info) { in getActions() argument 57 return ((AccessibilityNodeInfo) info).getActions(); in getActions() [all …]
|
/frameworks/support/v4/java/android/support/v4/view/accessibility/ |
D | AccessibilityNodeInfoCompat.java | 35 public Object obtain(Object info); in obtain() argument 36 public void setSource(Object info, View source); in setSource() argument 37 public int getWindowId(Object info); in getWindowId() argument 38 public int getChildCount(Object info); in getChildCount() argument 39 public Object getChild(Object info, int index); in getChild() argument 40 public void addChild(Object info, View child); in addChild() argument 41 public int getActions(Object info); in getActions() argument 42 public void addAction(Object info, int action); in addAction() argument 43 public boolean performAction(Object info, int action); in performAction() argument 44 public List<Object> findAccessibilityNodeInfosByText(Object info, String text); in findAccessibilityNodeInfosByText() argument [all …]
|
/frameworks/base/libs/ui/ |
D | PixelFormat.cpp | 39 PixelFormatInfo info; in bytesPerPixel() local 40 status_t err = getPixelFormatInfo(format, &info); in bytesPerPixel() 41 return (err < 0) ? err : info.bytesPerPixel; in bytesPerPixel() 46 PixelFormatInfo info; in bitsPerPixel() local 47 status_t err = getPixelFormatInfo(format, &info); in bitsPerPixel() 48 return (err < 0) ? err : info.bitsPerPixel; in bitsPerPixel() 51 status_t getPixelFormatInfo(PixelFormat format, PixelFormatInfo* info) in getPixelFormatInfo() argument 56 if (info->version != sizeof(PixelFormatInfo)) in getPixelFormatInfo() 63 info->bitsPerPixel = 16; in getPixelFormatInfo() 67 info->bitsPerPixel = 12; in getPixelFormatInfo() [all …]
|
/frameworks/support/v4/java/android/support/v4/android/accessibilityservice/ |
D | AccessibilityServiceInfoCompat.java | 30 public String getId(AccessibilityServiceInfo info); in getId() argument 31 public ResolveInfo getResolveInfo(AccessibilityServiceInfo info); in getResolveInfo() argument 32 public boolean getCanRetrieveWindowContent(AccessibilityServiceInfo info); in getCanRetrieveWindowContent() argument 33 public String getDescription(AccessibilityServiceInfo info); in getDescription() argument 34 public String getSettingsActivityName(AccessibilityServiceInfo info); in getSettingsActivityName() argument 39 public boolean getCanRetrieveWindowContent(AccessibilityServiceInfo info) { in getCanRetrieveWindowContent() argument 43 public String getDescription(AccessibilityServiceInfo info) { in getDescription() argument 47 public String getId(AccessibilityServiceInfo info) { in getId() argument 51 public ResolveInfo getResolveInfo(AccessibilityServiceInfo info) { in getResolveInfo() argument 55 public String getSettingsActivityName(AccessibilityServiceInfo info) { in getSettingsActivityName() argument [all …]
|
/frameworks/base/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_decode_header.cpp | 116 mp3Header *info, in pvmp3_decode_header() argument 153 info->version_x = MPEG_2_5; in pvmp3_decode_header() 156 info->version_x = MPEG_2; in pvmp3_decode_header() 159 info->version_x = MPEG_1; in pvmp3_decode_header() 162 info->version_x = INVALID_VERSION; in pvmp3_decode_header() 167 info->layer_description = 4 - ((temp << 13) >> 30); /* 2 */ in pvmp3_decode_header() 168 info->error_protection = !((temp << 15) >> 31); /* 1 */ in pvmp3_decode_header() 170 if (info->error_protection) in pvmp3_decode_header() 176 info->bitrate_index = (temp << 16) >> 28; /* 4 */ in pvmp3_decode_header() 177 info->sampling_frequency = (temp << 20) >> 30; /* 2 */ in pvmp3_decode_header() [all …]
|
D | pvmp3_get_main_data_size.cpp | 116 int32 pvmp3_get_main_data_size(mp3Header *info, in pvmp3_get_main_data_size() argument 121 int32 numBytes = fxp_mul32_Q28(mp3_bitrate[info->version_x][info->bitrate_index] << 20, in pvmp3_get_main_data_size() 122 inv_sfreq[info->sampling_frequency]); in pvmp3_get_main_data_size() 125 numBytes >>= (20 - info->version_x); in pvmp3_get_main_data_size() 130 if (info->version_x == MPEG_1) in pvmp3_get_main_data_size() 133 if (info->mode == MPG_MD_MONO) in pvmp3_get_main_data_size() 147 if (info->mode == MPG_MD_MONO) in pvmp3_get_main_data_size() 157 if (info->padding) in pvmp3_get_main_data_size() 163 if (info->error_protection) in pvmp3_get_main_data_size()
|
D | pvmp3_get_side_info.cpp | 116 mp3Header *info, in pvmp3_get_side_info() argument 122 int stereo = (info->mode == MPG_MD_MONO) ? 1 : 2; in pvmp3_get_side_info() 124 if (info->version_x == MPEG_1) in pvmp3_get_side_info() 128 tmp = getbits_crc(inputStream, 14, crc, info->error_protection); in pvmp3_get_side_info() 134 tmp = getbits_crc(inputStream, 12, crc, info->error_protection); in pvmp3_get_side_info() 142 tmp = getbits_crc(inputStream, 4, crc, info->error_protection); in pvmp3_get_side_info() 153 … si->ch[ch].gran[gr].part2_3_length = getbits_crc(inputStream, 12, crc, info->error_protection); in pvmp3_get_side_info() 154 tmp = getbits_crc(inputStream, 22, crc, info->error_protection); in pvmp3_get_side_info() 163 tmp = getbits_crc(inputStream, 22, crc, info->error_protection); in pvmp3_get_side_info() 195 tmp = getbits_crc(inputStream, 22, crc, info->error_protection); in pvmp3_get_side_info() [all …]
|
/frameworks/support/v4/ics/android/support/v4/android/accessibilityservice/ |
D | AccessibilityServiceInfoCompatIcs.java | 28 public static boolean getCanRetrieveWindowContent(AccessibilityServiceInfo info) { in getCanRetrieveWindowContent() argument 29 return info.getCanRetrieveWindowContent(); in getCanRetrieveWindowContent() 32 public static String getDescription(AccessibilityServiceInfo info) { in getDescription() argument 33 return info.getDescription(); in getDescription() 36 public static String getId(AccessibilityServiceInfo info) { in getId() argument 37 return info.getId(); in getId() 40 public static ResolveInfo getResolveInfo(AccessibilityServiceInfo info) { in getResolveInfo() argument 41 return info.getResolveInfo(); in getResolveInfo() 44 public static String getSettingsActivityName(AccessibilityServiceInfo info) { in getSettingsActivityName() argument 45 return info.getSettingsActivityName(); in getSettingsActivityName()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | CallerInfo.java | 134 CallerInfo info = new CallerInfo(); in getCallerInfo() local 135 info.photoResource = 0; in getCallerInfo() 136 info.phoneLabel = null; in getCallerInfo() 137 info.numberType = 0; in getCallerInfo() 138 info.numberLabel = null; in getCallerInfo() 139 info.cachedPhoto = null; in getCallerInfo() 140 info.isCachedPhotoCurrent = false; in getCallerInfo() 141 info.contactExists = false; in getCallerInfo() 156 info.name = cursor.getString(columnIndex); in getCallerInfo() 162 info.phoneNumber = cursor.getString(columnIndex); in getCallerInfo() [all …]
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetManager.java | 375 for (AppWidgetProviderInfo info : providers) { in getInstalledProviders() 377 info.minWidth = in getInstalledProviders() 378 TypedValue.complexToDimensionPixelSize(info.minWidth, mDisplayMetrics); in getInstalledProviders() 379 info.minHeight = in getInstalledProviders() 380 TypedValue.complexToDimensionPixelSize(info.minHeight, mDisplayMetrics); in getInstalledProviders() 381 info.minResizeWidth = in getInstalledProviders() 382 TypedValue.complexToDimensionPixelSize(info.minResizeWidth, mDisplayMetrics); in getInstalledProviders() 383 info.minResizeHeight = in getInstalledProviders() 384 TypedValue.complexToDimensionPixelSize(info.minResizeHeight, mDisplayMetrics); in getInstalledProviders() 401 AppWidgetProviderInfo info = sService.getAppWidgetInfo(appWidgetId); in getAppWidgetInfo() local [all …]
|
/frameworks/support/v4/java/android/support/v4/app/ |
D | LoaderManager.java | 396 LoaderInfo info = mInactiveLoaders.get(mId); in onLoadComplete() local 397 if (info != null && info != this) { in onLoadComplete() 398 info.mDeliveredData = false; in onLoadComplete() 399 info.destroy(); in onLoadComplete() 475 … LoaderInfo info = new LoaderInfo(id, args, (LoaderManager.LoaderCallbacks<Object>)callback); in createLoader() local 477 info.mLoader = (Loader<Object>)loader; in createLoader() 478 return info; in createLoader() 485 LoaderInfo info = createLoader(id, args, callback); in createAndInstallLoader() local 486 installLoader(info); in createAndInstallLoader() 487 return info; in createAndInstallLoader() [all …]
|
/frameworks/base/core/java/android/app/ |
D | LoaderManager.java | 415 LoaderInfo info = mInactiveLoaders.get(mId); in onLoadComplete() local 416 if (info != null && info != this) { in onLoadComplete() 417 info.mDeliveredData = false; in onLoadComplete() 418 info.destroy(); in onLoadComplete() 494 … LoaderInfo info = new LoaderInfo(id, args, (LoaderManager.LoaderCallbacks<Object>)callback); in createLoader() local 496 info.mLoader = (Loader<Object>)loader; in createLoader() 497 return info; in createLoader() 504 LoaderInfo info = createLoader(id, args, callback); in createAndInstallLoader() local 505 installLoader(info); in createAndInstallLoader() 506 return info; in createAndInstallLoader() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | ComponentTest.java | 136 final ResolveInfo info = mPackageManager.resolveActivity(mDisabledActivityIntent, 0); in testResolveDisabledActivity() local 137 assertNull(info); in testResolveDisabledActivity() 152 final ResolveInfo info = mPackageManager.resolveActivity(mEnabledActivityIntent, 0); in testResolveEnabledActivity() local 153 assertNotNull(info); in testResolveEnabledActivity() 154 assertNotNull(info); in testResolveEnabledActivity() 155 assertNotNull(info.activityInfo); in testResolveEnabledActivity() 156 assertTrue(info.activityInfo.enabled); in testResolveEnabledActivity() 173 final ResolveInfo info = infoList2.get(0); in testQueryDisabledActivity() local 174 assertNotNull(info); in testQueryDisabledActivity() 175 assertNotNull(info.activityInfo); in testQueryDisabledActivity() [all …]
|
/frameworks/base/native/graphics/jni/ |
D | bitmap.cpp | 21 AndroidBitmapInfo* info) { in AndroidBitmap_getInfo() argument 31 if (info) { in AndroidBitmap_getInfo() 32 info->width = bm->width(); in AndroidBitmap_getInfo() 33 info->height = bm->height(); in AndroidBitmap_getInfo() 34 info->stride = bm->rowBytes(); in AndroidBitmap_getInfo() 35 info->flags = 0; in AndroidBitmap_getInfo() 39 info->format = ANDROID_BITMAP_FORMAT_RGBA_8888; in AndroidBitmap_getInfo() 42 info->format = ANDROID_BITMAP_FORMAT_RGB_565; in AndroidBitmap_getInfo() 45 info->format = ANDROID_BITMAP_FORMAT_RGBA_4444; in AndroidBitmap_getInfo() 48 info->format = ANDROID_BITMAP_FORMAT_A_8; in AndroidBitmap_getInfo() [all …]
|
/frameworks/base/core/jni/ |
D | android_graphics_PixelFormat.cpp | 45 PixelFormatInfo info; in android_graphics_getPixelFormatInfo() local 53 info.bytesPerPixel = 1; in android_graphics_getPixelFormatInfo() 54 info.bitsPerPixel = 16; in android_graphics_getPixelFormatInfo() 58 info.bytesPerPixel = 1; in android_graphics_getPixelFormatInfo() 59 info.bitsPerPixel = 12; in android_graphics_getPixelFormatInfo() 63 info.bytesPerPixel = 1; in android_graphics_getPixelFormatInfo() 64 info.bitsPerPixel = 16; in android_graphics_getPixelFormatInfo() 68 err = getPixelFormatInfo(format, &info); in android_graphics_getPixelFormatInfo() 75 env->SetIntField(pixelFormatObject, offsets.bytesPerPixel, info.bytesPerPixel); in android_graphics_getPixelFormatInfo() 76 env->SetIntField(pixelFormatObject, offsets.bitsPerPixel, info.bitsPerPixel); in android_graphics_getPixelFormatInfo()
|
/frameworks/base/services/surfaceflinger/tests/resize/ |
D | resize.cpp | 50 Surface::SurfaceInfo info; in main() local 51 surface->lock(&info); in main() 52 ssize_t bpr = info.s * bytesPerPixel(info.format); in main() 53 android_memset16((uint16_t*)info.bits, 0xF800, bpr*info.h); in main() 56 surface->lock(&info); in main() 57 android_memset16((uint16_t*)info.bits, 0x07E0, bpr*info.h); in main()
|
/frameworks/base/services/java/com/android/server/am/ |
D | ContentProviderRecord.java | 48 super(cpr.info); in ContentProviderRecord() 56 return (info.multiprocess || info.processName.equals(app.processName)) in canRunHere() 57 && (uid == Process.SYSTEM_UID || uid == app.info.uid); in canRunHere() 62 pw.print(info.applicationInfo.packageName); in dump() 63 pw.print(" process="); pw.println(info.processName); in dump() 70 pw.print(prefix); pw.print("name="); pw.println(info.authority); in dump() 71 if (info.isSyncable || info.multiprocess || info.initOrder != 0) { in dump() 72 pw.print(prefix); pw.print("isSyncable="); pw.print(info.isSyncable); in dump() 73 pw.print("multiprocess="); pw.print(info.multiprocess); in dump() 74 pw.print(" initOrder="); pw.println(info.initOrder); in dump() [all …]
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityInteractionClient.java | 129 AccessibilityNodeInfo info = getFindAccessibilityNodeInfoResultAndClear( in findAccessibilityNodeInfoByAccessibilityId() local 131 finalizeAccessibilityNodeInfo(info, connection, windowScale); in findAccessibilityNodeInfoByAccessibilityId() 132 return info; in findAccessibilityNodeInfoByAccessibilityId() 156 AccessibilityNodeInfo info = getFindAccessibilityNodeInfoResultAndClear( in findAccessibilityNodeInfoByViewIdInActiveWindow() local 158 finalizeAccessibilityNodeInfo(info, connection, windowScale); in findAccessibilityNodeInfoByViewIdInActiveWindow() 159 return info; in findAccessibilityNodeInfoByViewIdInActiveWindow() 272 public void setFindAccessibilityNodeInfoResult(AccessibilityNodeInfo info, in setFindAccessibilityNodeInfoResult() argument 276 mFindAccessibilityNodeInfoResult = info; in setFindAccessibilityNodeInfoResult() 391 private void applyCompatibilityScaleIfNeeded(AccessibilityNodeInfo info, float scale) { in applyCompatibilityScaleIfNeeded() argument 396 info.getBoundsInParent(bounds); in applyCompatibilityScaleIfNeeded() [all …]
|
/frameworks/base/tests/DumpRenderTree2/assets/ |
D | run_apache2.py | 37 logging.info("illegal argument: " + run_cmd) 38 logging.info("Usage: python run_apache2.py start|stop|restart") 106 logging.info("Will " + run_cmd + " apache2 server.") 111 logging.info("First will stop...") 114 logging.info("Failed to stop Apache2") 116 logging.info("Stopped. Will start now...") 124 logging.info("Failed to start Apache2") 127 logging.info("Successfully started") 135 logging.info(out) 139 logging.info("!! ERRORS:") [all …]
|
/frameworks/base/media/libstagefright/timedtext/ |
D | TimedTextParser.cpp | 65 TextInfo info; in scanFile() local 66 status_t err = getNextInSrtFileFormat(&offset, &startTimeUs, &info); in scanFile() 75 mTextVector.add(startTimeUs, info); in scanFile() 143 off64_t *offset, int64_t *startTimeUs, TextInfo *info) { in getNextInSrtFileFormat() argument 164 info->endTimeUs = ((hour2 * 3600 + min2 * 60 + sec2) * 1000 + msec2) * 1000ll; in getNextInSrtFileFormat() 165 if (info->endTimeUs <= *startTimeUs) { in getNextInSrtFileFormat() 169 info->offset = *offset; in getNextInSrtFileFormat() 190 info->textLen = *offset - info->offset; in getNextInSrtFileFormat() 241 TextInfo info = mTextVector.valueAt(mIndex); in getText() local 243 *endTimeUs = info.endTimeUs; in getText() [all …]
|
/frameworks/base/media/mtp/ |
D | MtpDevice.cpp | 315 MtpDeviceInfo* info = new MtpDeviceInfo; in getDeviceInfo() local 316 info->read(mData); in getDeviceInfo() 317 return info; in getDeviceInfo() 348 MtpStorageInfo* info = new MtpStorageInfo(storageID); in getStorageInfo() local 349 info->read(mData); in getStorageInfo() 350 return info; in getStorageInfo() 387 MtpObjectInfo* info = new MtpObjectInfo(handle); in getObjectInfo() local 388 info->read(mData); in getObjectInfo() 389 return info; in getObjectInfo() 409 MtpObjectHandle MtpDevice::sendObjectInfo(MtpObjectInfo* info) { in sendObjectInfo() argument [all …]
|
/frameworks/base/media/jni/ |
D | android_mtp_MtpDevice.cpp | 143 jobject info = env->NewObject(clazz_deviceInfo, constructor_deviceInfo); in android_mtp_MtpDevice_get_device_info() local 144 if (info == NULL) { in android_mtp_MtpDevice_get_device_info() 151 env->SetObjectField(info, field_deviceInfo_manufacturer, in android_mtp_MtpDevice_get_device_info() 154 env->SetObjectField(info, field_deviceInfo_model, in android_mtp_MtpDevice_get_device_info() 157 env->SetObjectField(info, field_deviceInfo_version, in android_mtp_MtpDevice_get_device_info() 160 env->SetObjectField(info, field_deviceInfo_serialNumber, in android_mtp_MtpDevice_get_device_info() 164 return info; in android_mtp_MtpDevice_get_device_info() 196 jobject info = env->NewObject(clazz_storageInfo, constructor_storageInfo); in android_mtp_MtpDevice_get_storage_info() local 197 if (info == NULL) { in android_mtp_MtpDevice_get_storage_info() 204 env->SetIntField(info, field_storageInfo_storageId, storageInfo->mStorageID); in android_mtp_MtpDevice_get_storage_info() [all …]
|
/frameworks/base/services/sensorservice/ |
D | SensorDevice.cpp | 141 const Info& info = mActivationCount.valueFor(list[i].handle); in dump() local 144 info.rates.size()); in dump() 146 for (size_t j=0 ; j<info.rates.size() ; j++) { in dump() 148 info.rates.valueAt(j) / 1e6f, in dump() 149 j<info.rates.size()-1 ? ", " : ""); in dump() 152 snprintf(buffer, SIZE, " }, selected=%4.1f ms\n", info.delay / 1e6f); in dump() 178 Info& info( mActivationCount.editValueFor(handle) ); in activate() local 183 ident, handle, enabled, info.rates.size()); in activate() 188 info.rates.indexOfKey(ident)); in activate() 190 if (info.rates.indexOfKey(ident) < 0) { in activate() [all …]
|
/frameworks/base/core/java/android/view/ |
D | ViewPropertyAnimator.java | 725 final View.TransformationInfo info = mView.mTransformationInfo; in setValue() local 728 info.mTranslationX = value; in setValue() 731 info.mTranslationY = value; in setValue() 734 info.mRotation = value; in setValue() 737 info.mRotationX = value; in setValue() 740 info.mRotationY = value; in setValue() 743 info.mScaleX = value; in setValue() 746 info.mScaleY = value; in setValue() 749 info.mTranslationX = value - mView.mLeft; in setValue() 752 info.mTranslationY = value - mView.mTop; in setValue() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | AttachInfo_Accessor.java | 31 AttachInfo info = new AttachInfo(new BridgeWindowSession(), new BridgeWindow(), in setAttachInfo() local 33 info.mHasWindowFocus = true; in setAttachInfo() 34 info.mWindowVisibility = View.VISIBLE; in setAttachInfo() 35 info.mInTouchMode = false; // this is so that we can display selections. in setAttachInfo() 36 info.mHardwareAccelerated = false; in setAttachInfo() 37 view.dispatchAttachedToWindow(info, 0); in setAttachInfo()
|