Home
last modified time | relevance | path

Searched refs:cw (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPhotoFallbackEffect.java109 float cw = s.width() * scale; in drawEntry() local
121 mTarget.set(cx - cw / 2, cy - ch / 2, cx - ch / 2, cy + ch / 2); in drawEntry()
126 mTarget.set(cx + ch / 2, cy - ch / 2, cx + cw / 2, cy + ch / 2); in drawEntry()
133 mTarget.set(cx - cw / 2, cy - cw / 2, cx + cw / 2, cy + cw / 2); in drawEntry()
141 mTarget.set(cx - cw / 2, cy - ch / 2, cx + cw / 2, cy - cw / 2); in drawEntry()
146 mTarget.set(cx - cw / 2, cy + cw / 2, cx + cw / 2, cy + ch / 2); in drawEntry()
/packages/apps/Music/src/com/android/music/
DMusicUtils.java172 ContextWrapper cw = new ContextWrapper(realActivity); in bindToService() local
173 cw.startService(new Intent(cw, MediaPlaybackService.class)); in bindToService()
175 if (cw.bindService((new Intent()).setClass(cw, MediaPlaybackService.class), sb, 0)) { in bindToService()
176 sConnectionMap.put(cw, sb); in bindToService()
177 return new ServiceToken(cw); in bindToService()
188 ContextWrapper cw = token.mWrappedContext; in unbindFromService() local
189 ServiceBinder sb = sConnectionMap.remove(cw); in unbindFromService()
194 cw.unbindService(sb); in unbindFromService()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DMovieControllerOverlay.java359 int cw = view.getMeasuredWidth(); in layoutCenteredView() local
361 int cl = (r - l - cw) / 2; in layoutCenteredView()
363 view.layout(cl, ct, cl + cw, ct + ch); in layoutCenteredView()
/packages/apps/Launcher2/src/com/android/launcher2/
DAppsCustomizePagedView.java100 AsyncTaskPageData(int p, ArrayList<Object> l, int cw, int ch, AsyncTaskCallback bgR, in AsyncTaskPageData() argument
105 maxImageWidth = cw; in AsyncTaskPageData()