android.renderscript.Mesh.AllocationBuilder.addIndexSetAllocation(Allocation, Mesh.Primitive)
in API 16
Adds an allocation containing index buffer data and index type
to the builder
|
android.renderscript.Mesh.Builder.addIndexSetType(Element, int, Mesh.Primitive)
in API 16
Adds an index set data type to the builder object
|
android.renderscript.Mesh.Builder.addIndexSetType(Mesh.Primitive)
in API 16
Adds an index set primitive type to the builder object
|
android.renderscript.Mesh.AllocationBuilder.addIndexSetType(Mesh.Primitive)
in API 16
Adds an index set type to the builder
|
android.renderscript.Mesh.Builder.addIndexSetType(Type, Mesh.Primitive)
in API 16
Adds an index set data type to the builder object
|
android.renderscript.ProgramVertex.Builder.addInput(Element)
in API 16
Add varying inputs to the program
|
android.content.pm.PackageManager.addPackageToPreferred(String)
This function no longer does anything; it was an old
approach to managing preferred activities, which has been superceeded
(and conflicts with) the modern activity-based preferences.
|
android.webkit.PluginList.addPlugin(Plugin)
This interface was intended to be used by Gears. Since Gears was
deprecated, so is this class.
|
android.provider.Contacts.ContactMethods.addPostalLocation(Context, long, double, double)
|
android.preference.PreferenceActivity.addPreferencesFromIntent(Intent)
This function is not relevant for a modern fragment-based
PreferenceActivity.
|
android.preference.PreferenceActivity.addPreferencesFromResource(int)
This function is not relevant for a modern fragment-based
PreferenceActivity.
|
android.content.pm.PackageManager.addPreferredActivity(IntentFilter, int, ComponentName[], ComponentName)
This is a protected API that should not have been available
to third party applications. It is the platform's responsibility for
assigning preferred activities and this can not be directly modified.
Add a new preferred activity mapping to the system. This will be used
to automatically select the given activity component when
Context.startActivity() finds
multiple matching activities and also matches the given filter.
|
android.provider.Contacts.People.addToGroup(ContentResolver, long, long)
|
android.provider.Contacts.People.addToGroup(ContentResolver, long, String)
|
android.provider.Contacts.People.addToMyContactsGroup(ContentResolver, long)
|
android.renderscript.Mesh.TriangleMeshBuilder.addTriangle(int, int, int)
in API 16
Adds a new triangle to the mesh builder
|
android.renderscript.Mesh.TriangleMeshBuilder.addVertex(float, float)
in API 16
Adds a float2 vertex to the mesh
|
android.renderscript.Mesh.TriangleMeshBuilder.addVertex(float, float, float)
in API 16
Adds a float3 vertex to the mesh
|
android.renderscript.Mesh.AllocationBuilder.addVertexAllocation(Allocation)
in API 16
Adds an allocation containing vertex buffer data to the
builder
|
android.renderscript.Mesh.Builder.addVertexType(Element, int)
in API 16
Adds a vertex data type to the builder object
|
android.renderscript.Mesh.Builder.addVertexType(Type)
in API 16
Adds a vertex data type to the builder object
|
android.provider.UserDictionary.Words.addWord(Context, String, int, int)
|
java.lang.ThreadGroup.allowThreadSuspension(boolean)
Required deprecated method suspend().
|
android.text.format.DateUtils.assign(Calendar, Calendar)
|
android.net.LinkSocket.bind(SocketAddress)
LinkSocket will automatically pick the optimum interface
to bind to
|
android.renderscript.ProgramVertexFixedFunction.bindConstants(ProgramVertexFixedFunction.Constants)
in API 16
Binds the constant buffer containing fixed function emulation
matrices
|
android.renderscript.RenderScriptGL.bindProgramFragment(ProgramFragment)
in API 16
Set the default ProgramFragment object seen as the parent state by the
root rendering script.
|
android.renderscript.RenderScriptGL.bindProgramRaster(ProgramRaster)
in API 16
Set the default ProgramRaster object seen as the parent state by the
root rendering script.
|
android.renderscript.RenderScriptGL.bindProgramStore(ProgramStore)
in API 16
Set the default ProgramStore object seen as the parent state by the root
rendering script.
|
android.renderscript.RenderScriptGL.bindProgramVertex(ProgramVertex)
in API 16
Set the default ProgramVertex object seen as the parent state by the
root rendering script.
|
android.renderscript.RenderScriptGL.bindRootScript(Script)
in API 16
Set the script to handle calls to render the primary surface.
|
android.database.sqlite.SQLiteQueryBuilder.buildQuery(String[], String, String[], String, String, String, String)
|
android.net.NetworkTemplate.buildTemplateMobile3gLower(String) |
android.net.NetworkTemplate.buildTemplateMobile4g(String) |
android.net.NetworkTemplate.buildTemplateWifi() |
android.database.sqlite.SQLiteQueryBuilder.buildUnionSubQuery(String, String[], Set, int, String, String, String[], String, String)
|
android.webkit.CacheManager.cacheDisabled()
Access to the HTTP cache will be removed in a future release.
|
android.telephony.gsm.SmsMessage.calculateLength(CharSequence, boolean)
Use android.telephony.SmsMessage.
|
android.telephony.gsm.SmsMessage.calculateLength(String, boolean)
Use android.telephony.SmsMessage.
|
android.content.ContentResolver.cancelSync(Uri)
|
android.os.Debug.changeDebugPort(int)
no longer needed or useful
|
java.lang.SecurityManager.checkMulticast(InetAddress, byte)
|
java.lang.SecurityManager.classDepth(String)
|
java.lang.SecurityManager.classLoaderDepth()
|
android.webkit.PluginList.clear()
This interface was intended to be used by Gears. Since Gears was
deprecated, so is this class.
|
android.content.Context.clearWallpaper()
Use WallpaperManager.clear() instead.
This method requires the caller to hold the permission
android.Manifest.permission#SET_WALLPAPER .
|
android.net.NetworkStats.combineValues(String, int, int, long, long, long, long, long) |
android.net.LinkSocket.connect(SocketAddress)
Use connect(String dstName, int dstPort)
Using this method may result in reduced functionality.
|
android.net.LinkSocket.connect(SocketAddress, int)
Use connect(String dstName, int dstPort, int timeout)
instead. Using this method may result in reduced functionality.
|
android.telephony.gsm.SmsManager.copyMessageToSim(byte[], byte[], int)
Use android.telephony.SmsManager.
|
java.lang.Thread.countStackFrames()
The results of this call were never well defined. To make
things worse, it would depend on whether the Thread was
suspended or not, and suspend was deprecated too.
|
android.renderscript.ProgramVertexFixedFunction.Builder.create()
in API 16
Creates ProgramVertexFixedFunction from the current state of
the builder
|
android.renderscript.ProgramVertex.Builder.create()
in API 16
Creates ProgramVertex from the current state of the builder
|
android.renderscript.ProgramRaster.Builder.create()
in API 16
|
android.renderscript.ProgramFragmentFixedFunction.Builder.create()
in API 16
Creates the fixed function fragment program from the current
state of the builder.
|
android.renderscript.ProgramFragment.Builder.create()
in API 16
Creates ProgramFragment from the current state of the builder
|
android.renderscript.Mesh.Builder.create()
in API 16
Create a Mesh object from the current state of the builder
|
android.renderscript.Mesh.AllocationBuilder.create()
in API 16
Create a Mesh object from the current state of the builder
|
android.renderscript.Mesh.TriangleMeshBuilder.create(boolean)
in API 16
Creates the mesh object from the current state of the builder
|
android.renderscript.Font.create(RenderScript, Resources, String, Font.Style, float)
in API 16
Accepts one of the following family names as an argument
and will attempt to produce the best match with a system font:
"sans-serif" "arial" "helvetica" "tahoma" "verdana"
"serif" "times" "times new roman" "palatino" "georgia" "baskerville"
"goudy" "fantasy" "cursive" "ITC Stone Serif"
"monospace" "courier" "courier new" "monaco"
Returns default font if no match could be found.
|
android.renderscript.FileA3D.createFromAsset(RenderScript, AssetManager, String)
in API 16
Creates a FileA3D object from an asset stored on disk
|
android.renderscript.Font.createFromAsset(RenderScript, Resources, String, float)
in API 16
|
android.renderscript.FileA3D.createFromFile(RenderScript, File)
in API 16
Creates a FileA3D object from a file stored on disk
|
android.renderscript.Font.createFromFile(RenderScript, Resources, File, float)
in API 16
|
android.renderscript.Font.createFromFile(RenderScript, Resources, String, float)
in API 16
Takes a specific file name as an argument
|
android.renderscript.FileA3D.createFromFile(RenderScript, String)
in API 16
Creates a FileA3D object from a file stored on disk
|
android.telephony.gsm.SmsMessage.createFromPdu(byte[])
Use android.telephony.SmsMessage.
|
android.renderscript.FileA3D.createFromResource(RenderScript, Resources, int)
in API 16
Creates a FileA3D object from an application resource
|
android.renderscript.Font.createFromResource(RenderScript, Resources, int, float)
in API 16
|
android.provider.Contacts.People.createPersonInMyContactsGroup(ContentResolver, ContentValues)
|
android.renderscript.RSTextureView.createRenderScriptGL(RenderScriptGL.SurfaceConfig)
in API 16
Create a new RenderScriptGL object and attach it to the
TextureView if present.
|
android.renderscript.RSSurfaceView.createRenderScriptGL(RenderScriptGL.SurfaceConfig)
in API 16
|
android.renderscript.ProgramRaster.CULL_BACK(RenderScript)
in API 16
|
android.renderscript.ProgramRaster.CULL_FRONT(RenderScript)
in API 16
|
android.renderscript.ProgramRaster.CULL_NONE(RenderScript)
in API 16
|
java.lang.SecurityManager.currentClassLoader()
|
java.lang.SecurityManager.currentLoadedClass()
|
android.database.Cursor.deactivate()
|
java.net.URLDecoder.decode(String)
|
android.provider.Contacts.ContactMethods.decodeImProtocol(String)
|
java.lang.ClassLoader.defineClass(byte[], int, int)
|
android.telephony.gsm.SmsManager.deleteMessageFromSim(int)
Use android.telephony.SmsManager.
|
android.renderscript.ProgramVertexFixedFunction.Constants.destroy()
in API 16
Forces deallocation of memory backing the contant matrices.
Normally, this is unnecessary and will be garbage collected
|
java.lang.Thread.destroy()
Not implemented.
|
android.support.v4.view.PagerAdapter.destroyItem(View, int, Object)
|
android.renderscript.RSTextureView.destroyRenderScriptGL()
in API 16
Destroy the RenderScriptGL object associated with this
TextureView.
|
android.renderscript.RSSurfaceView.destroyRenderScriptGL()
in API 16
|
android.nfc.NfcAdapter.disableForegroundNdefPush(Activity)
|
android.webkit.WebViewClassic.disablePlatformNotifications() |
android.app.Activity.dismissDialog(int)
Use the new DialogFragment class with
FragmentManager instead; this is also
available on older platforms through the Android compatibility package.
|
android.view.KeyEvent.dispatch(KeyEvent.Callback)
|
android.database.ContentObserver.dispatchChange(boolean)
|
android.database.ContentObservable.dispatchChange(boolean)
|
android.webkit.Plugin.dispatchClickEvent(Context)
This interface was intended to be used by Gears. Since Gears was
deprecated, so is this class.
|
android.telephony.gsm.SmsManager.divideMessage(String)
Use android.telephony.SmsManager.
|
android.test.TouchUtils.drag(ActivityInstrumentationTestCase, float, float, float, float, int)
|
android.test.TouchUtils.dragQuarterScreenDown(ActivityInstrumentationTestCase)
|
android.test.TouchUtils.dragQuarterScreenUp(ActivityInstrumentationTestCase)
|
android.test.TouchUtils.dragViewBy(ActivityInstrumentationTestCase, View, int, int, int)
|
android.test.TouchUtils.dragViewBy(InstrumentationTestCase, View, int, int, int)
|
android.test.TouchUtils.dragViewTo(ActivityInstrumentationTestCase, View, int, int, int)
|
android.test.TouchUtils.dragViewToBottom(ActivityInstrumentationTestCase, View)
|
android.test.TouchUtils.dragViewToBottom(ActivityInstrumentationTestCase, View, int)
|
android.test.TouchUtils.dragViewToTop(ActivityInstrumentationTestCase, View)
|
android.test.TouchUtils.dragViewToTop(ActivityInstrumentationTestCase, View, int)
|
android.test.TouchUtils.dragViewToX(ActivityInstrumentationTestCase, View, int, int)
|
android.test.TouchUtils.dragViewToY(ActivityInstrumentationTestCase, View, int, int)
|
android.graphics.Canvas.drawPosText(char[], int, int, float[], Paint) |
android.graphics.Canvas.drawPosText(String, float[], Paint) |
android.hardware.Camera.Parameters.dump() |
android.nfc.NfcAdapter.enableForegroundNdefPush(Activity, NdefMessage)
|
android.webkit.WebViewClassic.enablePlatformNotifications() |
android.webkit.WebSettings.enableSmoothTransition()
This method is now obsolete, and will become a no-op in future.
|
java.net.URLEncoder.encode(String)
|
android.provider.Contacts.ContactMethods.encodeCustomImProtocol(String)
|
android.provider.Contacts.ContactMethods.encodePredefinedImProtocol(int)
|
android.webkit.CacheManager.endCacheTransaction()
This method no longer has any effect and always returns false.
|
java.security.SignatureSpi.engineGetParameter(String)
There is no generally accepted parameter naming convention.
|
java.security.SignatureSpi.engineSetParameter(String, Object)
|
android.app.KeyguardManager.exitKeyguardSecurely(KeyguardManager.OnKeyguardExitResult)
Use WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD
and/or WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED
instead; this allows you to seamlessly hide the keyguard as your application
moves in and out of the foreground and does not require that any special
permissions be requested.
Exit the keyguard securely. The use case for this api is that, after
disabling the keyguard, your app, which was granted permission to
disable the keyguard and show a limited amount of information deemed
safe without the user getting past the keyguard, needs to navigate to
something that is not safe to view without getting past the keyguard.
This will, if the keyguard is secure, bring up the unlock screen of
the keyguard.
This method requires the caller to hold the permission
android.Manifest.permission#DISABLE_KEYGUARD .
|
android.widget.OverScroller.extendDuration(int)
OverScrollers don't necessarily have a fixed duration.
Instead of setting a new final position and extending
the duration of an existing scroll, use startScroll
to begin a new animation.
|
android.preference.PreferenceActivity.findPreference(CharSequence)
This function is not relevant for a modern fragment-based
PreferenceActivity.
|
android.support.v4.view.PagerAdapter.finishUpdate(View)
|
android.text.format.Formatter.formatIpAddress(int)
|
android.support.v4.app.TaskStackBuilder.from(Context)
|
android.os.ParcelFileDescriptor.fromData(byte[], String) |
android.net.NetworkStatsHistory.generateRandom(long, long, long)
only for temporary testing
|
android.net.NetworkStatsHistory.generateRandom(long, long, long, long, long, long, long, Random)
only for temporary testing
|
java.security.Security.getAlgorithmProperty(String, String)
|
android.telephony.gsm.SmsManager.getAllMessagesFromSim()
Use android.telephony.SmsManager.
|
android.text.format.DateUtils.getAMPMString(int)
|
android.accounts.AccountManager.getAuthToken(Account, String, boolean, AccountManagerCallback, Handler)
|
android.net.ConnectivityManager.getBackgroundDataSetting()
|
java.sql.ResultSet.getBigDecimal(int, int)
|
java.sql.CallableStatement.getBigDecimal(int, int)
|
java.sql.ResultSet.getBigDecimal(String, int)
|
java.lang.String.getBytes(int, int, byte[], int)
|
android.webkit.CacheManager.getCacheFile(String, Map)
Access to the HTTP cache will be removed in a future release.
|
android.webkit.CacheManager.getCacheFileBaseDir()
Access to the HTTP cache will be removed in a future release.
|
android.widget.ListView.getCheckItemIds()
|
android.widget.FrameLayout.getConsiderGoneChildrenWhenMeasuring()
|
android.webkit.PluginData.getContentLength()
This class was intended to be used by Gears. Since Gears was
deprecated, so is this class.
|
android.renderscript.ProgramRaster.getCullMode()
in API 16
Specifies how triangles are culled based on their orientation
|
android.renderscript.Mesh.Builder.getCurrentIndexSetIndex()
in API 16
|
android.renderscript.Mesh.AllocationBuilder.getCurrentIndexSetIndex()
in API 16
|
android.content.ContentResolver.getCurrentSync()
Since multiple concurrent syncs are now supported you should use
ContentResolver.getCurrentSyncs() to get the accurate list of current syncs.
This method returns the first item from the list of current syncs
or null if there are none.
|
android.renderscript.Mesh.Builder.getCurrentVertexTypeIndex()
in API 16
|
android.renderscript.Mesh.AllocationBuilder.getCurrentVertexTypeIndex()
in API 16
|
java.sql.Time.getDate()
This method is deprecated and must not be used. An SQL
Time object does not have a Date component.
|
java.util.Date.getDate()
use Calendar.get(Calendar.DATE)
|
java.sql.Time.getDay()
This method is deprecated and must not be used. An SQL
Time object does not have a Day component.
|
java.util.Date.getDay()
use Calendar.get(Calendar.DAY_OF_WEEK)
|
android.text.format.DateUtils.getDayOfWeekString(int, int)
|
android.telephony.gsm.SmsManager.getDefault()
Use android.telephony.SmsManager.
|
android.nfc.NfcAdapter.getDefaultAdapter()
|
android.net.Proxy.getDefaultHost()
Use standard java vm proxy values to find the host, port and
exclusion list. This call ignores the exclusion list and no
longer reports only mobile-data apn-based proxy values.
|
android.net.Proxy.getDefaultPort()
Use standard java vm proxy values to find the host, port and
exclusion list. This call ignores the exclusion list and no
longer reports only mobile-data apn-based proxy values.
|
java.net.URLConnection.getDefaultRequestProperty(String)
|
android.drm.DrmSupportInfo.getDescriprition()
|
android.accessibilityservice.AccessibilityServiceInfo.getDescription()
|
android.webkit.Plugin.getDescription()
This interface was intended to be used by Gears. Since Gears was
deprecated, so is this class.
|
android.provider.ContactsContract.CommonDataKinds.Phone.getDisplayLabel(Context, int, CharSequence)
|
android.provider.Contacts.Phones.getDisplayLabel(Context, int, CharSequence)
|
android.provider.Contacts.Organizations.getDisplayLabel(Context, int, CharSequence)
|
android.provider.ContactsContract.CommonDataKinds.Phone.getDisplayLabel(Context, int, CharSequence, CharSequence[])
|
android.provider.Contacts.Phones.getDisplayLabel(Context, int, CharSequence, CharSequence[])
|
android.provider.Contacts.ContactMethods.getDisplayLabel(Context, int, int, CharSequence)
|
android.telephony.gsm.SmsMessage.getDisplayMessageBody()
Use android.telephony.SmsMessage.
|
android.telephony.gsm.SmsMessage.getDisplayOriginatingAddress()
Use android.telephony.SmsMessage.
|
android.view.ViewConfiguration.getDoubleTapSlop()
|
android.widget.OverScroller.getDuration()
OverScrollers don't necessarily have a fixed duration.
This function will lie to the best of its ability.
|
android.view.ViewConfiguration.getEdgeSlop()
|
android.telephony.gsm.SmsMessage.getEmailBody()
Use android.telephony.SmsMessage.
|
android.telephony.gsm.SmsMessage.getEmailFrom()
Use android.telephony.SmsMessage.
|
android.renderscript.FileA3D.IndexEntry.getEntryType()
in API 16
Returns the type of a renderscript object the index entry
describes
|
android.content.Intent.getExtra(String) |
android.content.Intent.getExtra(String, Object) |
android.view.ViewConfiguration.getFadingEdgeLength()
|
android.webkit.Plugin.getFileName()
This interface was intended to be used by Gears. Since Gears was
deprecated, so is this class.
|
android.media.MediaPlayer.getFrameAt(int) |
android.graphics.Canvas.getGL()
This method is not supported and should not be invoked.
|
android.os.Debug.getGlobalExternalAllocCount()
This method is now obsolete.
|
android.os.Debug.getGlobalExternalAllocSize()
This method is now obsolete.
|
android.os.Debug.getGlobalExternalFreedCount()
This method is now obsolete.
|
android.os.Debug.getGlobalExternalFreedSize()
This method is now obsolete.
|
android.webkit.PluginData.getHeaders()
This class was intended to be used by Gears. Since Gears was
deprecated, so is this class.
|
android.renderscript.RenderScriptGL.getHeight()
in API 16
return the height of the last set surface.
|
android.view.Display.getHeight()
|
android.net.Proxy.getHost(Context)
Use standard java vm proxy values to find the host, port
and exclusion list. This call ignores the exclusion list.
|
java.sql.Date.getHours()
This method is deprecated and must not be used. SQL Date values do not have an hours component.
|
java.util.Date.getHours()
use Calendar.get(Calendar.HOUR_OF_DAY)
|
android.os.Bundle.getIBinder(String) |
android.content.Intent.getIBinderExtra(String) |
android.webkit.WebHistoryItem.getId()
This method is now obsolete.
|
java.lang.SecurityManager.getInCheck()
|
android.renderscript.FileA3D.getIndexEntry(int)
in API 16
Returns an index entry from the list of all objects inside
FileA3D
|
android.renderscript.FileA3D.getIndexEntryCount()
in API 16
Returns the number of objects stored inside the a3d file
|
android.telephony.gsm.SmsMessage.getIndexOnIcc()
Use android.telephony.SmsMessage.
|
android.telephony.SmsMessage.getIndexOnSim()
Use getIndexOnIcc instead.
|
android.telephony.gsm.SmsMessage.getIndexOnSim()
Use android.telephony.SmsMessage and getIndexOnIcc instead.
|
android.renderscript.Mesh.getIndexSetAllocation(int)
in API 16
|
android.renderscript.ProgramVertex.getInput(int)
in API 16
|
android.renderscript.ProgramVertex.getInputCount()
in API 16
|
android.webkit.PluginData.getInputStream()
This class was intended to be used by Gears. Since Gears was
deprecated, so is this class.
|
android.support.v4.app.TaskStackBuilder.getIntent(int)
Renamed to editIntentAt to better reflect intended usage
|
android.content.Intent.getIntent(String)
|
android.widget.AutoCompleteTextView.getItemClickListener()
|
android.widget.AutoCompleteTextView.getItemSelectedListener()
|
android.view.KeyEvent.getKeyboardDevice()
|
android.view.KeyCharacterMap.getKeyData(int, KeyCharacterMap.KeyData)
|
android.view.KeyEvent.getKeyData(KeyCharacterMap.KeyData)
|
android.app.Activity.getLastNonConfigurationInstance()
|
android.webkit.PluginList.getList()
This interface was intended to be used by Gears. Since Gears was
deprecated, so is this class.
|
java.lang.Runtime.getLocalizedInputStream(InputStream)
|
java.lang.Runtime.getLocalizedOutputStream(OutputStream)
|
java.sql.DriverManager.getLogStream()
|
android.graphics.Canvas.getMatrix() |
android.graphics.Canvas.getMatrix(Matrix) |
android.view.ViewConfiguration.getMaximumDrawingCacheSize()
|
android.view.ViewConfiguration.getMaximumFlingVelocity()
|
android.renderscript.FileA3D.IndexEntry.getMesh()
in API 16
Used to load the mesh described by the index entry, object
described by the index entry must be a renderscript mesh
|
android.telephony.gsm.SmsMessage.getMessageBody()
Use android.telephony.SmsMessage.
|
android.telephony.gsm.SmsMessage.getMessageClass()
Use android.telephony.SmsMessage.
|
android.view.ViewConfiguration.getMinimumFlingVelocity()
|
java.sql.Date.getMinutes()
This method is deprecated and must not be used. SQL Date values do not have a minutes component.
|
java.util.Date.getMinutes()
use Calendar.get(Calendar.MINUTE)
|
java.sql.Time.getMonth()
This method is deprecated and must not be used. An SQL
Time object does not have a Month component.
|
java.util.Date.getMonth()
use Calendar.get(Calendar.MONTH)
|
android.text.format.DateUtils.getMonthString(int, int)
|
android.renderscript.FileA3D.IndexEntry.getName()
in API 16
Returns the name of a renderscript object the index entry
describes
|
android.webkit.Plugin.getName()
This interface was intended to be used by Gears. Since Gears was
deprecated, so is this class.
|
android.webkit.WebSettingsClassic.getNavDump() |
android.webkit.WebSettings.getNavDump()
This method is now obsolete.
|
android.app.Notification.Builder.getNotification()
|
android.support.v4.app.NotificationCompat.Builder.getNotification()
|
android.renderscript.FileA3D.IndexEntry.getObject()
in API 16
Used to load the object described by the index entry
|
android.view.Display.getOrientation()
|
android.telephony.gsm.SmsMessage.getOriginatingAddress()
Use android.telephony.SmsMessage.
|
java.security.Signature.getParameter(String)
There is no generally accepted parameter naming convention.
|
android.webkit.Plugin.getPath()
This interface was intended to be used by Gears. Since Gears was
deprecated, so is this class.
|
android.telephony.gsm.SmsMessage.getPdu()
Use android.telephony.SmsMessage.
|
android.view.Display.getPixelFormat()
|
android.webkit.UrlInterceptRegistry.getPluginData(String, Map)
This class was intended to be used by Gears. Since Gears was
deprecated, so is this class.
|
android.webkit.UrlInterceptHandler.getPluginData(String, Map)
Do not use, this interface is deprecated.
|
android.webkit.WebViewClassic.getPluginList() |
android.webkit.WebSettingsClassic.getPluginsEnabled() |
android.webkit.WebSettings.getPluginsEnabled()
|
android.webkit.WebSettingsClassic.getPluginsPath() |
android.webkit.WebSettings.getPluginsPath()
This method is no longer used as plugins are loaded from
their own APK via the system's package manager.
|
android.net.Proxy.getPort(Context)
Use standard java vm proxy values to find the host, port
and exclusion list. This call ignores the exclusion list.
|
android.preference.PreferenceActivity.getPreferenceManager()
This function is not relevant for a modern fragment-based
PreferenceActivity.
|
android.preference.PreferenceActivity.getPreferenceScreen()
This function is not relevant for a modern fragment-based
PreferenceActivity.
|
android.provider.Contacts.Presence.getPresenceIconResourceId(int)
|
android.hardware.Camera.Parameters.getPreviewFrameRate()
|
android.renderscript.Mesh.getPrimitive(int)
in API 16
|
android.renderscript.Mesh.getPrimitiveCount()
in API 16
|
android.telephony.gsm.SmsMessage.getProtocolIdentifier()
Use android.telephony.SmsMessage.
|
android.telephony.gsm.SmsMessage.getPseudoSubject()
Use android.telephony.SmsMessage.
|
android.os.BatteryStats.getRadioDataUptimeMs()
use getRadioDataUptime
|
android.renderscript.RSTextureView.getRenderScriptGL()
in API 16
Returns the previously set RenderScriptGL object.
|
android.renderscript.RSSurfaceView.getRenderScriptGL()
in API 16
|
android.media.AudioManager.getRouting(int)
Do not query audio routing directly, use isSpeakerphoneOn(),
isBluetoothScoOn(), isBluetoothA2dpOn() and isWiredHeadsetOn() methods instead.
|
android.view.ViewConfiguration.getScrollBarSize()
|
java.sql.Date.getSeconds()
This method is deprecated and must not be used. SQL Date values do not have a seconds component.
|
java.util.Date.getSeconds()
use Calendar.get(Calendar.SECOND)
|
android.hardware.SensorManager.getSensors()
|
android.telephony.gsm.SmsMessage.getServiceCenterAddress()
Use android.telephony.SmsMessage.
|
android.provider.Contacts.Settings.getSetting(ContentResolver, String, String)
|
android.provider.Settings.System.getShowGTalkServiceStatus(ContentResolver)
- Do not use
|
android.provider.Settings.System.getShowGTalkServiceStatusForUser(ContentResolver, int)
- Do not use
|
android.text.format.DateUtils.getStandaloneMonthString(int, int)
|
android.telephony.gsm.SmsMessage.getStatus()
Use android.telephony.SmsMessage.
|
android.webkit.PluginData.getStatusCode()
This class was intended to be used by Gears. Since Gears was
deprecated, so is this class.
|
android.telephony.gsm.SmsMessage.getStatusOnIcc()
Use android.telephony.SmsMessage.
|
android.telephony.SmsMessage.getStatusOnSim()
Use getStatusOnIcc instead.
|
android.telephony.gsm.SmsMessage.getStatusOnSim()
Use android.telephony.SmsMessage and getStatusOnIcc instead.
|
android.content.ContentValues.getStringArrayList(String) |
android.telephony.gsm.SmsMessage.getSubmitPdu(String, String, short, byte[], boolean)
Use android.telephony.SmsMessage.
|
android.telephony.gsm.SmsMessage.getSubmitPdu(String, String, String, boolean)
Use android.telephony.SmsMessage.
|
android.telephony.gsm.SmsMessage.getSubmitPdu(String, String, String, boolean, byte[])
Use android.telephony.SmsMessage.
|
android.view.textservice.SpellCheckerSession.getSuggestions(TextInfo[], int, boolean)
|
android.view.textservice.SpellCheckerSession.getSuggestions(TextInfo, int)
|
android.hardware.Camera.Parameters.getSupportedPreviewFrameRates()
|
android.webkit.UrlInterceptRegistry.getSurrogate(String, Map)
This class was intended to be used by Gears. Since Gears was
deprecated, so is this class.
|
android.database.sqlite.SQLiteDatabase.getSyncedTables()
This method no longer serves any useful purpose and has been deprecated.
|
android.net.BaseNetworkStateTracker.getTargetHandler() |
android.app.PendingIntent.getTargetPackage()
|
android.content.IntentSender.getTargetPackage()
|
android.content.ClipboardManager.getText()
|
android.text.SpannableStringBuilder.getTextRunCursor(int, int, int, int, int, Paint)
This is an internal method, refrain from using it in your code
|
android.webkit.WebSettings.getTextSize()
|
android.os.Debug.getThreadExternalAllocCount()
This method is now obsolete.
|
android.os.Debug.getThreadExternalAllocSize()
This method is now obsolete.
|
android.telephony.gsm.SmsMessage.getTimestampMillis()
Use android.telephony.SmsMessage.
|
java.util.Date.getTimezoneOffset()
use
(Calendar.get(Calendar.ZONE_OFFSET) + Calendar.get(Calendar.DST_OFFSET)) / 60000
|
android.view.ViewConfiguration.getTouchSlop()
|
android.telephony.gsm.SmsMessage.getTPLayerLengthForPDU(String)
Use android.telephony.SmsMessage.
|
java.net.MulticastSocket.getTTL()
|
java.net.DatagramSocketImpl.getTTL()
|
java.sql.ResultSet.getUnicodeStream(int)
|
java.sql.ResultSet.getUnicodeStream(String)
|
android.database.sqlite.SQLiteProgram.getUniqueId()
This method is deprecated and must not be used.
|
android.database.AbstractCursor.getUpdatedField(int)
Always returns null since Cursors do not support updating rows
|
android.webkit.WebSettingsClassic.getUseDoubleTree() |
android.webkit.WebSettings.getUseDoubleTree()
This setting now has no effect.
|
android.webkit.WebSettingsClassic.getUserAgent() |
android.webkit.WebSettings.getUserAgent()
|
android.telephony.gsm.SmsMessage.getUserData()
Use android.telephony.SmsMessage.
|
android.webkit.WebSettingsClassic.getUseWebViewBackgroundForOverscrollBackground() |
android.webkit.WebSettings.getUseWebViewBackgroundForOverscrollBackground()
This method is now obsolete.
|
android.net.http.SslCertificate.getValidNotAfter()
|
android.net.http.SslCertificate.getValidNotBefore()
|
android.renderscript.Mesh.getVertexAllocation(int)
in API 16
|
android.renderscript.Mesh.getVertexAllocationCount()
in API 16
|
android.media.AudioManager.getVibrateSetting(int)
|
android.webkit.WebViewClassic.getVisibleTitleHeight() |
android.content.Context.getWallpaper()
|
android.content.Context.getWallpaperDesiredMinimumHeight()
|
android.content.Context.getWallpaperDesiredMinimumWidth()
|
android.renderscript.RenderScriptGL.getWidth()
in API 16
return the width of the last set surface.
|
android.view.Display.getWidth()
|
android.view.ViewConfiguration.getWindowTouchSlop()
|
java.sql.Time.getYear()
This method is deprecated and must not be used. An SQL
Time object does not have a Year component.
|
java.util.Date.getYear()
use Calendar.get(Calendar.YEAR) - 1900
|
android.webkit.WebViewClassic.getZoomControls() |
android.content.ClipboardManager.hasText()
|
android.animation.LayoutTransition.hideChild(ViewGroup, View)
|
java.lang.SecurityManager.inClass(String)
|
java.lang.SecurityManager.inClassLoader()
|
android.support.v4.widget.CursorAdapter.init(Context, Cursor, boolean)
Don't use this, use the normal constructor. This will
be removed in the future.
|
android.widget.CursorAdapter.init(Context, Cursor, boolean)
Don't use this, use the normal constructor. This will
be removed in the future.
|
android.test.InstrumentationTestCase.injectInsrumentation(Instrumentation)
|
android.support.v4.view.PagerAdapter.instantiateItem(View, int)
|
android.database.AbstractWindowedCursor.isBlob(int)
|
android.database.CursorWindow.isBlob(int, int)
|
android.webkit.URLUtil.isCookielessProxyUrl(String)
Cookieless proxy is no longer supported.
|
android.telephony.gsm.SmsMessage.isCphsMwiMessage()
Use android.telephony.SmsMessage.
|
android.database.sqlite.SQLiteDatabase.isDbLockedByOtherThreads()
Always returns false. Do not use this method.
|
android.view.KeyEvent.isDown() |
android.telephony.gsm.SmsMessage.isEmail()
Use android.telephony.SmsMessage.
|
android.database.AbstractCursor.isFieldUpdated(int)
Always returns false since Cursors do not support updating rows
|
android.database.AbstractWindowedCursor.isFloat(int)
|
android.database.CursorWindow.isFloat(int, int)
|
java.lang.Character.isJavaLetter(char)
|
java.lang.Character.isJavaLetterOrDigit(char)
|
android.graphics.Paint.isLinearText() |
android.database.AbstractWindowedCursor.isLong(int)
|
android.database.CursorWindow.isLong(int, int)
|
android.telephony.gsm.SmsMessage.isMWIClearMessage()
Use android.telephony.SmsMessage.
|
android.telephony.gsm.SmsMessage.isMwiDontStore()
Use android.telephony.SmsMessage.
|
android.telephony.gsm.SmsMessage.isMWISetMessage()
Use android.telephony.SmsMessage.
|
android.database.CursorWindow.isNull(int, int)
|
android.renderscript.ProgramRaster.isPointSpriteEnabled()
in API 16
Specifies whether vertices are rendered as screen aligned
elements of a specified size
|
android.telephony.gsm.SmsMessage.isReplace()
Use android.telephony.SmsMessage.
|
android.telephony.gsm.SmsMessage.isReplyPathPresent()
Use android.telephony.SmsMessage.
|
java.lang.Character.isSpace(char)
|
android.telephony.gsm.SmsMessage.isStatusReportMessage()
Use android.telephony.SmsMessage.
|
android.database.AbstractWindowedCursor.isString(int)
|
android.database.CursorWindow.isString(int, int)
|
android.net.NetworkPolicyManager.isUidValidForPolicy(Context, int) |
android.text.format.DateUtils.isUTC(String)
use Time
Return true if this date string is local time
|
android.media.AudioManager.isWiredHeadsetOn()
Use only to check is a headset is connected or not.
|
android.support.v4.app.TaskStackBuilder.iterator()
Use editIntentAt instead
|
android.provider.Contacts.People.loadContactPhoto(Context, Uri, int, BitmapFactory.Options)
|
android.test.TouchUtils.longClickView(ActivityInstrumentationTestCase, View)
|
android.provider.Contacts.ContactMethods.lookupProviderNameFromId(int)
|
android.content.res.Configuration.makeDefault() |
android.app.Activity.managedQuery(Uri, String[], String, String)
|
android.app.Activity.managedQuery(Uri, String[], String, String[], String)
|
android.provider.ContactsContract.Contacts.markAsContacted(ContentResolver, long)
The class DataUsageStatUpdater of the Android support library should
be used instead.
|
android.provider.Contacts.People.markAsContacted(ContentResolver, long)
|
android.database.sqlite.SQLiteDatabase.markTableSyncable(String, String)
This method no longer serves any useful purpose and has been deprecated.
|
android.database.sqlite.SQLiteDatabase.markTableSyncable(String, String, String)
This method no longer serves any useful purpose and has been deprecated.
|
android.renderscript.Element.MATRIX4X4(RenderScript)
use MATRIX_4X4
|
android.text.format.DateUtils.newCalendar(boolean)
|
android.app.KeyguardManager.newKeyguardLock(String)
|
android.database.ContentObservable.notifyChange(boolean)
|
android.view.MotionEvent.obtain(long, long, int, int, float, float, float, float, int, float, float, int, int)
Use MotionEvent.obtain(long, long, int, float, float, float, float, int, float, float, int, int)
instead.
|
android.view.MotionEvent.obtain(long, long, int, int, int[], MotionEvent.PointerCoords[], int, float, float, int, int, int, int)
Use MotionEvent.obtain(long, long, int, int, PointerProperties[], PointerCoords[], int, int, float, float, int, int, int, int)
instead.
|
android.database.sqlite.SQLiteClosable.onAllReferencesReleasedFromContainer()
Do not use.
|
android.app.SearchManager.onCancel(DialogInterface)
This method is an obsolete internal implementation detail. Do not use.
|
android.webkit.WebChromeClient.onConsoleMessage(String, int, String)
|
android.view.ActionProvider.onCreateActionView()
|
android.app.Activity.onCreateDialog(int)
|
android.app.Activity.onCreateDialog(int, Bundle)
Use the new DialogFragment class with
FragmentManager instead; this is also
available on older platforms through the Android compatibility package.
|
android.app.SearchManager.onDismiss(DialogInterface)
This method is an obsolete internal implementation detail. Do not use.
|
android.app.Fragment.onInflate(AttributeSet, Bundle)
|
android.webkit.WebChromeClient.onJsTimeout()
This method is no longer supported and will not be invoked.
|
android.preference.PreferenceActivity.onPreferenceTreeClick(PreferenceScreen, Preference)
This function is not relevant for a modern fragment-based
PreferenceActivity.
|
android.app.Activity.onPrepareDialog(int, Dialog)
|
android.app.Activity.onPrepareDialog(int, Dialog, Bundle)
Use the new DialogFragment class with
FragmentManager instead; this is also
available on older platforms through the Android compatibility package.
|
android.app.Activity.onRetainNonConfigurationInstance()
|
android.telephony.PhoneStateListener.onSignalStrengthChanged(int)
|
android.app.Service.onStart(Intent, int)
|
android.renderscript.RSTextureView.onSurfaceTextureAvailable(SurfaceTexture, int, int)
in API 16
|
android.renderscript.RSTextureView.onSurfaceTextureDestroyed(SurfaceTexture)
in API 16
|
android.renderscript.RSTextureView.onSurfaceTextureSizeChanged(SurfaceTexture, int, int)
in API 16
|
android.renderscript.RSTextureView.onSurfaceTextureUpdated(SurfaceTexture)
in API 16
|
android.webkit.WebViewClient.onTooManyRedirects(WebView, Message, Message)
This method is no longer called. When the WebView encounters
a redirect loop, it will cancel the load.
|
android.util.AtomicFile.openAppend()
This is not safe.
|
android.provider.Contacts.People.openContactPhotoInputStream(ContentResolver, Uri)
|
android.app.FragmentManager.openTransaction() |
android.support.v4.app.FragmentManager.openTransaction() |
java.util.Date.parse(String)
|
android.renderscript.RSTextureView.pause()
in API 16
Inform the view that the activity is paused. The owner of this view must
call this method when the activity is paused. Calling this method will
pause the rendering thread.
Must not be called before a renderer has been set.
|
android.renderscript.RSSurfaceView.pause()
in API 16
Inform the view that the activity is paused. The owner of this view must
call this method when the activity is paused. Calling this method will
pause the rendering thread.
Must not be called before a renderer has been set.
|
android.renderscript.RenderScriptGL.pause()
in API 16
Temporarly halt calls to the root rendering script.
|
android.content.Context.peekWallpaper()
|
android.webkit.PluginList.pluginClicked(Context, int)
This interface was intended to be used by Gears. Since Gears was
deprecated, so is this class.
|
android.content.Intent.putExtra(String, IBinder) |
android.os.Bundle.putIBinder(String, IBinder) |
android.content.ContentValues.putStringArrayList(String, ArrayList) |
android.provider.Contacts.People.queryGroups(ContentResolver, long)
|
android.net.NetworkStatsHistory.DataStreamUtils.readFullLongArray(DataInputStream) |
java.io.ObjectInputStream.readLine()
|
java.io.DataInputStream.readLine() |
android.os.Parcel.readTypedArray(Parcelable.Creator) |
android.net.NetworkStatsHistory.recordData(long, long, long, long) |
android.webkit.WebViewClassic.refreshPlugins(boolean) |
android.webkit.UrlInterceptRegistry.registerHandler(UrlInterceptHandler)
This class was intended to be used by Gears. Since Gears was
deprecated, so is this class.
|
android.hardware.SensorManager.registerListener(SensorListener, int)
|
android.hardware.SensorManager.registerListener(SensorListener, int, int)
|
android.database.sqlite.SQLiteClosable.releaseReferenceFromContainer()
Do not use.
|
android.net.NetworkStatsHistory.removeBucketsBefore(long) |
android.app.Activity.removeDialog(int)
Use the new DialogFragment class with
FragmentManager instead; this is also
available on older platforms through the Android compatibility package.
|
android.view.ViewTreeObserver.removeGlobalOnLayoutListener(ViewTreeObserver.OnGlobalLayoutListener)
Use #removeOnGlobalLayoutListener instead
|
android.content.pm.PackageManager.removePackageFromPreferred(String)
This function no longer does anything; it was an old
approach to managing preferred activities, which has been superceeded
(and conflicts with) the modern activity-based preferences.
|
android.webkit.PluginList.removePlugin(Plugin)
This interface was intended to be used by Gears. Since Gears was
deprecated, so is this class.
|
android.content.pm.PackageManager.replacePreferredActivity(IntentFilter, int, ComponentName[], ComponentName)
This is a protected API that should not have been available
to third party applications. It is the platform's responsibility for
assigning preferred activities and this can not be directly modified.
Replaces an existing preferred activity mapping to the system, and if that were not present
adds a new preferred activity. This will be used
to automatically select the given activity component when
Context.startActivity() finds
multiple matching activities and also matches the given filter.
|
android.database.Cursor.requery()
Don't use this. Just request a new cursor, so you can do this
asynchronously and update your list view once the new cursor comes back.
|
android.os.Debug.resetGlobalExternalAllocCount()
This method is now obsolete.
|
android.os.Debug.resetGlobalExternalAllocSize()
This method is now obsolete.
|
android.os.Debug.resetGlobalExternalFreedCount()
This method is now obsolete.
|
android.os.Debug.resetGlobalExternalFreedSize()
This method is now obsolete.
|
android.os.Debug.resetThreadExternalAllocCount()
This method is now obsolete.
|
android.os.Debug.resetThreadExternalAllocSize()
This method is now obsolete.
|
android.app.ActivityManager.restartPackage(String)
This is now just a wrapper for
ActivityManager.killBackgroundProcesses(String) ; the previous behavior here
is no longer available to applications because it allows them to
break other applications by removing their alarms, stopping their
services, etc.
|
android.webkit.WebViewClassic.restorePicture(Bundle, File) |
android.renderscript.RSTextureView.resume()
in API 16
Inform the view that the activity is resumed. The owner of this view must
call this method when the activity is resumed. Calling this method will
recreate the OpenGL display and resume the rendering
thread.
Must not be called before a renderer has been set.
|
android.renderscript.RSSurfaceView.resume()
in API 16
Inform the view that the activity is resumed. The owner of this view must
call this method when the activity is resumed. Calling this method will
recreate the OpenGL display and resume the rendering
thread.
Must not be called before a renderer has been set.
|
android.renderscript.RenderScriptGL.resume()
in API 16
Resume calls to the root rendering script.
|
java.lang.ThreadGroup.resume()
Requires deprecated method Thread.resume().
|
java.lang.Thread.resume()
|
java.lang.System.runFinalizersOnExit(boolean)
this method is unsafe.
|
java.lang.Runtime.runFinalizersOnExit(boolean)
This method is unsafe.
|
java.util.Properties.save(OutputStream, String)
|
android.webkit.CacheManager.saveCacheFile(String, CacheManager.CacheResult)
Access to the HTTP cache will be removed in a future release.
|
android.webkit.WebViewClassic.savePicture(Bundle, File) |
android.test.TouchUtils.scrollToBottom(ActivityInstrumentationTestCase, ViewGroup)
|
android.test.TouchUtils.scrollToTop(ActivityInstrumentationTestCase, ViewGroup)
|
java.net.MulticastSocket.send(DatagramPacket, byte)
|
android.telephony.gsm.SmsManager.sendDataMessage(String, String, short, byte[], PendingIntent, PendingIntent)
Use android.telephony.SmsManager.
|
android.telephony.gsm.SmsManager.sendMultipartTextMessage(String, String, ArrayList, ArrayList, ArrayList)
Use android.telephony.SmsManager.
|
android.telephony.gsm.SmsManager.sendTextMessage(String, String, String, PendingIntent, PendingIntent)
Use android.telephony.SmsManager.
|
android.webkit.UrlInterceptHandler.service(String, Map)
Do not use, this interface is deprecated.
|
android.os.Debug.setAllocationLimit(int)
This method is now obsolete.
|
android.widget.ImageView.setAlpha(int)
use #setImageAlpha(int) instead
|
android.renderscript.RenderScriptGL.SurfaceConfig.setAlpha(int, int)
in API 16
Set the bit depth for alpha. This configures the surface for
an unsigned integer buffer type.
|
android.media.MediaRecorder.setAuxiliaryOutputFile(FileDescriptor)
Time lapse mode video recording using camera still image capture
is not desirable, and will not be supported.
|
android.media.MediaRecorder.setAuxiliaryOutputFile(String)
Time lapse mode video recording using camera still image capture
is not desirable, and will not be supported.
|
android.net.ConnectivityManager.setBackgroundDataSetting(boolean) |
android.view.View.setBackgroundDrawable(Drawable)
|
android.media.AudioManager.setBluetoothA2dpOn(boolean)
Do not use.
|
android.app.AlertDialog.setButton(CharSequence, DialogInterface.OnClickListener)
|
android.app.AlertDialog.setButton(CharSequence, Message)
|
android.app.AlertDialog.setButton2(CharSequence, DialogInterface.OnClickListener)
|
android.app.AlertDialog.setButton2(CharSequence, Message)
|
android.app.AlertDialog.setButton3(CharSequence, DialogInterface.OnClickListener)
|
android.app.AlertDialog.setButton3(CharSequence, Message)
|
android.telephony.NeighboringCellInfo.setCid(int)
|
android.webkit.Plugin.setClickHandler(Plugin.PreferencesClickHandler)
This interface was intended to be used by Gears. Since Gears was
deprecated, so is this class.
|
android.renderscript.Mesh.TriangleMeshBuilder.setColor(float, float, float, float)
in API 16
Sets the color for the vertices that are added after this method call.
|
android.renderscript.RenderScriptGL.SurfaceConfig.setColor(int, int)
in API 16
Set the per-component bit depth for color (red, green, blue). This
configures the surface for an unsigned integer buffer type.
|
android.renderscript.ProgramRaster.Builder.setCullMode(ProgramRaster.CullMode)
in API 16
|
java.sql.Time.setDate(int)
This method is deprecated and must not be used. An SQL
Time object does not have a Date component.
|
java.util.Date.setDate(int)
use Calendar.set(Calendar.DATE, day)
|
java.net.URLConnection.setDefaultRequestProperty(String, String)
|
android.renderscript.RenderScriptGL.SurfaceConfig.setDepth(int, int)
in API 16
Set the bit depth for the depth buffer. This configures the
surface for an unsigned integer buffer type. If a minimum of 0
is specified then its possible no depth buffer will be
allocated.
|
android.webkit.Plugin.setDescription(String)
This interface was intended to be used by Gears. Since Gears was
deprecated, so is this class.
|
android.webkit.WebSettings.setEnableSmoothTransition(boolean)
This method is now obsolete, and will become a no-op in future.
|
android.speech.tts.TextToSpeech.setEngineByPackageName(String)
This doesn't inform callers when the TTS engine has been
initialized. TextToSpeech.TextToSpeech(Context, OnInitListener, String)
can be used with the appropriate engine name. Also, there is no
guarantee that the engine specified will be loaded. If it isn't
installed or disabled, the user / system wide defaults will apply.
|
android.webkit.Plugin.setFileName(String)
This interface was intended to be used by Gears. Since Gears was
deprecated, so is this class.
|
android.widget.OverScroller.setFinalX(int)
OverScroller's final position may change during an animation.
Instead of setting a new final position and extending
the duration of an existing scroll, use startScroll
to begin a new animation.
|
android.widget.OverScroller.setFinalY(int)
OverScroller's final position may change during an animation.
Instead of setting a new final position and extending
the duration of an existing scroll, use startScroll
to begin a new animation.
|
android.app.Service.setForeground(boolean)
This is a now a no-op, use
Service.startForeground(int, Notification) instead. This method
has been turned into a no-op rather than simply being deprecated
because analysis of numerous poorly behaving devices has shown that
increasingly often the trouble is being caused in part by applications
that are abusing it. Thus, given a choice between introducing
problems in existing applications using this API (by allowing them to
be killed when they would like to avoid it), vs allowing the performance
of the entire system to be decreased, this method was deemed less
important.
|
android.os.Debug.setGlobalAllocationLimit(int)
This method is now obsolete.
|
java.sql.Date.setHours(int)
This method is deprecated and must not be used. SQL Date values do not have an hours component.
|
java.util.Date.setHours(int)
use Calendar.set(Calendar.HOUR_OF_DAY, hour)
|
android.test.AndroidTestRunner.setInstrumentaiton(Instrumentation)
|
android.app.Notification.setLatestEventInfo(Context, CharSequence, CharSequence, PendingIntent)
|
android.graphics.Paint.setLinearText(boolean) |
android.database.sqlite.SQLiteDatabase.setLockingEnabled(boolean)
This method now does nothing. Do not use.
|
java.sql.DriverManager.setLogStream(PrintStream)
|
java.sql.Date.setMinutes(int)
This method is deprecated and must not be used. SQL Date values do not have a minutes component.
|
java.util.Date.setMinutes(int)
use Calendar.set(Calendar.MINUTE, minute)
|
android.renderscript.ProgramVertexFixedFunction.Constants.setModelview(Matrix4f)
in API 16
Sets the modelview matrix in the fixed function matrix buffer
|
java.sql.Time.setMonth(int)
This method is deprecated and must not be used. An SQL
Time object does not have a Month component.
|
java.util.Date.setMonth(int)
use Calendar.set(Calendar.MONTH, month)
|
android.webkit.Plugin.setName(String)
This interface was intended to be used by Gears. Since Gears was
deprecated, so is this class.
|
android.webkit.WebSettingsClassic.setNavDump(boolean) |
android.webkit.WebSettings.setNavDump(boolean)
This method is now obsolete.
|
android.renderscript.Mesh.TriangleMeshBuilder.setNormal(float, float, float)
in API 16
Sets the normal vector for the vertices that are added after this method call.
|
android.speech.tts.TextToSpeech.setOnUtteranceCompletedListener(TextToSpeech.OnUtteranceCompletedListener)
|
java.security.Signature.setParameter(String, Object)
|
android.media.AudioManager.setParameter(String, String)
Use #setPrameters(String) instead
|
android.webkit.Plugin.setPath(String)
This interface was intended to be used by Gears. Since Gears was
deprecated, so is this class.
|
android.app.Activity.setPersistent(boolean)
|
android.provider.Contacts.People.setPhotoData(ContentResolver, Uri, byte[])
|
android.webkit.WebViewClassic.setPictureListener(PictureListener) |
android.webkit.WebSettingsClassic.setPluginsEnabled(boolean) |
android.webkit.WebSettings.setPluginsEnabled(boolean)
|
android.webkit.WebSettingsClassic.setPluginsPath(String) |
android.webkit.WebSettings.setPluginsPath(String)
This method is no longer used as plugins are loaded from
their own APK via the system's package manager.
|
android.renderscript.ProgramRaster.Builder.setPointSpriteEnabled(boolean)
in API 16
|
android.renderscript.ProgramFragmentFixedFunction.Builder.setPointSpriteTexCoordinateReplacement(boolean)
in API 16
Specifies whether the texture coordinate passed from the
vertex program is replaced with an openGL internal point
sprite texture coordinate
|
android.preference.PreferenceActivity.setPreferenceScreen(PreferenceScreen)
This function is not relevant for a modern fragment-based
PreferenceActivity.
|
android.provider.Contacts.Presence.setPresenceIcon(ImageView, int)
|
android.hardware.Camera.Parameters.setPreviewFrameRate(int)
|
android.support.v4.view.PagerAdapter.setPrimaryItem(View, int, Object)
|
android.renderscript.ProgramVertexFixedFunction.Constants.setProjection(Matrix4f)
in API 16
Sets the projection matrix in the fixed function matrix buffer
|
android.widget.RemoteViews.setRemoteAdapter(int, int, Intent)
|
android.renderscript.RSTextureView.setRenderScriptGL(RenderScriptGL)
in API 16
Set a new RenderScriptGL object. This also will attach the
new object to the TextureView if present.
|
android.renderscript.RSSurfaceView.setRenderScriptGL(RenderScriptGL)
in API 16
|
android.media.AudioManager.setRouting(int, int, int)
Do not set audio routing directly, use setSpeakerphoneOn(),
setBluetoothScoOn() methods instead.
|
android.telephony.NeighboringCellInfo.setRssi(int)
|
android.renderscript.RenderScriptGL.SurfaceConfig.setSamples(int, int, float)
in API 16
Configure the multisample rendering.
|
java.sql.Date.setSeconds(int)
This method is deprecated and must not be used. SQL Date values do not have a seconds component.
|
java.util.Date.setSeconds(int)
use Calendar.set(Calendar.SECOND, second)
|
android.provider.Contacts.Settings.setSetting(ContentResolver, String, String, String)
|
android.support.v4.view.MenuCompat.setShowAsAction(MenuItem, int)
|
android.provider.Settings.System.setShowGTalkServiceStatus(ContentResolver, boolean)
- Do not use
|
android.provider.Settings.System.setShowGTalkServiceStatusForUser(ContentResolver, boolean, int)
- Do not use
|
android.app.DownloadManager.Request.setShowRunningNotification(boolean)
|
android.renderscript.RenderScriptGL.setSurface(SurfaceHolder, int, int)
in API 16
Bind an os surface
|
android.renderscript.RenderScriptGL.setSurfaceTexture(SurfaceTexture, int, int)
in API 16
Bind an os surface
|
android.content.ClipboardManager.setText(CharSequence)
|
android.webkit.WebSettings.setTextSize(WebSettings.TextSize)
|
android.renderscript.Mesh.TriangleMeshBuilder.setTexture(float, float)
in API 16
Sets the texture coordinate for the vertices that are added after this method call.
|
android.renderscript.ProgramVertexFixedFunction.Constants.setTexture(Matrix4f)
in API 16
Sets the texture matrix in the fixed function matrix buffer.
Texture matrix must be enabled in the
ProgramVertexFixedFunction builder for the shader to utilize
it.
|
android.renderscript.ProgramFragmentFixedFunction.Builder.setTexture(ProgramFragmentFixedFunction.Builder.EnvMode, ProgramFragmentFixedFunction.Builder.Format, int)
in API 16
Adds a texture to be fetched as part of the fixed function
fragment program
|
android.renderscript.ProgramVertexFixedFunction.Builder.setTextureMatrixEnable(boolean)
in API 16
Specifies whether texture matrix calculations are to be added
to the shader
|
java.net.MulticastSocket.setTTL(byte)
|
java.net.DatagramSocketImpl.setTTL(byte)
|
android.view.SurfaceHolder.setType(int)
this is ignored, this value is set automatically when needed.
|
java.sql.PreparedStatement.setUnicodeStream(int, InputStream, int)
|
android.support.v13.app.FragmentTabHost.setup()
|
android.support.v4.app.FragmentTabHost.setup()
|
java.net.URLStreamHandler.setURL(URL, String, String, int, String, String)
use setURL(URL, String String, int, String, String, String,
String, String) instead.
|
android.webkit.UrlInterceptRegistry.setUrlInterceptDisabled(boolean)
This class was intended to be used by Gears. Since Gears was
deprecated, so is this class.
|
android.webkit.WebSettingsClassic.setUseDoubleTree(boolean) |
android.webkit.WebSettings.setUseDoubleTree(boolean)
This setting now has no effect.
|
android.webkit.WebSettingsClassic.setUserAgent(int) |
android.webkit.WebSettings.setUserAgent(int)
|
android.webkit.WebSettingsClassic.setUseWebViewBackgroundForOverscrollBackground(boolean) |
android.webkit.WebSettings.setUseWebViewBackgroundForOverscrollBackground(boolean)
This method is now obsolete.
|
android.renderscript.ProgramFragmentFixedFunction.Builder.setVaryingColor(boolean)
in API 16
Specifies whether the varying color passed from the vertex
program or the constant color set on the fragment program is
used in the final color calculation in the fixed function
fragment shader
|
android.media.AudioManager.setVibrateSetting(int, int)
|
android.content.Context.setWallpaper(Bitmap)
Use WallpaperManager.set() instead.
This method requires the caller to hold the permission
android.Manifest.permission#SET_WALLPAPER .
|
android.content.Context.setWallpaper(InputStream)
Use WallpaperManager.set() instead.
This method requires the caller to hold the permission
android.Manifest.permission#SET_WALLPAPER .
|
android.media.AudioManager.setWiredHeadsetOn(boolean)
Do not use.
|
java.sql.Time.setYear(int)
This method is deprecated and must not be used. An SQL
Time object does not have a Year component.
|
java.util.Date.setYear(int)
use Calendar.set(Calendar.YEAR, year + 1900)
|
android.media.AudioManager.shouldVibrate(int)
|
android.animation.LayoutTransition.showChild(ViewGroup, View)
|
android.app.Activity.showDialog(int)
Use the new DialogFragment class with
FragmentManager instead; this is also
available on older platforms through the Android compatibility package.
|
android.app.Activity.showDialog(int, Bundle)
Use the new DialogFragment class with
FragmentManager instead; this is also
available on older platforms through the Android compatibility package.
|
android.webkit.CacheManager.startCacheTransaction()
This method no longer has any effect and always returns false.
|
android.view.ViewDebug.startHierarchyTracing(String, View)
This method is now unused and invoking it is a no-op
|
android.app.Activity.startManagingCursor(Cursor)
Use the new CursorLoader class with
LoaderManager instead; this is also
available on older platforms through the Android compatibility package.
|
android.view.ViewDebug.startRecyclerTracing(String, View)
This method is now unused and invoking it is a no-op
|
android.content.ContentResolver.startSync(Uri, Bundle)
|
android.support.v4.view.PagerAdapter.startUpdate(View)
|
java.lang.ThreadGroup.stop()
Requires deprecated method Thread.stop().
|
java.lang.Thread.stop()
because stopping a thread in this manner is unsafe and can
leave your application and the VM in an unpredictable state.
|
java.lang.Thread.stop(Throwable)
because stopping a thread in this manner is unsafe and can
leave your application and the VM in an unpredictable state.
|
android.view.ViewDebug.stopHierarchyTracing()
This method is now unused and invoking it is a no-op
|
android.app.Activity.stopManagingCursor(Cursor)
Use the new CursorLoader class with
LoaderManager instead; this is also
available on older platforms through the Android compatibility package.
|
android.view.ViewDebug.stopRecyclerTracing()
This method is now unused and invoking it is a no-op
|
android.os.Process.supportsProcesses()
This method always returns true. Do not use.
|
android.renderscript.RSSurfaceView.surfaceChanged(SurfaceHolder, int, int, int)
in API 16
This method is part of the SurfaceHolder.Callback interface, and is
not normally called or subclassed by clients of RSSurfaceView.
|
android.renderscript.RSSurfaceView.surfaceCreated(SurfaceHolder)
in API 16
This method is part of the SurfaceHolder.Callback interface, and is
not normally called or subclassed by clients of RSSurfaceView.
|
android.renderscript.RSSurfaceView.surfaceDestroyed(SurfaceHolder)
in API 16
This method is part of the SurfaceHolder.Callback interface, and is
not normally called or subclassed by clients of RSSurfaceView.
|
java.lang.ThreadGroup.suspend()
Requires deprecated method Thread.suspend().
|
java.lang.Thread.suspend()
May cause deadlocks.
|
android.text.format.DateUtils.timeString(long)
use #DateFormat.getTimeFormat(Context) instead.
|
android.nfc.NdefRecord.toByteArray()
|
java.util.Date.toGMTString()
|
java.util.Date.toLocaleString()
|
android.telephony.gsm.SmsMessage.SubmitPdu.toString()
Use android.telephony.SmsMessage.
|
android.webkit.Plugin.toString()
This interface was intended to be used by Gears. Since Gears was
deprecated, so is this class.
|
java.io.ByteArrayOutputStream.toString(int)
|
android.content.Intent.toURI()
|
java.io.File.toURL()
|
android.view.ViewDebug.trace(View, ViewDebug.HierarchyTraceType)
This method is now unused and invoking it is a no-op
|
android.view.ViewDebug.trace(View, ViewDebug.RecyclerTraceType, int...)
This method is now unused and invoking it is a no-op
|
android.util.AtomicFile.truncate()
This is not safe.
|
android.provider.Contacts.People.tryGetMyContactsGroupId(ContentResolver)
|
android.view.Surface.unlockCanvas(Canvas)
This API has been removed and is not supported. Do not use.
|
android.webkit.UrlInterceptRegistry.unregisterHandler(UrlInterceptHandler)
This class was intended to be used by Gears. Since Gears was
deprecated, so is this class.
|
android.hardware.SensorManager.unregisterListener(SensorListener)
|
android.hardware.SensorManager.unregisterListener(SensorListener, int)
|
android.telephony.gsm.SmsManager.updateMessageOnSim(int, int, byte[])
Use android.telephony.SmsManager.
|
android.webkit.UrlInterceptRegistry.urlInterceptDisabled()
This class was intended to be used by Gears. Since Gears was
deprecated, so is this class.
|
java.util.Date.UTC(int, int, int, int, int, int)
use:
Calendar cal = new GregorianCalendar(TimeZone.getTimeZone("GMT"));
cal.set(year + 1900, month, day, hour, minute, second);
cal.getTime().getTime();
|
java.io.ObjectOutputStream.PutField.write(ObjectOutput)
This method is unsafe and may corrupt the target stream.
Use ObjectOutputStream#writeFields() instead.
|
android.text.format.DateUtils.writeDateTime(Calendar)
|
android.text.format.DateUtils.writeDateTime(Calendar, boolean)
|
android.text.format.DateUtils.writeDateTime(Calendar, StringBuilder)
|
android.database.sqlite.SQLiteDatabase.yieldIfContended()
if the db is locked more than once (becuase of nested transactions) then the lock
will not be yielded. Use yieldIfContendedSafely instead.
|