Home
last modified time | relevance | path

Searched refs:l (Results 1 – 25 of 78) sorted by relevance

1234

/packages/apps/Email/src/com/android/email/
DGroupMessagingListener.java56 for (MessagingListener l : mListeners) { in listFoldersStarted()
57 l.listFoldersStarted(accountId); in listFoldersStarted()
63 for (MessagingListener l : mListeners) { in listFoldersFailed()
64 l.listFoldersFailed(accountId, message); in listFoldersFailed()
70 for (MessagingListener l : mListeners) { in listFoldersFinished()
71 l.listFoldersFinished(accountId); in listFoldersFinished()
77 for (MessagingListener l : mListeners) { in synchronizeMailboxStarted()
78 l.synchronizeMailboxStarted(accountId, mailboxId); in synchronizeMailboxStarted()
85 for (MessagingListener l : mListeners) { in synchronizeMailboxFinished()
86 l.synchronizeMailboxFinished(accountId, mailboxId, in synchronizeMailboxFinished()
[all …]
DController.java876 for (Result l : mListeners) { in listFoldersStarted()
877 l.updateMailboxListCallback(null, accountId, 0); in listFoldersStarted()
885 for (Result l : mListeners) { in listFoldersFailed()
886 l.updateMailboxListCallback(new MessagingException(message), accountId, 0); in listFoldersFailed()
894 for (Result l : mListeners) { in listFoldersFinished()
895 l.updateMailboxListCallback(null, accountId, 100); in listFoldersFinished()
903 for (Result l : mListeners) { in synchronizeMailboxStarted()
904 l.updateMailboxCallback(null, accountId, mailboxId, 0, 0); in synchronizeMailboxStarted()
913 for (Result l : mListeners) { in synchronizeMailboxFinished()
914 l.updateMailboxCallback(null, accountId, mailboxId, 100, numNewMessages); in synchronizeMailboxFinished()
[all …]
/packages/apps/Settings/src/com/android/settings/
DLocalePicker.java90 Locale l = new Locale(language, country); in onCreate() local
94 toTitleCase(l.getDisplayLanguage(l))); in onCreate()
96 new Loc(toTitleCase(l.getDisplayLanguage(l)), l); in onCreate()
110 toTitleCase(getDisplayName(l))); in onCreate()
112 new Loc(toTitleCase(getDisplayName(l)), l); in onCreate()
118 displayName = toTitleCase(l.getDisplayLanguage(l)); in onCreate()
121 preprocess[finalSize++] = new Loc(displayName, l); in onCreate()
146 private String getDisplayName(Locale l) { in getDisplayName() argument
147 String code = l.toString(); in getDisplayName()
155 return l.getDisplayName(l); in getDisplayName()
[all …]
/packages/apps/Mms/src/com/android/mms/util/
DDraftCache.java128 for (OnDraftChangedListener l : mChangeListeners) { in rebuildCache()
130 l.onDraftChanged(threadId, true); in rebuildCache()
133 l.onDraftChanged(threadId, false); in rebuildCache()
164 for (OnDraftChangedListener l : mChangeListeners) { in setDraftState()
165 l.onDraftChanged(threadId, hasDraft); in setDraftState()
177 public synchronized void addOnDraftChangedListener(OnDraftChangedListener l) { in addOnDraftChangedListener() argument
179 log("addOnDraftChangedListener " + l); in addOnDraftChangedListener()
181 mChangeListeners.add(l); in addOnDraftChangedListener()
184 public synchronized void removeOnDraftChangedListener(OnDraftChangedListener l) { in removeOnDraftChangedListener() argument
186 log("removeOnDraftChangedListener " + l); in removeOnDraftChangedListener()
[all …]
/packages/apps/Camera/src/com/android/camera/
DPreviewFrameLayout.java110 protected void onLayout(boolean changed, int l, int t, int r, int b) { in onLayout() argument
119 int leftSpace = ((r - l) - frameWidth) / 2; in onLayout()
128 Math.max(l, l + (leftSpace - gripperWidth)), in onLayout()
132 myLayoutChild(mFrame, Math.max(l + leftSpace, l + gripperWidth), in onLayout()
139 private static void myLayoutChild(View child, int l, int t, int w, int h) { in myLayoutChild() argument
140 child.layout(l, t, l + w, t + h); in myLayoutChild()
DEvenlySpacedLayout.java67 private void layoutHorizontal(boolean changed, int l, int t, int r, int b) { in layoutHorizontal() argument
79 int spacing = (r - l - usedWidth) / in layoutHorizontal()
94 private void layoutVertical(boolean changed, int l, int t, int r, int b) { in layoutVertical() argument
122 protected void onLayout(boolean changed, int l, int t, int r, int b) { in onLayout() argument
124 layoutHorizontal(changed, l, t, r, b); in onLayout()
126 layoutVertical(changed, l, t, r, b); in onLayout()
DImageManager.java333 ArrayList<BaseImageList> l = new ArrayList<BaseImageList>(); in makeImageList() local
337 l.add(new ImageList( in makeImageList()
341 l.add(new VideoList(cr, VIDEO_STORAGE_URI, sort, bucketId)); in makeImageList()
346 l.add(new ImageList(cr, in makeImageList()
352 l.add(new DrmImageList( in makeImageList()
359 Iterator<BaseImageList> iter = l.iterator(); in makeImageList()
368 if (l.size() == 1) { in makeImageList()
369 BaseImageList list = l.get(0); in makeImageList()
374 l.toArray(new IImageList[l.size()]), sort); in makeImageList()
/packages/apps/Gallery/src/com/android/camera/
DPreviewFrameLayout.java112 protected void onLayout(boolean changed, int l, int t, int r, int b) { in onLayout() argument
121 int leftSpace = ((r - l) - frameWidth) / 2; in onLayout()
130 Math.max(l, l + (leftSpace - gripperWidth)), in onLayout()
134 myLayoutChild(mFrame, Math.max(l + leftSpace, l + gripperWidth), in onLayout()
141 private static void myLayoutChild(View child, int l, int t, int w, int h) { in myLayoutChild() argument
142 child.layout(l, t, l + w, t + h); in myLayoutChild()
DEvenlySpacedLayout.java69 private void layoutHorizontal(boolean changed, int l, int t, int r, int b) { in layoutHorizontal() argument
81 int spacing = (r - l - usedWidth) / in layoutHorizontal()
96 private void layoutVertical(boolean changed, int l, int t, int r, int b) { in layoutVertical() argument
124 protected void onLayout(boolean changed, int l, int t, int r, int b) { in onLayout() argument
126 layoutHorizontal(changed, l, t, r, b); in onLayout()
128 layoutVertical(changed, l, t, r, b); in onLayout()
DImageManager.java333 ArrayList<BaseImageList> l = new ArrayList<BaseImageList>(); in makeImageList() local
337 l.add(new ImageList( in makeImageList()
341 l.add(new VideoList(cr, VIDEO_STORAGE_URI, sort, bucketId)); in makeImageList()
346 l.add(new ImageList(cr, in makeImageList()
352 l.add(new DrmImageList( in makeImageList()
359 Iterator<BaseImageList> iter = l.iterator(); in makeImageList()
368 if (l.size() == 1) { in makeImageList()
369 BaseImageList list = l.get(0); in makeImageList()
374 l.toArray(new IImageList[l.size()]), sort); in makeImageList()
/packages/apps/Email/src/org/apache/james/mime4j/field/contenttype/parser/
DContentTypeParserTokenManager.java126 long l = 1L << curChar; in jjMoveNfa_0() local
132 if ((0x3ff6cfafffffdffL & l) != 0L) in jjMoveNfa_0()
138 else if ((0x100000200L & l) != 0L) in jjMoveNfa_0()
144 if ((0x3ff000000000000L & l) != 0L) in jjMoveNfa_0()
152 if ((0x100000200L & l) == 0L) in jjMoveNfa_0()
158 if ((0x3ff000000000000L & l) == 0L) in jjMoveNfa_0()
165 if ((0x3ff6cfafffffdffL & l) == 0L) in jjMoveNfa_0()
177 long l = 1L << (curChar & 077); in jjMoveNfa_0() local
184 if ((0xffffffffc7fffffeL & l) == 0L) in jjMoveNfa_0()
272 long l = 1L << curChar; in jjMoveNfa_1() local
[all …]
/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/
DAddressListParserTokenManager.java132 long l = 1L << curChar; in jjMoveNfa_0() local
138 if ((0xa3ffacfa00000000L & l) != 0L) in jjMoveNfa_0()
144 else if ((0x100000200L & l) != 0L) in jjMoveNfa_0()
152 if ((0x100000200L & l) == 0L) in jjMoveNfa_0()
158 if ((0xa3ffecfa00000000L & l) == 0L) in jjMoveNfa_0()
170 long l = 1L << (curChar & 077); in jjMoveNfa_0() local
177 if ((0x7fffffffc7fffffeL & l) == 0L) in jjMoveNfa_0()
261 long l = 1L << curChar; in jjMoveNfa_2() local
280 long l = 1L << (curChar & 077); in jjMoveNfa_2() local
380 long l = 1L << curChar; in jjMoveNfa_4() local
[all …]
/packages/apps/Email/src/org/apache/james/mime4j/message/
DHeader.java107 List l = (List) fieldMap.get(name.toLowerCase()); in getField() local
108 if (l != null && !l.isEmpty()) { in getField()
109 return (Field) l.get(0); in getField()
121 List l = (List) fieldMap.get(name.toLowerCase()); in getFields() local
122 return Collections.unmodifiableList(l); in getFields()
/packages/apps/IM/src/com/android/im/service/
DAndroidSmsService.java110 ListenerList l = mListeners.get(port); in addSmsListener() local
111 if (l == null) { in addSmsListener()
112 l = new ListenerList(port); in addSmsListener()
113 mListeners.put(port, l); in addSmsListener()
126 l.addListener(from, listener); in addSmsListener()
132 ListenerList l = iter.next(); in removeSmsListener() local
133 l.removeListener(listener); in removeSmsListener()
134 if (l.isEmpty()) { in removeSmsListener()
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/parser/
DDateTimeParserTokenManager.java310 long l = 1L << curChar; in jjMoveNfa_0() local
316 if ((0x3ff000000000000L & l) != 0L) in jjMoveNfa_0()
322 else if ((0x100000200L & l) != 0L) in jjMoveNfa_0()
328 else if ((0x280000000000L & l) != 0L) in jjMoveNfa_0()
335 if ((0x100000200L & l) == 0L) in jjMoveNfa_0()
341 if ((0x3ff000000000000L & l) == 0L) in jjMoveNfa_0()
352 long l = 1L << (curChar & 077); in jjMoveNfa_0() local
358 if ((0x7fffbfe07fffbfeL & l) != 0L) in jjMoveNfa_0()
439 long l = 1L << curChar; in jjMoveNfa_1() local
458 long l = 1L << (curChar & 077); in jjMoveNfa_1() local
[all …]
/packages/apps/Mms/src/com/android/mms/data/
DContactList.java66 public void addListeners(UpdateListener l) { in addListeners() argument
68 c.addListener(l); in addListeners()
72 public void removeListeners(UpdateListener l) { in removeListeners() argument
74 c.removeListener(l); in removeListeners()
DContact.java247 for (UpdateListener l : c.mListeners) { in updateContact()
248 if (V) Log.d(TAG, "updating " + l); in updateContact()
249 l.onUpdate(c); in updateContact()
334 public synchronized void addListener(UpdateListener l) { in addListener() argument
335 boolean added = mListeners.add(l); in addListener()
339 public synchronized void removeListener(UpdateListener l) { in removeListener() argument
340 boolean removed = mListeners.remove(l); in removeListener()
/packages/apps/Phone/src/com/android/phone/
DEditPhoneNumberPreference.java271 public void setDialogOnFocusChangeListener(View.OnFocusChangeListener l) { in setDialogOnFocusChangeListener() argument
272 mDialogFocusChangeListener = l; in setDialogOnFocusChangeListener()
276 public void setDialogOnClosedListener(OnDialogClosedListener l) { in setDialogOnClosedListener() argument
277 mDialogOnClosedListener = l; in setDialogOnClosedListener()
289 public void setParentActivity(Activity parent, int identifier, GetDefaultNumberListener l) { in setParentActivity() argument
292 mGetDefaultNumberListener = l; in setParentActivity()
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
DVUMeter.java77 float l = h*4/5; in onDraw() local
80 float x0 = pivotX - l*cos; in onDraw()
81 float y0 = pivotY - l*sin; in onDraw()
/packages/inputmethods/LatinIME/src/com/android/inputmethod/latin/
DTutorial.java117 Layout l = new StaticLayout(text, tv.getPaint(), cap, in chooseSize() local
120 for (int i = 0; i < l.getLineCount(); i++) { in chooseSize()
121 max = Math.max(max, l.getLineWidth(i)); in chooseSize()
128 pop.setHeight(ht + l.getHeight()); in chooseSize()
129 return l.getHeight(); in chooseSize()
/packages/apps/Contacts/src/com/android/contacts/ui/
DQuickContactWindow.java392 WindowManager.LayoutParams l = mWindow.getAttributes(); in showInternal() local
394 l.width = mScreenWidth + mShadowHoriz + mShadowHoriz; in showInternal()
395 l.height = WindowManager.LayoutParams.WRAP_CONTENT; in showInternal()
398 mDecor.measure(l.width, l.height); in showInternal()
401 l.gravity = Gravity.TOP | Gravity.LEFT; in showInternal()
402 l.x = -mShadowHoriz; in showInternal()
408 l.y = mAnchor.top - blockHeight + mShadowVert; in showInternal()
409 l.windowAnimations = R.style.QuickContactAboveAnimation; in showInternal()
415 l.y = mAnchor.bottom - mShadowVert; in showInternal()
416 l.windowAnimations = R.style.QuickContactBelowAnimation; in showInternal()
[all …]
/packages/apps/Music/src/com/android/music/
DTouchInterceptor.java375 public void setDragListener(DragListener l) { in setDragListener() argument
376 mDragListener = l; in setDragListener()
379 public void setDropListener(DropListener l) { in setDropListener() argument
380 mDropListener = l; in setDropListener()
383 public void setRemoveListener(RemoveListener l) { in setRemoveListener() argument
384 mRemoveListener = l; in setRemoveListener()
/packages/apps/GoogleSearch/src/com/android/googlesearch/
DGoogleSearch.java80 Locale l = Locale.getDefault(); in handleWebSearchIntent() local
81 String language = l.getLanguage(); in handleWebSearchIntent()
82 String country = l.getCountry().toLowerCase(); in handleWebSearchIntent()
/packages/apps/Calculator/src/com/android/calculator2/
DCalculatorDisplay.java114 public void setOnKeyListener(OnKeyListener l) { in setOnKeyListener() argument
115 getChildAt(0).setOnKeyListener(l); in setOnKeyListener()
116 getChildAt(1).setOnKeyListener(l); in setOnKeyListener()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
DTutorialEN.java147 Layout l = new StaticLayout(text, tv.getPaint(), cap, in chooseSize() local
150 for (int i = 0; i < l.getLineCount(); i++) { in chooseSize()
151 max = Math.max(max, l.getLineWidth(i)); in chooseSize()
158 pop.setHeight(ht + l.getHeight()); in chooseSize()
159 return l.getHeight(); in chooseSize()

1234