Home
last modified time | relevance | path

Searched refs:component (Results 1 – 20 of 20) sorted by relevance

/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DICalendarTest.java38 ICalendar.Component component = new ICalendar.Component("DUMMY", null); in testAddProperty() local
40 component.addProperty(new ICalendar.Property("prop2", "value3")); in testAddProperty()
41 component.addProperty(new ICalendar.Property("prop1", "value1")); in testAddProperty()
42 component.addProperty(new ICalendar.Property("prop1", "value2")); in testAddProperty()
43 assertEquals(text, component.toString()); in testAddProperty()
74 ICalendar.Component component = ICalendar.parseComponent(text); in testParseBasicComponent() local
76 assertEquals("DUMMY", component.getName()); in testParseBasicComponent()
77 assertNull(component.getComponents()); in testParseBasicComponent()
78 assertEquals(2, component.getPropertyNames().size()); in testParseBasicComponent()
79 ICalendar.Property prop1 = component.getFirstProperty("PROP1"); in testParseBasicComponent()
[all …]
DRecurrenceSetTest.java104 ICalendar.Component component = new ICalendar.Component(MOCK_COMPONENT_NAME, null); in testRRULEfolding() local
111 assertTrue(RecurrenceSet.populateComponent(values, component)); in testRRULEfolding()
112 List<ICalendar.Property> list = component.getProperties("DTSTART"); in testRRULEfolding()
116 list = component.getProperties("RRULE"); in testRRULEfolding()
120 component = new ICalendar.Component(MOCK_COMPONENT_NAME, null); in testRRULEfolding()
127 assertTrue(RecurrenceSet.populateComponent(values, component)); in testRRULEfolding()
129 list = component.getProperties("RRULE"); in testRRULEfolding()
133 component = new ICalendar.Component(MOCK_COMPONENT_NAME, null); in testRRULEfolding()
140 assertTrue(RecurrenceSet.populateComponent(values, component)); in testRRULEfolding()
142 list = component.getProperties("RRULE"); in testRRULEfolding()
/packages/apps/Gallery3D/src/com/cooliris/media/
DPathBarLayer.java55 final Component component = mComponents.get(i); in setAnimatedIcons() local
56 if (component != null) { in setAnimatedIcons()
57 if (component.animatedIcons != null) { in setAnimatedIcons()
58 component.animatedIcons = null; in setAnimatedIcons()
61 component.animatedIcons = icons; in setAnimatedIcons()
71 Component component = popLabel(); in changeLabel()
72 if (component != null) { in changeLabel()
73 pushLabel(component.icon, label, component.action); in changeLabel()
164 Component component = mComponents.get(i); in layout() local
165 if (component == null) in layout()
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DAllAppsList.java107 final ComponentName component = info.intent.getComponent(); in removePackage() local
108 if (packageName.equals(component.getPackageName())) { in removePackage()
127 final ComponentName component = applicationInfo.intent.getComponent(); in updatePackage() local
128 if (packageName.equals(component.getPackageName())) { in updatePackage()
129 if (!findActivity(matches, component)) { in updatePackage()
131 mIconCache.remove(component); in updatePackage()
157 final ComponentName component = applicationInfo.intent.getComponent(); in updatePackage() local
158 if (packageName.equals(component.getPackageName())) { in updatePackage()
160 mIconCache.remove(component); in updatePackage()
184 private static boolean findActivity(List<ResolveInfo> apps, ComponentName component) { in findActivity() argument
[all …]
DIconCache.java105 ComponentName component = intent.getComponent(); in getIcon() local
107 if (resolveInfo == null || component == null) { in getIcon()
111 CacheEntry entry = cacheLocked(component, resolveInfo); in getIcon()
116 public Bitmap getIcon(ComponentName component, ResolveInfo resolveInfo) { in getIcon() argument
118 if (resolveInfo == null || component == null) { in getIcon()
122 CacheEntry entry = cacheLocked(component, resolveInfo); in getIcon()
DAllApps2D.java302 ComponentName component = item.intent.getComponent(); in findAppByComponent() local
306 if (x.intent.getComponent().equals(component)) { in findAppByComponent()
DAllApps3D.java943 ComponentName component = item.intent.getComponent();
947 if (x.intent.getComponent().equals(component)) {
/packages/apps/Camera/src/com/android/camera/ui/
DGLView.java138 public void addComponent(GLView component) { in addComponent() argument
142 mComponents.add(component); in addComponent()
143 component.onAddToParent(this); in addComponent()
146 public boolean removeComponent(GLView component) { in removeComponent() argument
148 if (mComponents.remove(component)) { in removeComponent()
149 component.onRemoveFromParent(this); in removeComponent()
194 GLView component = getComponent(i); in render() local
195 if (component.getVisibility() != GLView.VISIBLE in render()
196 && component.mAnimation == null) continue; in render()
197 renderChild(view, gl, component); in render()
[all …]
DIndicatorBar.java98 GLView component = getComponent(i); in onMeasure() local
99 component.measure( in onMeasure()
101 width = Math.max(width, component.getMeasuredWidth()); in onMeasure()
102 height += component.getMeasuredHeight(); in onMeasure()
185 GLView component = getComponent(i); in onTouch() local
186 if (y <= component.mBounds.bottom) { in onTouch()
187 setSelectedItem(component, i - 1); in onTouch()
DMeasureHelper.java28 public MeasureHelper(GLView component) { in MeasureHelper() argument
29 mComponent = component; in MeasureHelper()
DPopupWindow.java68 public void addComponent(GLView component) { in addComponent() argument
/packages/apps/Browser/src/com/android/browser/
DUrlUtils.java42 String component = hostComponents[googleComponent]; in isGoogleUri() local
43 if (!"google".equals(component)) { in isGoogleUri()
45 (!"co".equals(component) && !"com".equals(component))) { in isGoogleUri()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSearchableSources.java123 public Source createSourceFor(ComponentName component) { in createSourceFor() argument
124 SearchableInfo info = mSearchManager.getSearchableInfo(component); in createSourceFor()
126 if (DBG) Log.d(TAG, "SearchableSource for " + component + ": " + source); in createSourceFor()
DSources.java35 Source createSourceFor(ComponentName component); in createSourceFor() argument
/packages/apps/VoiceDialer/src/com/android/voicedialer/
DCommandRecognizerEngine.java349 String component = packageName + "/" + className; in addClassName() local
355 openEntries.put(labelLowerCase, component); in addClassName()
359 int index = classList.indexOf(component); in addClassName()
360 int after = index + component.length(); in addClassName()
365 openEntries.put(labelLowerCase, classList + ' ' + component); in addClassName()
1158 String component = components[i]; in onRecognitionSuccess() local
1161 String packageName = component.substring( in onRecognitionSuccess()
1162 0, component.lastIndexOf('/')); in onRecognitionSuccess()
1163 String className = component.substring( in onRecognitionSuccess()
1164 component.lastIndexOf('/')+1, component.length()); in onRecognitionSuccess()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DMockSources.java50 public Source createSourceFor(ComponentName component) { in createSourceFor() argument
/packages/apps/Settings/src/com/android/settings/
DDeviceInfoSettings.java66 ComponentName component = ComponentName.unflattenFromString(currentIme); in onCreate() local
67 Intent imeIntent = new Intent(component.getPackageName() + ".tutorial"); in onCreate()
/packages/apps/Nfc/src/com/android/nfc/
DRegisteredComponentCache.java135 for (ComponentInfo component : components) { in dump()
136 Log.i(TAG, component.toString()); in dump()
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/
DApplicationsProvider.java325 ComponentName component = ComponentName.unflattenFromString(shortcutId); in refreshShortcut() local
326 if (component == null) { in refreshShortcut()
334 String[] selectionArgs = { component.getPackageName(), component.getClassName() }; in refreshShortcut()
/packages/apps/Contacts/src/com/android/contacts/
DContactsListActivity.java578 String component = intent.getComponent().getClassName(); in onCreate() local
597 component = originalComponent; in onCreate()
648 if (component.equals("alias.DialShortcut")) { in onCreate()
653 } else if (component.equals("alias.MessageShortcut")) { in onCreate()