Home
last modified time | relevance | path

Searched refs:info (Results 1 – 25 of 1046) sorted by relevance

12345678910>>...42

/frameworks/support/compat/java/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompat.java505 CollectionInfoCompat(Object info) { in CollectionInfoCompat() argument
506 mInfo = info; in CollectionInfoCompat()
598 CollectionItemInfoCompat(Object info) { in CollectionItemInfoCompat() argument
599 mInfo = info; in CollectionItemInfoCompat()
684 RangeInfoCompat(Object info) { in RangeInfoCompat() argument
685 mInfo = info; in RangeInfoCompat()
738 public void addAction(AccessibilityNodeInfo info, Object action) { in addAction() argument
741 public boolean removeAction(AccessibilityNodeInfo info, Object action) { in removeAction() argument
753 public void addChild(AccessibilityNodeInfo info, View child, int virtualDescendantId) { in addChild() argument
756 public boolean removeChild(AccessibilityNodeInfo info, View child) { in removeChild() argument
[all …]
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
Dpvmp3_decode_header.cpp116 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 …]
Dpvmp3_get_main_data_size.cpp116 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/support/percent/src/android/support/percent/
DPercentLayoutHelper.java174 PercentLayoutInfo info = in adjustChildren() local
177 Log.d(TAG, "using " + info); in adjustChildren()
179 if (info != null) { in adjustChildren()
181 info.fillMarginLayoutParams(view, (ViewGroup.MarginLayoutParams) params, in adjustChildren()
184 info.fillLayoutParams(params, widthHint, heightHint); in adjustChildren()
197 PercentLayoutInfo info = null; in getPercentLayoutInfo() local
205 info = info != null ? info : new PercentLayoutInfo(); in getPercentLayoutInfo()
206 info.widthPercent = value; in getPercentLayoutInfo()
213 info = info != null ? info : new PercentLayoutInfo(); in getPercentLayoutInfo()
214 info.heightPercent = value; in getPercentLayoutInfo()
[all …]
/frameworks/av/media/libstagefright/
DNuMediaExtractor.cpp51 TrackInfo *info = &mSelectedTracks.editItemAt(i); in ~NuMediaExtractor() local
53 status_t err = info->mSource->stop(); in ~NuMediaExtractor()
290 TrackInfo *info = &mSelectedTracks.editItemAt(i); in selectTrack() local
292 if (info->mTrackIndex == index) { in selectTrack()
310 TrackInfo *info = &mSelectedTracks.editItemAt(mSelectedTracks.size() - 1); in selectTrack() local
312 info->mSource = source; in selectTrack()
313 info->mTrackIndex = index; in selectTrack()
314 info->mFinalResult = OK; in selectTrack()
315 info->mSample = NULL; in selectTrack()
316 info->mSampleTimeUs = -1ll; in selectTrack()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DActivityMetricsLogger.java204 final StackTransitionInfo info = mStackTransitionInfo.get(stackId); in notifyActivityLaunched() local
205 if (launchedActivity != null && info != null) { in notifyActivityLaunched()
206 info.launchedActivity = launchedActivity; in notifyActivityLaunched()
210 final boolean otherStacksLaunching = mStackTransitionInfo.size() > 0 && info == null; in notifyActivityLaunched()
234 final StackTransitionInfo info = mStackTransitionInfo.get(stackId); in notifyWindowsDrawn() local
235 if (info == null || info.loggedWindowsDrawn) { in notifyWindowsDrawn()
238 info.windowsDrawnDelayMs = calculateDelay(timestamp); in notifyWindowsDrawn()
239 info.loggedWindowsDrawn = true; in notifyWindowsDrawn()
249 final StackTransitionInfo info = mStackTransitionInfo.get(stackId); in notifyStartingWindowDrawn() local
250 if (info == null || info.loggedStartingWindowDrawn) { in notifyStartingWindowDrawn()
[all …]
/frameworks/base/libs/hwui/
DRenderNode.cpp46 explicit ImmediateRemoved(TreeInfo* info) : mTreeInfo(info) {} in ImmediateRemoved() argument
190 void RenderNode::prepareTree(TreeInfo& info) { in prepareTree() argument
192 LOG_ALWAYS_FATAL_IF(!info.damageAccumulator, "DamageAccumulator missing"); in prepareTree()
193 MarkAndSweepRemoved observer(&info); in prepareTree()
199 prepareTreeImpl(observer, info, functorsNeedLayer); in prepareTree()
210 void RenderNode::damageSelf(TreeInfo& info) { in damageSelf() argument
213 info.damageAccumulator->dirty(0, 0, properties().getWidth(), properties().getHeight()); in damageSelf()
217 info.damageAccumulator->dirty(DIRTY_MIN, DIRTY_MIN, DIRTY_MAX, DIRTY_MAX); in damageSelf()
222 void RenderNode::prepareLayer(TreeInfo& info, uint32_t dirtyMask) { in prepareLayer() argument
229 info.damageAccumulator->popTransform(); in prepareLayer()
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicHistogram.cpp49 static void kernelP1U4(const RsExpandKernelDriverInfo *info,
52 static void kernelP1U3(const RsExpandKernelDriverInfo *info,
55 static void kernelP1U2(const RsExpandKernelDriverInfo *info,
58 static void kernelP1U1(const RsExpandKernelDriverInfo *info,
62 static void kernelP1L4(const RsExpandKernelDriverInfo *info,
65 static void kernelP1L3(const RsExpandKernelDriverInfo *info,
68 static void kernelP1L2(const RsExpandKernelDriverInfo *info,
71 static void kernelP1L1(const RsExpandKernelDriverInfo *info,
163 void RsdCpuScriptIntrinsicHistogram::kernelP1U4(const RsExpandKernelDriverInfo *info, in kernelP1U4() argument
167 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)info->usr; in kernelP1U4()
[all …]
DrsCpuIntrinsicConvolve3x3.cpp42 static void kernelU1(const RsExpandKernelDriverInfo *info,
45 static void kernelU2(const RsExpandKernelDriverInfo *info,
48 static void kernelU4(const RsExpandKernelDriverInfo *info,
51 static void kernelF1(const RsExpandKernelDriverInfo *info,
54 static void kernelF2(const RsExpandKernelDriverInfo *info,
57 static void kernelF4(const RsExpandKernelDriverInfo *info,
84 static void ConvolveOneU4(const RsExpandKernelDriverInfo *info, uint32_t x, uchar4 *out, in ConvolveOneU4() argument
89 uint32_t x2 = rsMin((int32_t)x+1, (int32_t)info->dim.x-1); in ConvolveOneU4()
106 static void ConvolveOneU2(const RsExpandKernelDriverInfo *info, uint32_t x, uchar2 *out, in ConvolveOneU2() argument
111 uint32_t x2 = rsMin((int32_t)x+1, (int32_t)info->dim.x-1); in ConvolveOneU2()
[all …]
DrsCpuIntrinsicConvolve5x5.cpp42 static void kernelU1(const RsExpandKernelDriverInfo *info,
45 static void kernelU2(const RsExpandKernelDriverInfo *info,
48 static void kernelU4(const RsExpandKernelDriverInfo *info,
51 static void kernelF1(const RsExpandKernelDriverInfo *info,
54 static void kernelF2(const RsExpandKernelDriverInfo *info,
57 static void kernelF4(const RsExpandKernelDriverInfo *info,
83 static void OneU4(const RsExpandKernelDriverInfo *info, uint32_t x, uchar4 *out, in OneU4() argument
90 uint32_t x3 = rsMin((int32_t)x+1, (int32_t)(info->dim.x-1)); in OneU4()
91 uint32_t x4 = rsMin((int32_t)x+2, (int32_t)(info->dim.x-1)); in OneU4()
126 static void OneU2(const RsExpandKernelDriverInfo *info, uint32_t x, uchar2 *out, in OneU2() argument
[all …]
DrsCpuIntrinsicBlur.cpp47 static void kernelU4(const RsExpandKernelDriverInfo *info,
50 static void kernelU1(const RsExpandKernelDriverInfo *info,
113 static void OneVU4(const RsExpandKernelDriverInfo *info, float4 *out, int32_t x, int32_t y, in OneVU4() argument
121 validY = rsMin(validY, (int)(info->dim.y- 1)); in OneVU4()
131 static void OneVU1(const RsExpandKernelDriverInfo *info, float *out, int32_t x, int32_t y, in OneVU1() argument
139 validY = rsMin(validY, (int)(info->dim.y - 1)); in OneVU1()
255 static void OneHU4(const RsExpandKernelDriverInfo *info, uchar4 *out, int32_t x, in OneHU4() argument
261 validX = rsMin(validX, (int)(info->dim.x - 1)); in OneHU4()
270 static void OneHU1(const RsExpandKernelDriverInfo *info, uchar *out, int32_t x, in OneHU1() argument
276 validX = rsMin(validX, (int)(info->dim.x - 1)); in OneHU1()
[all …]
/frameworks/support/compat/java/android/support/v4/accessibilityservice/
DAccessibilityServiceInfoCompat.java34 public int getCapabilities(AccessibilityServiceInfo info) { in getCapabilities() argument
35 if (getCanRetrieveWindowContent(info)) { in getCapabilities()
41 public String loadDescription(AccessibilityServiceInfo info, PackageManager pm) { in loadDescription() argument
49 public String loadDescription(AccessibilityServiceInfo info, PackageManager pm) { in loadDescription() argument
50 return info.loadDescription(pm); in loadDescription()
58 public int getCapabilities(AccessibilityServiceInfo info) { in getCapabilities() argument
59 return info.getCapabilities(); in getCapabilities()
250 public static String getId(AccessibilityServiceInfo info) { in getId() argument
251 return info.getId(); in getId()
266 public static ResolveInfo getResolveInfo(AccessibilityServiceInfo info) { in getResolveInfo() argument
[all …]
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java307 writer.println(mProcesses.valueAt(i).info); in dump()
420 return listener.info; in getInfo()
446 final BugreportInfo info = new BugreportInfo(mContext, id, pid, name, max); in startProgress() local
452 final DumpstateListener listener = new DumpstateListener(info); in startProgress()
453 mProcesses.put(info.id, listener); in startProgress()
455 updateProgress(info); in startProgress()
466 private void updateProgress(BugreportInfo info) { in updateProgress() argument
467 if (info.max <= 0 || info.progress < 0) { in updateProgress()
468 Log.e(TAG, "Invalid progress values for " + info); in updateProgress()
472 if (info.finished) { in updateProgress()
[all …]
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/applications/
DApplicationsStateTest.java38 mEntry.info = mock(ApplicationInfo.class); in setUp()
43 mEntry.info.flags = ApplicationInfo.FLAG_IS_GAME; in testGamesFilterAcceptsGameDeprecated()
50 mEntry.info.category = ApplicationInfo.CATEGORY_GAME; in testGameFilterAcceptsCategorizedGame()
57 mEntry.info.flags = ApplicationInfo.FLAG_IS_GAME; in testGameFilterAcceptsCategorizedGameAndDeprecatedIsGame()
58 mEntry.info.category = ApplicationInfo.CATEGORY_GAME; in testGameFilterAcceptsCategorizedGameAndDeprecatedIsGame()
65 mEntry.info.category = ApplicationInfo.CATEGORY_UNDEFINED; in testGamesFilterRejectsNotGame()
72 mEntry.info.category = ApplicationInfo.CATEGORY_AUDIO; in testAudioFilterAcceptsCategorizedAudio()
79 mEntry.info.category = ApplicationInfo.CATEGORY_GAME; in testAudiosFilterRejectsNotAudio()
86 mEntry.info.category = ApplicationInfo.CATEGORY_UNDEFINED; in testAudiosFilterRejectsDefaultCategory()
93 mEntry.info.category = ApplicationInfo.CATEGORY_AUDIO; in testOtherAppsRejectsAudio()
[all …]
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DBaseCardViewTest.java88 View info = new View(cardView.getContext()); in infoOver_InfoVisibleAlways() local
90 info.addOnLayoutChangeListener(onLayout); in infoOver_InfoVisibleAlways()
91 info.setLayoutParams(createLayoutParams(VIEW_TYPE_INFO, MATCH_PARENT, 200)); in infoOver_InfoVisibleAlways()
92 cardView.addView(info); in infoOver_InfoVisibleAlways()
98 assertEquals(1f, info.getAlpha(), 0.01f); in infoOver_InfoVisibleAlways()
105 assertEquals(1f, info.getAlpha(), 0.01f); in infoOver_InfoVisibleAlways()
112 assertEquals(1f, info.getAlpha(), 0.01f); in infoOver_InfoVisibleAlways()
119 assertEquals(1f, info.getAlpha(), 0.01f); in infoOver_InfoVisibleAlways()
126 assertEquals(1f, info.getAlpha(), 0.01f); in infoOver_InfoVisibleAlways()
135 View info = new View(cardView.getContext()); in infoUnder_InfoVisibleAlways() local
[all …]
/frameworks/base/libs/hwui/hwui/
DBitmap.cpp53 typedef sk_sp<Bitmap> (*AllocPixeRef)(size_t allocSize, const SkImageInfo& info, size_t rowBytes,
57 const SkImageInfo& info = bitmap->info(); in allocateBitmap() local
58 if (info.colorType() == kUnknown_SkColorType) { in allocateBitmap()
72 auto wrapper = alloc(size, info, rowBytes, ctable); in allocateBitmap()
86 static sk_sp<Bitmap> allocateHeapBitmap(size_t size, const SkImageInfo& info, size_t rowBytes, in allocateHeapBitmap() argument
92 return sk_sp<Bitmap>(new Bitmap(addr, size, info, rowBytes, ctable)); in allocateHeapBitmap()
221 const SkImageInfo& info = skBitmap.info(); in allocateHardwareBitmap() local
222 if (info.colorType() == kUnknown_SkColorType || info.colorType() == kAlpha_8_SkColorType) { in allocateHardwareBitmap()
223 ALOGW("unable to create hardware bitmap of colortype: %d", info.colorType()); in allocateHardwareBitmap()
227 bool needSRGB = uirenderer::transferFunctionCloseToSRGB(skBitmap.info().colorSpace()); in allocateHardwareBitmap()
[all …]
/frameworks/base/core/jni/
Dandroid_os_VintfRuntimeInfo.cpp35 const RuntimeInfo *info = VintfObject::GetRuntimeInfo(); \
36 if (info == nullptr) return nullptr; \
40 MAP_STRING_METHOD(getCpuInfo, info->cpuInfo());
41 MAP_STRING_METHOD(getOsName, info->osName());
42 MAP_STRING_METHOD(getNodeName, info->nodeName());
43 MAP_STRING_METHOD(getOsRelease, info->osRelease());
44 MAP_STRING_METHOD(getOsVersion, info->osVersion());
45 MAP_STRING_METHOD(getHardwareId, info->hardwareId());
46 MAP_STRING_METHOD(getKernelVersion, vintf::to_string(info->kernelVersion()));
47 MAP_STRING_METHOD(getBootAvbVersion, vintf::to_string(info->bootAvbVersion()));
[all …]
/frameworks/opt/setupwizard/library/eclair-mr1/test/instrumentation/src/com/android/setupwizardlib/test/
DLinkAccessibilityHelperTest.java119 AccessibilityNodeInfoCompat info = AccessibilityNodeInfoCompat.obtain(); in testOnPopulateNodeForVirtualView() local
120 mHelper.onPopulateNodeForVirtualView(1, info); in testOnPopulateNodeForVirtualView()
123 "e", info.getContentDescription().toString()); in testOnPopulateNodeForVirtualView()
124 assertTrue("LinkSpan should be focusable", info.isFocusable()); in testOnPopulateNodeForVirtualView()
125 assertTrue("LinkSpan should be clickable", info.isClickable()); in testOnPopulateNodeForVirtualView()
127 info.getBoundsInParent(bounds); in testOnPopulateNodeForVirtualView()
131 info.recycle(); in testOnPopulateNodeForVirtualView()
141 AccessibilityNodeInfoCompat info = AccessibilityNodeInfoCompat.obtain(); in testNullLayout() local
142 mHelper.onPopulateNodeForVirtualView(0, info); in testNullLayout()
145 info.getBoundsInParent(bounds); in testNullLayout()
[all …]
/frameworks/base/graphics/java/android/graphics/
DPixelFormat.java103 public static void getPixelFormatInfo(@Format int format, PixelFormat info) { in getPixelFormatInfo() argument
108 info.bitsPerPixel = 32; in getPixelFormatInfo()
109 info.bytesPerPixel = 4; in getPixelFormatInfo()
112 info.bitsPerPixel = 24; in getPixelFormatInfo()
113 info.bytesPerPixel = 3; in getPixelFormatInfo()
119 info.bitsPerPixel = 16; in getPixelFormatInfo()
120 info.bytesPerPixel = 2; in getPixelFormatInfo()
125 info.bitsPerPixel = 8; in getPixelFormatInfo()
126 info.bytesPerPixel = 1; in getPixelFormatInfo()
130 info.bitsPerPixel = 16; in getPixelFormatInfo()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DAppRestrictionsHelper.java114 ApplicationInfo info = mIPm.getApplicationInfo(packageName, in applyUserAppState() local
116 if (info == null || !info.enabled in applyUserAppState()
117 || (info.flags&ApplicationInfo.FLAG_INSTALLED) == 0) { in applyUserAppState()
124 if (info != null && (info.privateFlags&ApplicationInfo.PRIVATE_FLAG_HIDDEN) != 0 in applyUserAppState()
125 && (info.flags&ApplicationInfo.FLAG_INSTALLED) != 0) { in applyUserAppState()
138 ApplicationInfo info = mIPm.getApplicationInfo(packageName, 0, userId); in applyUserAppState() local
139 if (info != null) { in applyUserAppState()
190 SelectableAppInfo info = new SelectableAppInfo(); in fetchAndMergeApps() local
191 info.packageName = app.packageName; in fetchAndMergeApps()
192 info.appName = app.loadLabel(pm); in fetchAndMergeApps()
[all …]
/frameworks/native/services/sensorservice/
DSensorDevice.cpp144 const Info& info = mActivationCount.valueFor(handle); in dump() local
145 if (info.batchParams.isEmpty()) continue; in dump()
147 result.appendFormat("0x%08x) active-count = %zu; ", handle, info.batchParams.size()); in dump()
150 for (size_t j = 0; j < info.batchParams.size(); j++) { in dump()
151 const BatchParams& params = info.batchParams[j]; in dump()
153 j < info.batchParams.size() - 1 ? ", " : ""); in dump()
155 result.appendFormat("}, selected = %.2f ms; ", info.bestBatchParams.mTSample / 1e6f); in dump()
158 for (size_t j = 0; j < info.batchParams.size(); j++) { in dump()
159 const BatchParams& params = info.batchParams[j]; in dump()
161 j < info.batchParams.size() - 1 ? ", " : ""); in dump()
[all …]
/frameworks/native/vulkan/tools/
Dvkinfo.cpp126 GpuInfo& info) { in GatherGpuInfo() argument
130 vkGetPhysicalDeviceProperties(gpu, &info.properties); in GatherGpuInfo()
131 vkGetPhysicalDeviceMemoryProperties(gpu, &info.memory); in GatherGpuInfo()
132 vkGetPhysicalDeviceFeatures(gpu, &info.features); in GatherGpuInfo()
135 info.queue_families.resize(count); in GatherGpuInfo()
137 info.queue_families.data()); in GatherGpuInfo()
143 info.layers.resize(count); in GatherGpuInfo()
145 vkEnumerateDeviceLayerProperties(gpu, &count, info.layers.data()); in GatherGpuInfo()
149 info.layer_extensions.resize(info.layers.size()); in GatherGpuInfo()
151 EnumerateDeviceExtensions(gpu, nullptr, &info.extensions); in GatherGpuInfo()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallerInfo.java174 CallerInfo info = new CallerInfo(); in getCallerInfo() local
175 info.photoResource = 0; in getCallerInfo()
176 info.phoneLabel = null; in getCallerInfo()
177 info.numberType = 0; in getCallerInfo()
178 info.numberLabel = null; in getCallerInfo()
179 info.cachedPhoto = null; in getCallerInfo()
180 info.isCachedPhotoCurrent = false; in getCallerInfo()
181 info.contactExists = false; in getCallerInfo()
182 info.userType = USER_TYPE_CURRENT; in getCallerInfo()
197 info.name = cursor.getString(columnIndex); in getCallerInfo()
[all …]
/frameworks/av/media/libstagefright/wifi-display/
DMediaSender.cpp73 TrackInfo info; in addTrack() local
74 info.mFormat = format; in addTrack()
75 info.mFlags = flags; in addTrack()
76 info.mPacketizerTrackIndex = -1; in addTrack()
80 info.mIsAudio = !strncasecmp("audio/", mime.c_str(), 6); in addTrack()
83 mTrackInfos.push_back(info); in addTrack()
110 TrackInfo *info = &mTrackInfos.editItemAt(i); in initAsync() local
113 mTSPacketizer->addTrack(info->mFormat); in initAsync()
120 info->mPacketizerTrackIndex = packetizerTrackIndex; in initAsync()
145 TrackInfo *info = &mTrackInfos.editItemAt(i); in initAsync() local
[all …]
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
DProcessErrorsTest.java227 final String errPkg = err.info.processName; in packageMatches()
271 newList.add(err.info); in reportWrappedListContents()
319 public final ProcessErrorStateInfo info; field in ProcessErrorsTest.ProcessError
322 info = newInfo; in ProcessError()
332 for (ProcessErrorStateInfo info : in) { in fromCollection()
333 out.add(new ProcessError(info)); in fromCollection()
354 return (info.condition == peOther.info.condition) in equals()
355 && strEquals(info.longMsg, peOther.info.longMsg) in equals()
356 && (info.pid == peOther.info.pid) in equals()
357 && strEquals(info.processName, peOther.info.processName) in equals()
[all …]

12345678910>>...42