Home
last modified time | relevance | path

Searched refs:mConfig (Results 1 – 16 of 16) sorted by relevance

/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
DEnvironment.java104 private Configuration mConfig = new Configuration(); field in Environment
118 if (mConfig.orientation != newConfig.orientation) { in onConfigurationChanged()
143 mConfig.updateFrom(newConfig); in onConfigurationChanged()
147 return mConfig; in getConfiguration()
167 if (Configuration.ORIENTATION_LANDSCAPE == mConfig.orientation) { in getKeyYMarginFactor()
186 if (Configuration.ORIENTATION_PORTRAIT == mConfig.orientation) { in getSkbHeight()
188 } else if (Configuration.ORIENTATION_LANDSCAPE == mConfig.orientation) { in getSkbHeight()
211 if (mConfig.keyboard == Configuration.KEYBOARD_NOKEYS in hasHardKeyboard()
212 || mConfig.hardKeyboardHidden == Configuration.HARDKEYBOARDHIDDEN_YES) { in hasHardKeyboard()
/packages/apps/Settings/src/com/android/settings/wifi/
DAccessPoint.java68 private WifiConfiguration mConfig; field in AccessPoint
161 mConfig = savedState.getParcelable(KEY_CONFIG); in AccessPoint()
162 if (mConfig != null) { in AccessPoint()
163 loadConfig(mConfig); in AccessPoint()
177 savedState.putParcelable(KEY_CONFIG, mConfig); in saveWifiState()
191 mConfig = config; in loadConfig()
294 return mConfig; in getConfig()
327 } else if (mConfig != null && mConfig.status == WifiConfiguration.Status.DISABLED) { in refresh()
328 switch (mConfig.disableReason) { in refresh()
341 if (mConfig != null) { // Is saved network in refresh()
[all …]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DAbstractCorpus.java29 private final Config mConfig; field in AbstractCorpus
33 mConfig = config; in AbstractCorpus()
41 return mConfig.isCorpusEnabledByDefault(this); in isCorpusDefaultEnabled()
45 return mConfig.isCorpusHidden(getName()); in isCorpusHidden()
DSuggestionsProviderImpl.java41 private final Config mConfig; field in SuggestionsProviderImpl
57 mConfig = config; in SuggestionsProviderImpl()
61 mShouldQueryStrategy = new ShouldQueryStrategy(mConfig); in SuggestionsProviderImpl()
121 initialBatchSize = mConfig.getNumPromotedSources(); in getSuggestions()
126 long publishResultDelayMillis = mConfig.getPublishResultDelayMillis(); in getSuggestions()
138 int maxResultsPerSource = mConfig.getMaxResultsPerSource(); in getSuggestions()
157 if (query.length() == 0 && !mConfig.showSuggestionsForZeroQuery()) { in shouldDisplayResults()
229 int nextBatchSize = mConfig.getNumPromotedSources(); in executeNextBatchIfNeeded()
DSearchableCorpusFactory.java38 private final Config mConfig; field in SearchableCorpusFactory
47 mConfig = config; in SearchableCorpusFactory()
64 return mConfig; in getConfig()
120 return new WebCorpus(mContext, mConfig, mSettings, executor, webSource, browserSource); in createWebCorpus()
125 return new AppsCorpus(mContext, mConfig, appsSource); in createAppsCorpus()
130 return new SingleSourceCorpus(mContext, mConfig, source); in createSingleSourceCorpus()
DAbstractPromoter.java25 private final Config mConfig; field in AbstractPromoter
30 mConfig = config; in AbstractPromoter()
45 return mConfig; in getConfig()
DHelp.java31 private final Config mConfig; field in Help
35 mConfig = config; in Help()
56 Uri helpUrl = mConfig.getHelpUrl(activityName); in getHelpIntent()
DShouldQueryStrategy.java40 private final Config mConfig; field in ShouldQueryStrategy
51 mConfig = config; in ShouldQueryStrategy()
61 && !mConfig.showSuggestionsForZeroQuery()) { in shouldQueryCorpus()
DEventLogLogger.java35 private final Config mConfig; field in EventLogLogger
43 mConfig = config; in EventLogLogger()
57 return mConfig; in getConfig()
103 int freq = mConfig.getLatencyLogFrequency(); in shouldLogLatency()
DQsbApplication.java53 private Config mConfig; field in QsbApplication
118 if (mConfig != null) { in close()
119 mConfig.close(); in close()
120 mConfig = null; in close()
171 if (mConfig == null) { in getConfig()
172 mConfig = createConfig(); in getConfig()
174 return mConfig; in getConfig()
DSearchableSources.java45 private final Config mConfig; field in SearchableSources
65 mConfig = config; in SearchableSources()
85 return mConfig; in getConfig()
DSearchSettingsImpl.java87 private final Config mConfig; field in SearchSettingsImpl
91 mConfig = config; in SearchSettingsImpl()
99 return mConfig; in getConfig()
DShortcutRepositoryImplLog.java75 private final Config mConfig; field in ShortcutRepositoryImplLog
102 mConfig = config; in ShortcutRepositoryImplLog()
158 String cutOffTime_expr = "(?3 - " + mConfig.getMaxStatAgeMillis() + ")"; in buildShortcutQueries()
307 return getCorpusScores(mConfig.getMinClicksForSourceRanking()); in getCorpusScores()
782 private final Config mConfig; field in ShortcutRepositoryImplLog.DbOpenHelper
799 mConfig = config; in DbOpenHelper()
901 + " - " + mConfig.getMaxStatAgeMillis() + ";" in onCreate()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DCanvasTexture.java28 private final Config mConfig; field in CanvasTexture
31 mConfig = Config.ARGB_8888; in CanvasTexture()
38 Bitmap bitmap = Bitmap.createBitmap(mWidth, mHeight, mConfig); in onGetBitmap()
DBitmapTileProvider.java31 private final Config mConfig; field in BitmapTileProvider
50 mConfig = Config.ARGB_8888; in BitmapTileProvider()
82 result = Bitmap.createBitmap(size, size, mConfig); in getTile()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DShortcutRepositoryTest.java76 protected Config mConfig; field in ShortcutRepositoryTest
98 return new ShortcutRepositoryImplLog(getContext(), mConfig, mCorpora, in createShortcutRepository()
107 mConfig = new Config(getContext()); in setUp()
409 long halfWindow = mConfig.getMaxStatAgeMillis() / 2; in testRecencyOverridesClicks()
428 long pastWindow = mConfig.getMaxStatAgeMillis() + 1000; in testEntryOlderThanAgeLimitFiltered()
610 int minClicks = mConfig.getMinClicksForSourceRanking(); in testSourceRanking_moreClicksWins()
634 final long toOld = mConfig.getMaxStatAgeMillis() + 1; in testOldSourceStatsDontCount()
635 int minClicks = mConfig.getMinClicksForSourceRanking(); in testOldSourceStatsDontCount()
651 int minClicks = mConfig.getMinClicksForSourceRanking(); in testSourceRanking_filterSourcesWithInsufficientData()