Lines Matching refs:icon
155 FolderIcon icon = (FolderIcon) LayoutInflater.from(launcher).inflate(resId, group, false); in fromXml() local
156 icon.setClipToPadding(false); in fromXml()
157 icon.mFolderName = (BubbleTextView) icon.findViewById(R.id.folder_icon_name); in fromXml()
158 icon.mFolderName.setText(folderInfo.title); in fromXml()
159 icon.mFolderName.setCompoundDrawablePadding(0); in fromXml()
160 FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) icon.mFolderName.getLayoutParams(); in fromXml()
164 icon.mPreviewBackground = (ImageView) icon.findViewById(R.id.preview_background); in fromXml()
165 lp = (FrameLayout.LayoutParams) icon.mPreviewBackground.getLayoutParams(); in fromXml()
170 icon.setTag(folderInfo); in fromXml()
171 icon.setOnClickListener(launcher); in fromXml()
172 icon.mInfo = folderInfo; in fromXml()
173 icon.mLauncher = launcher; in fromXml()
174 icon.setContentDescription(String.format(launcher.getString(R.string.folder_name_format), in fromXml()
178 folder.setFolderIcon(icon); in fromXml()
180 icon.mFolder = folder; in fromXml()
182 icon.mFolderRingAnimator = new FolderRingAnimator(launcher, icon); in fromXml()
183 folderInfo.addListener(icon); in fromXml()
185 icon.setOnFocusChangeListener(launcher.mFocusHandler); in fromXml()
186 return icon; in fromXml()