/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 | 37 public Object obtain(Object info); in obtain() argument 39 public void setSource(Object info, View source); in setSource() argument 40 public void setSource(Object info, View root, int virtualDescendantId); in setSource() argument 41 public Object findFocus(Object info, int focus); in findFocus() argument 42 public Object focusSearch(Object info, int direction); in focusSearch() argument 43 public int getWindowId(Object info); in getWindowId() argument 44 public int getChildCount(Object info); in getChildCount() argument 45 public Object getChild(Object info, int index); in getChild() argument 46 public void addChild(Object info, View child); in addChild() argument 47 public void addChild(Object info, View child, int virtualDescendantId); in addChild() argument [all …]
|
/frameworks/native/libs/ui/ |
D | PixelFormat.cpp | 80 PixelFormatInfo info; in bytesPerPixel() local 81 status_t err = getPixelFormatInfo(format, &info); in bytesPerPixel() 82 return (err < 0) ? err : info.bytesPerPixel; in bytesPerPixel() 87 PixelFormatInfo info; in bitsPerPixel() local 88 status_t err = getPixelFormatInfo(format, &info); in bitsPerPixel() 89 return (err < 0) ? err : info.bitsPerPixel; in bitsPerPixel() 92 status_t getPixelFormatInfo(PixelFormat format, PixelFormatInfo* info) in getPixelFormatInfo() argument 97 if (info->version != sizeof(PixelFormatInfo)) in getPixelFormatInfo() 104 info->bitsPerPixel = 16; in getPixelFormatInfo() 108 info->bitsPerPixel = 12; in getPixelFormatInfo() [all …]
|
/frameworks/support/v4/java/android/support/v4/accessibilityservice/ |
D | AccessibilityServiceInfoCompat.java | 31 public String getId(AccessibilityServiceInfo info); in getId() argument 32 public ResolveInfo getResolveInfo(AccessibilityServiceInfo info); in getResolveInfo() argument 33 public boolean getCanRetrieveWindowContent(AccessibilityServiceInfo info); in getCanRetrieveWindowContent() argument 34 public String getDescription(AccessibilityServiceInfo info); in getDescription() argument 35 public String getSettingsActivityName(AccessibilityServiceInfo info); in getSettingsActivityName() argument 40 public boolean getCanRetrieveWindowContent(AccessibilityServiceInfo info) { in getCanRetrieveWindowContent() argument 44 public String getDescription(AccessibilityServiceInfo info) { in getDescription() argument 48 public String getId(AccessibilityServiceInfo info) { in getId() argument 52 public ResolveInfo getResolveInfo(AccessibilityServiceInfo info) { in getResolveInfo() argument 56 public String getSettingsActivityName(AccessibilityServiceInfo info) { in getSettingsActivityName() argument [all …]
|
/frameworks/support/v4/jellybean/android/support/v4/view/accessibility/ |
D | AccessibilityNodeInfoCompatJellyBean.java | 28 public static void addChild(Object info, View child, int virtualDescendantId) { in addChild() argument 29 ((AccessibilityNodeInfo) info).addChild(child, virtualDescendantId); in addChild() 32 public static void setSource(Object info, View root, int virtualDescendantId) { in setSource() argument 33 ((AccessibilityNodeInfo) info).setSource(root, virtualDescendantId); in setSource() 36 public static boolean isVisibleToUser(Object info) { in isVisibleToUser() argument 37 return ((AccessibilityNodeInfo) info).isVisibleToUser(); in isVisibleToUser() 40 public static void setVisibleToUser(Object info, boolean visibleToUser) { in setVisibleToUser() argument 41 ((AccessibilityNodeInfo) info).setVisibleToUser(visibleToUser); in setVisibleToUser() 44 public static boolean performAction(Object info, int action, Bundle arguments) { in performAction() argument 45 return ((AccessibilityNodeInfo) info).performAction(action, arguments); in performAction() [all …]
|
/frameworks/av/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()
|
/frameworks/av/media/libstagefright/ |
D | NuMediaExtractor.cpp | 52 TrackInfo *info = &mSelectedTracks.editItemAt(i); in ~NuMediaExtractor() local 54 CHECK_EQ((status_t)OK, info->mSource->stop()); in ~NuMediaExtractor() 243 TrackInfo *info = &mSelectedTracks.editItemAt(i); in selectTrack() local 245 if (info->mTrackIndex == index) { in selectTrack() 256 TrackInfo *info = &mSelectedTracks.editItemAt(mSelectedTracks.size() - 1); in selectTrack() local 258 info->mSource = source; in selectTrack() 259 info->mTrackIndex = index; in selectTrack() 260 info->mFinalResult = OK; in selectTrack() 261 info->mSample = NULL; in selectTrack() 262 info->mSampleTimeUs = -1ll; in selectTrack() [all …]
|
D | MediaCodecList.cpp | 71 const CodecInfo &info = mCodecInfos.itemAt(i); in MediaCodecList() 73 AString line = info.mName; in MediaCodecList() 78 if (info.mTypes & (1ul << value)) { in MediaCodecList() 142 CodecInfo *info = &mCodecInfos.editItemAt(i); in parseXMLFile() local 144 if (info->mTypes == 0) { in parseXMLFile() 148 info->mName.c_str()); in parseXMLFile() 312 CodecInfo *info = &mCodecInfos.editItemAt(mCodecInfos.size() - 1); in addMediaCodec() local 313 info->mName = name; in addMediaCodec() 314 info->mIsEncoder = encoder; in addMediaCodec() 315 info->mTypes = 0; in addMediaCodec() [all …]
|
/frameworks/compile/mclinker/lib/CodeGen/ |
D | SectLinker.cpp | 72 MCLDInfo &info = m_pOption->info(); in doInitialization() local 78 initializeInputOutput(info); in doInitialization() 80 m_pLDDriver = new MCLDDriver(info, *m_pLDBackend, *memAreaFactory()); in doInitialization() 87 const MCLDInfo &info = m_pOption->info(); in doFinalization() local 100 if (info.options().trace()) { in doFinalization() 102 mcld::outs() << "** name\ttype\tpath\tsize (" << info.inputs().size() << ")\n"; in doFinalization() 103 InputTree::const_dfs_iterator input, inEnd = info.inputs().dfs_end(); in doFinalization() 104 for (input=info.inputs().dfs_begin(); input!=inEnd; ++input) { in doFinalization() 233 MCLDInfo &info = m_pOption->info(); in initializeInputTree() local 257 InputTree::iterator root = info.inputs().root(); in initializeInputTree() [all …]
|
/frameworks/compile/mclinker/lib/MC/ |
D | MCLinker.cpp | 79 resolved_result.info = m_LDInfo.getNamePool().createSymbol(pName, in addSymbolFromObject() 100 assert(NULL != resolved_result.info); in addSymbolFromObject() 107 input_sym->setResolveInfo(*resolved_result.info); in addSymbolFromObject() 113 LDSymbol* output_sym = resolved_result.info->outSymbol(); in addSymbolFromObject() 124 output_sym->setResolveInfo(*resolved_result.info); in addSymbolFromObject() 125 resolved_result.info->setSymPtr(output_sym); in addSymbolFromObject() 146 if (shouldForceLocal(*resolved_result.info)) in addSymbolFromObject() 155 !shouldForceLocal(*resolved_result.info)) { in addSymbolFromObject() 203 assert(NULL != resolved_result.info); in addSymbolFromDynObj() 210 input_sym->setResolveInfo(*resolved_result.info); in addSymbolFromDynObj() [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | CallerInfo.java | 158 CallerInfo info = new CallerInfo(); in getCallerInfo() local 159 info.photoResource = 0; in getCallerInfo() 160 info.phoneLabel = null; in getCallerInfo() 161 info.numberType = 0; in getCallerInfo() 162 info.numberLabel = null; in getCallerInfo() 163 info.cachedPhoto = null; in getCallerInfo() 164 info.isCachedPhotoCurrent = false; in getCallerInfo() 165 info.contactExists = false; in getCallerInfo() 180 info.name = cursor.getString(columnIndex); in getCallerInfo() 186 info.phoneNumber = cursor.getString(columnIndex); in getCallerInfo() [all …]
|
/frameworks/support/v4/ics/android/support/v4/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/core/java/android/view/accessibility/ |
D | AccessibilityNodeInfoCache.java | 126 AccessibilityNodeInfo info = mCacheImpl.get(accessibilityNodeId); in get() local 127 if (info != null) { in get() 130 info = AccessibilityNodeInfo.obtain(info); in get() 133 Log.i(LOG_TAG, "get(" + accessibilityNodeId + ") = " + info); in get() 135 return info; in get() 147 public void add(AccessibilityNodeInfo info) { in add() argument 151 Log.i(LOG_TAG, "add(" + info + ")"); in add() 154 final long sourceId = info.getSourceNodeId(); in add() 162 SparseLongArray newChildrenIds = info.getChildNodeIds(); in add() 175 if (info.getParentNodeId() != oldParentId) { in add() [all …]
|
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/ |
D | ProcessErrorsTest.java | 222 final String errPkg = err.info.processName; in packageMatches() 260 newList.add(err.info); in reportWrappedListContents() 308 public final ProcessErrorStateInfo info; field in ProcessErrorsTest.ProcessError 311 info = newInfo; in ProcessError() 321 for (ProcessErrorStateInfo info : in) { in fromCollection() 322 out.add(new ProcessError(info)); in fromCollection() 343 return (info.condition == peOther.info.condition) in equals() 344 && strEquals(info.longMsg, peOther.info.longMsg) in equals() 345 && (info.pid == peOther.info.pid) in equals() 346 && strEquals(info.processName, peOther.info.processName) in equals() [all …]
|
/frameworks/compile/mclinker/unittests/ |
D | NamePoolTest.cpp | 89 EXPECT_NE(name, result1.info->name()); in TEST_F() 90 EXPECT_STREQ(name, result1.info->name()); in TEST_F() 91 EXPECT_EQ(isDyn, result1.info->isDyn()); in TEST_F() 92 EXPECT_EQ(type, result1.info->type()); in TEST_F() 93 EXPECT_EQ(desc, result1.info->desc()); in TEST_F() 94 EXPECT_EQ(binding, result1.info->binding()); in TEST_F() 95 EXPECT_EQ(size, result1.info->size()); in TEST_F() 96 EXPECT_EQ(other, result1.info->visibility()); in TEST_F() 109 EXPECT_NE(name, result1.info->name()); in TEST_F() 110 EXPECT_STREQ(name, result1.info->name()); in TEST_F() [all …]
|
/frameworks/base/core/java/android/view/ |
D | WindowInfo.java | 92 WindowInfo info = obtain(); in obtain() local 93 info.token = other.token; in obtain() 94 info.frame.set(other.frame); in obtain() 95 info.touchableRegion.set(other.touchableRegion); in obtain() 96 info.type = other.type; in obtain() 97 info.compatibilityScale = other.compatibilityScale; in obtain() 98 info.visible = other.visible; in obtain() 99 info.displayId = other.displayId; in obtain() 100 info.layer = other.layer; in obtain() 101 return info; in obtain() [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/core/java/android/app/ |
D | LoaderManager.java | 461 LoaderInfo info = mInactiveLoaders.get(mId); in onLoadComplete() local 462 if (info != null && info != this) { in onLoadComplete() 463 info.mDeliveredData = false; in onLoadComplete() 464 info.destroy(); in onLoadComplete() 545 … LoaderInfo info = new LoaderInfo(id, args, (LoaderManager.LoaderCallbacks<Object>)callback); in createLoader() local 547 info.mLoader = (Loader<Object>)loader; in createLoader() 548 return info; in createLoader() 555 LoaderInfo info = createLoader(id, args, callback); in createAndInstallLoader() local 556 installLoader(info); in createAndInstallLoader() 557 return info; in createAndInstallLoader() [all …]
|
/frameworks/support/v4/java/android/support/v4/app/ |
D | LoaderManager.java | 405 LoaderInfo info = mInactiveLoaders.get(mId); in onLoadComplete() local 406 if (info != null && info != this) { in onLoadComplete() 407 info.mDeliveredData = false; in onLoadComplete() 408 info.destroy(); in onLoadComplete() 489 … LoaderInfo info = new LoaderInfo(id, args, (LoaderManager.LoaderCallbacks<Object>)callback); in createLoader() local 491 info.mLoader = (Loader<Object>)loader; in createLoader() 492 return info; in createLoader() 499 LoaderInfo info = createLoader(id, args, callback); in createAndInstallLoader() local 500 installLoader(info); in createAndInstallLoader() 501 return info; in createAndInstallLoader() [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaRouter.java | 172 final RouteInfo info = new RouteInfo(sStatic.mSystemCategory); in updateAudioRoutes() local 173 info.mName = mCurAudioRoutesInfo.mBluetoothName; in updateAudioRoutes() 174 info.mSupportedTypes = ROUTE_TYPE_LIVE_AUDIO; in updateAudioRoutes() 175 sStatic.mBluetoothA2dpRoute = info; in updateAudioRoutes() 221 final RouteInfo info = mRoutes.get(i); in updatePresentationDisplays() local 222 Display display = choosePresentationDisplayForRoute(info, displays); in updatePresentationDisplays() 223 if (display != info.mPresentationDisplay in updatePresentationDisplays() 225 info.mPresentationDisplay = display; in updatePresentationDisplays() 226 dispatchRoutePresentationDisplayChanged(info); in updatePresentationDisplays() 348 final CallbackInfo info = sStatic.mCallbacks.get(i); in addCallback() local [all …]
|
/frameworks/native/services/sensorservice/ |
D | SensorDevice.cpp | 79 const Info& info = mActivationCount.valueFor(list[i].handle); in dump() local 82 info.rates.size()); in dump() 84 for (size_t j=0 ; j<info.rates.size() ; j++) { in dump() 86 info.rates.valueAt(j) / 1e6f, in dump() 87 j<info.rates.size()-1 ? ", " : ""); in dump() 90 snprintf(buffer, SIZE, " }, selected=%4.1f ms\n", info.delay / 1e6f); in dump() 120 Info& info( mActivationCount.editValueFor(handle) ); in activate() local 125 ident, handle, enabled, info.rates.size()); in activate() 130 info.rates.indexOfKey(ident)); in activate() 132 if (info.rates.indexOfKey(ident) < 0) { in activate() [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/native/services/surfaceflinger/tests/resize/ |
D | resize.cpp | 49 Surface::SurfaceInfo info; in main() local 50 surface->lock(&info); in main() 51 ssize_t bpr = info.s * bytesPerPixel(info.format); in main() 52 android_memset16((uint16_t*)info.bits, 0xF800, bpr*info.h); in main() 55 surface->lock(&info); in main() 56 android_memset16((uint16_t*)info.bits, 0x07E0, bpr*info.h); in main()
|